grass/Cargo.toml

51 lines
1.3 KiB
TOML
Raw Normal View History

[package]
name = "grass"
2023-01-07 17:47:39 +00:00
version = "0.12.1"
2022-12-28 22:34:58 -05:00
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]
2023-01-07 17:47:39 +00:00
grass_internal = { path = "./grass_internal", version = "0.12.1" }
include_sass = { path = "./include_sass", version = "0.12.1", optional = true }
2022-10-27 13:06:04 +00:00
clap = { version = "2.34.0", optional = true }
[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"]
2023-01-06 10:54:34 +00:00
random = ["grass_internal/random"]
wasm-exports = ["grass_internal/wasm-exports"]
# Option: include the proc macro `include_sass!`
macro = ["include_sass"]
nightly = ["include_sass/nightly"]
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"
2023-01-06 10:54:34 +00:00
lto = true
codegen-units = 1