grass/Cargo.toml

60 lines
1.7 KiB
TOML
Raw Normal View History

[package]
name = "grass"
2022-12-28 22:34:58 -05:00
version = "0.12.0"
description = "A 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>"]
2022-12-28 22:34:58 -05:00
edition = "2021"
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"
[[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
[dependencies]
2022-10-27 13:06:04 +00:00
clap = { version = "2.34.0", optional = true }
# todo: use lazy_static
2022-10-27 13:06:04 +00:00
once_cell = "1.15.0"
# todo: use xorshift for random numbers
2021-07-11 07:35:56 +02:00
rand = { version = "0.8", optional = true }
# todo: update to use asref<path>
# todo: update to expose more info (for eww)
# todo: update to use text_size::TextRange
2020-04-17 13:17:39 -04:00
codemap = "0.1.3"
2020-11-16 03:38:39 -05:00
wasm-bindgen = { version = "0.2.68", optional = true }
2022-12-28 22:34:58 -05:00
# todo: benchmark using phf for global functions
phf = { version = "0.10.1", features = ["macros"] }
indexmap = "1.9.0"
# todo: do we really need interning for things?
2022-10-27 13:06:04 +00:00
lasso = "0.6"
[features]
# todo: no commandline by default
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 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"]
# Option: expose JavaScript-friendly WebAssembly exports
wasm-exports = ["wasm-bindgen"]
2020-01-18 14:56:18 -05:00
[dev-dependencies]
2022-10-27 13:06:04 +00:00
tempfile = "3.3.0"
2020-11-16 03:38:39 -05:00
paste = "1.0.3"
2020-05-02 12:12:19 -04:00
[profile.release]
debug = true
panic = "abort"