grass/Cargo.toml

91 lines
2.2 KiB
TOML
Raw Normal View History

[package]
name = "grass"
2020-07-04 21:30:42 -04:00
version = "0.9.4"
description = "A near-feature-complete Sass compiler written purely in Rust"
2020-01-18 18:59:43 -05:00
readme = "README.md"
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"
authors = ["ConnorSkees <39542938+ConnorSkees@users.noreply.github.com>"]
edition = "2018"
2020-06-26 08:03:43 -04:00
include = ["src", "Cargo.toml", "README.md", "CHANGELOG.md"]
2020-04-24 18:08:20 -04:00
default-run = "grass"
[[bin]]
name = "grass"
path = "src/main.rs"
required-features = ["commandline"]
[lib]
name = "grass"
path = "src/lib.rs"
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-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
[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-06-26 08:03:43 -04:00
peekmore = "0.5.2"
2020-06-19 22:47:06 -04:00
wasm-bindgen = { version = "0.2.63", optional = true }
beef = "0.4.4"
2020-07-05 19:16:44 +08:00
bitflags = "1.2.1"
# 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 }
indexmap = "1.4.0"
[features]
2020-04-05 13:42:18 -04:00
default = ["commandline", "random"]
# Option (enabled by default): build a binary using clap
commandline = ["clap"]
2020-04-05 13:42:18 -04:00
# Option: enable nightly-only features (for right now, only the `track_caller` attribute)
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 = []
# 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"