mirror of
https://github.com/tweag/nickel.git
synced 2024-10-06 08:07:37 +03:00
19bed669f9
* Track thunk allocation * Track `Program::new_from_files` as `Program::new` * Track environment inserts and gets * Implement tracking histograms * Track environment layer size on `get` * Track number of environment layers traversed on `get` * Update core/src/environment.rs Co-authored-by: Yann Hamdaoui <yann.hamdaoui@tweag.io> * Formatting --------- Co-authored-by: Yann Hamdaoui <yann.hamdaoui@tweag.io>
44 lines
1.2 KiB
TOML
44 lines
1.2 KiB
TOML
[package]
|
|
name = "nickel-lang-cli"
|
|
description = "The Nickel interpreter CLI"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
version.workspace = true
|
|
readme.workspace = true
|
|
|
|
[[bin]]
|
|
name = "nickel"
|
|
path = "src/main.rs"
|
|
bench = false
|
|
|
|
[features]
|
|
default = ["repl", "doc", "format"]
|
|
repl = ["nickel-lang-core/repl"]
|
|
doc = ["nickel-lang-core/doc"]
|
|
format = ["nickel-lang-core/format", "dep:tempfile"]
|
|
metrics = ["dep:metrics", "dep:metrics-util", "nickel-lang-core/metrics"]
|
|
|
|
[dependencies]
|
|
nickel-lang-core = { workspace = true, features = [ "markdown" ], default-features = false }
|
|
|
|
clap = { workspace = true, features = ["derive"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
directories.workspace = true
|
|
|
|
tempfile = { workspace = true, optional = true }
|
|
|
|
git-version = { workspace = true }
|
|
clap_complete = { workspace = true }
|
|
|
|
metrics = { workspace = true, optional = true }
|
|
metrics-util = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
nickel-lang-utils.workspace = true
|
|
test-generator.workspace = true
|
|
insta = { workspace = true, features = ["filters"] }
|