2020-01-05 12:37:02 -05:00
|
|
|
[package]
|
|
|
|
name = "grass"
|
2020-05-11 12:59:31 -04:00
|
|
|
version = "0.8.2"
|
2020-03-16 16:45:13 -04:00
|
|
|
description = "SASS compiler"
|
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-03-01 17:16:58 -05:00
|
|
|
exclude = ["*.scss", "sass-spec", "tests", "Cargo.lock"]
|
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-04-24 18:08:20 -04:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2020-05-25 13:58:16 -04:00
|
|
|
bench = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "variables"
|
|
|
|
harness = false
|
2020-01-05 12:37:02 -05:00
|
|
|
|
2020-05-20 00:15:05 -04:00
|
|
|
[[bench]]
|
2020-05-20 22:51:56 -04:00
|
|
|
name = "colors"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
2020-05-20 00:15:05 -04:00
|
|
|
name = "numbers"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "control_flow"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "styles"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
|
2020-01-05 12:37:02 -05:00
|
|
|
[dependencies]
|
2020-01-20 11:00:01 -05:00
|
|
|
clap = { version = "2.33.0", optional = true }
|
2020-02-08 09:39:19 -05:00
|
|
|
num-rational = "0.2.3"
|
|
|
|
num-bigint = "0.2.6"
|
2020-02-08 20:07:20 -05:00
|
|
|
num-traits = "0.2.11"
|
2020-03-10 21:19:23 -04:00
|
|
|
once_cell = "1.3.1"
|
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-04-20 04:05:57 -04:00
|
|
|
peekmore = "0.4.0"
|
2020-04-24 18:08:20 -04:00
|
|
|
wasm-bindgen = { version = "0.2.60", optional = true }
|
2020-05-25 13:09:20 -04:00
|
|
|
beef = "0.4.4"
|
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
|
|
|
|
criterion = { version = "0.3.2", optional = true }
|
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]
|
|
|
|
tempfile = "3"
|
2020-03-18 10:08:40 -04:00
|
|
|
paste = "0.1"
|
2020-05-02 12:12:19 -04:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
panic = "abort"
|