2020-01-05 12:37:02 -05:00
|
|
|
[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"
|
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>"]
|
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"
|
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
|
|
|
|
|
2020-01-05 12:37:02 -05:00
|
|
|
[dependencies]
|
2022-10-27 13:06:04 +00:00
|
|
|
clap = { version = "2.34.0", optional = true }
|
2022-12-26 15:33:04 -05:00
|
|
|
# todo: use lazy_static
|
2022-10-27 13:06:04 +00:00
|
|
|
once_cell = "1.15.0"
|
2022-12-26 15:33:04 -05:00
|
|
|
# todo: use xorshift for random numbers
|
2021-07-11 07:35:56 +02:00
|
|
|
rand = { version = "0.8", optional = true }
|
2022-12-26 15:33:04 -05:00
|
|
|
# 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"] }
|
2022-12-26 15:33:04 -05:00
|
|
|
indexmap = "1.9.0"
|
|
|
|
# todo: do we really need interning for things?
|
2022-10-27 13:06:04 +00:00
|
|
|
lasso = "0.6"
|
2020-01-20 11:00:01 -05:00
|
|
|
|
|
|
|
[features]
|
2022-12-26 15:33:04 -05:00
|
|
|
# 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
|
2020-01-20 11:00:01 -05:00
|
|
|
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"]
|
2022-02-04 09:41:10 +11:00
|
|
|
# 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"
|