2023-01-07 19:47:04 +00:00
|
|
|
[package]
|
|
|
|
name = "grass"
|
2023-07-09 22:00:50 +00:00
|
|
|
version = "0.13.0"
|
2023-01-07 19:47:04 +00:00
|
|
|
description = "A Sass compiler written purely in Rust"
|
2023-01-08 12:06:58 -05:00
|
|
|
readme = "../../README.md"
|
2023-01-07 19:47:04 +00:00
|
|
|
license = "MIT"
|
|
|
|
categories = ["command-line-utilities", "web-programming"]
|
|
|
|
keywords = ["scss", "sass", "css", "web"]
|
|
|
|
repository = "https://github.com/connorskees/grass"
|
2023-01-08 00:33:39 +00:00
|
|
|
authors = ["Connor Skees <39542938+ConnorSkees@users.noreply.github.com>"]
|
2023-01-07 19:47:04 +00:00
|
|
|
edition = "2021"
|
|
|
|
include = ["src", "Cargo.toml", "README.md", "CHANGELOG.md", "Cargo.lock", "LICENSE"]
|
|
|
|
default-run = "grass"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "grass"
|
|
|
|
path = "src/main.rs"
|
|
|
|
required-features = ["commandline"]
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "grass"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
# crate-type = ["cdylib", "rlib"]
|
|
|
|
bench = false
|
|
|
|
|
2023-06-30 06:22:21 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
# To build locally:
|
2023-07-09 22:12:12 +00:00
|
|
|
# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --no-deps --open
|
2023-06-30 06:22:21 +00:00
|
|
|
rustdoc-args = ["--cfg", "doc_cfg"]
|
|
|
|
|
2023-01-07 19:47:04 +00:00
|
|
|
[dependencies]
|
2023-07-09 22:00:50 +00:00
|
|
|
grass_compiler = { path = "../compiler", version = "=0.13.0", default-features = false }
|
|
|
|
include_sass = { path = "../include_sass", version = "0.13.0", optional = true }
|
2023-01-07 19:47:04 +00:00
|
|
|
clap = { version = "2.34.0", optional = true }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
# todo: no commandline by default
|
|
|
|
default = ["commandline", "random"]
|
|
|
|
# Option (enabled by default): build a binary using clap
|
|
|
|
commandline = ["clap"]
|
2023-01-08 10:52:53 -05:00
|
|
|
random = ["grass_compiler/random"]
|
|
|
|
wasm-exports = ["grass_compiler/wasm-exports"]
|
2023-01-07 19:47:04 +00:00
|
|
|
# Option: include the proc macro `include_sass!`
|
|
|
|
macro = ["include_sass"]
|
|
|
|
nightly = ["include_sass/nightly"]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "3.3.0"
|
|
|
|
paste = "1.0.3"
|