2020-01-05 12:37:02 -05:00
|
|
|
[package]
|
|
|
|
name = "grass"
|
2020-08-15 22:25:31 -04:00
|
|
|
version = "0.10.3"
|
2020-06-20 06:31:43 -04:00
|
|
|
description = "A near-feature-complete Sass compiler written purely in Rust"
|
2020-01-18 18:59:43 -05:00
|
|
|
readme = "README.md"
|
2020-01-20 13:39:20 -05:00
|
|
|
license = "MIT"
|
2020-01-18 18:59:43 -05:00
|
|
|
categories = ["command-line-utilities", "web-programming"]
|
2020-03-16 16:45:13 -04:00
|
|
|
keywords = ["scss", "sass", "css", "web"]
|
2020-01-18 18:59:43 -05:00
|
|
|
repository = "https://github.com/connorskees/grass"
|
2020-01-05 12:37:02 -05:00
|
|
|
authors = ["ConnorSkees <39542938+ConnorSkees@users.noreply.github.com>"]
|
|
|
|
edition = "2018"
|
2020-08-13 16:46:36 -04:00
|
|
|
include = ["src", "Cargo.toml", "README.md", "CHANGELOG.md", "Cargo.lock", "LICENSE"]
|
2020-04-24 18:08:20 -04:00
|
|
|
default-run = "grass"
|
2020-01-05 12:37:02 -05:00
|
|
|
|
2020-01-20 11:00:01 -05:00
|
|
|
[[bin]]
|
|
|
|
name = "grass"
|
|
|
|
path = "src/main.rs"
|
|
|
|
required-features = ["commandline"]
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "grass"
|
|
|
|
path = "src/lib.rs"
|
2020-07-06 09:36:59 -04:00
|
|
|
# crate-type = ["cdylib", "rlib"]
|
2020-05-25 13:58:16 -04:00
|
|
|
bench = false
|
|
|
|
|
|
|
|
[[bench]]
|
2020-07-03 21:22:29 -04:00
|
|
|
path = "benches/variables.rs"
|
2020-05-25 13:58:16 -04:00
|
|
|
name = "variables"
|
|
|
|
harness = false
|
2020-01-05 12:37:02 -05:00
|
|
|
|
2020-05-20 00:15:05 -04:00
|
|
|
[[bench]]
|
2020-07-03 21:22:29 -04:00
|
|
|
path = "benches/colors.rs"
|
2020-05-20 22:51:56 -04:00
|
|
|
name = "colors"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
2020-07-03 21:22:29 -04:00
|
|
|
path = "benches/numbers.rs"
|
2020-05-20 00:15:05 -04:00
|
|
|
name = "numbers"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
2020-07-03 21:22:29 -04:00
|
|
|
path = "benches/control_flow.rs"
|
2020-05-20 00:15:05 -04:00
|
|
|
name = "control_flow"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
2020-07-03 21:22:29 -04:00
|
|
|
path = "benches/styles.rs"
|
2020-05-20 00:15:05 -04:00
|
|
|
name = "styles"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
2020-01-05 12:37:02 -05:00
|
|
|
[dependencies]
|
2020-06-19 22:47:06 -04:00
|
|
|
clap = { version = "2.33.1", optional = true }
|
|
|
|
num-rational = "0.3.0"
|
|
|
|
num-bigint = "0.3.0"
|
|
|
|
num-traits = "0.2.12"
|
|
|
|
once_cell = "1.4.0"
|
2020-04-05 13:42:18 -04:00
|
|
|
rand = { version = "0.7.3", optional = true }
|
2020-04-17 13:17:39 -04:00
|
|
|
codemap = "0.1.3"
|
2020-08-13 16:46:36 -04:00
|
|
|
peekmore = "=0.5.4"
|
2020-07-24 23:54:19 -04:00
|
|
|
wasm-bindgen = { version = "0.2.65", optional = true }
|
2020-05-25 13:09:20 -04:00
|
|
|
beef = "0.4.4"
|
2020-08-01 12:12:37 +08:00
|
|
|
phf = { version = "0.8.0", features = ["macros"] }
|
2020-05-25 14:10:48 -04:00
|
|
|
# criterion is not a dev-dependency because it makes tests take too
|
|
|
|
# long to compile, and you cannot make dev-dependencies optional
|
2020-07-24 23:54:19 -04:00
|
|
|
criterion = { version = "0.3.3", optional = true }
|
|
|
|
indexmap = "1.5.0"
|
|
|
|
lasso = "0.3.1"
|
2020-01-20 11:00:01 -05:00
|
|
|
|
|
|
|
[features]
|
2020-04-05 13:42:18 -04:00
|
|
|
default = ["commandline", "random"]
|
|
|
|
# Option (enabled by default): build a binary using clap
|
2020-01-20 11:00:01 -05:00
|
|
|
commandline = ["clap"]
|
2020-04-05 13:42:18 -04:00
|
|
|
# Option: enable nightly-only features (for right now, only the `track_caller` attribute)
|
2020-01-20 13:39:20 -05:00
|
|
|
nightly = []
|
2020-04-05 18:20:58 -04:00
|
|
|
# Option (enabled by default): enable the builtin functions `random([$limit])` and `unique-id()`
|
2020-04-05 13:42:18 -04:00
|
|
|
random = ["rand"]
|
2020-04-24 18:08:20 -04:00
|
|
|
# Option: compile to web assembly
|
|
|
|
wasm = ["wasm-bindgen"]
|
2020-05-01 15:43:43 -04:00
|
|
|
# Option: enable features that assist in profiling (e.g. inline(never))
|
|
|
|
profiling = []
|
2020-05-25 14:10:48 -04:00
|
|
|
# Option: enable criterion for benchmarking
|
|
|
|
bench = ["criterion"]
|
2020-01-18 14:56:18 -05:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-06-19 22:47:06 -04:00
|
|
|
tempfile = "3.1.0"
|
2020-06-26 08:03:43 -04:00
|
|
|
paste = "0.1.18"
|
2020-05-02 12:12:19 -04:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
panic = "abort"
|