1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-19 07:28:22 +03:00
nickel/cli/Cargo.toml
Viktor Kleen 3d47bac01e
Static linking with nickel format (#1455)
* Enable `format` feature in the nix build and fix static linking

* Document static building

* Update flake.nix

Co-authored-by: Yann Hamdaoui <yann.hamdaoui@tweag.io>

* Enable `format` by default

* Remove `nickel-static` output on darwin

---------

Co-authored-by: Yann Hamdaoui <yann.hamdaoui@tweag.io>
2023-07-17 14:06:29 +00:00

39 lines
1.0 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 = "bin/nickel.rs"
bench = false
[features]
default = ["repl", "doc", "format"]
repl = ["nickel-lang-core/repl"]
doc = ["nickel-lang-core/doc"]
format = ["topiary", "tree-sitter-nickel", "tempfile"]
[dependencies]
nickel-lang-core = { workspace = true, features = [ "markdown" ], default-features = false }
clap = { workspace = true, features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
directories.workspace = true
topiary = { workspace = true, optional = true }
tree-sitter-nickel = { workspace = true, optional = true }
tempfile = { workspace = true, optional = true }
[dev-dependencies]
nickel-lang-utils.workspace = true
test-generator.workspace = true
insta = { workspace = true, features = ["filters"] }