2019-01-09 00:46:02 +03:00
|
|
|
[package]
|
2022-03-04 18:48:02 +03:00
|
|
|
name = "nickel-lang"
|
2019-01-09 00:46:02 +03:00
|
|
|
version = "0.1.0"
|
2022-03-04 18:48:02 +03:00
|
|
|
authors = ["Nickel team"]
|
|
|
|
license = "MIT"
|
2019-01-09 00:46:02 +03:00
|
|
|
readme = "README.md"
|
|
|
|
description = "Programmable configuration files."
|
2022-03-04 18:48:02 +03:00
|
|
|
homepage = "https://nickel-lang.org"
|
|
|
|
repository = "https://github.com/tweag/nickel"
|
|
|
|
keywords = ["configuration", "language", "nix"]
|
2020-01-21 16:50:28 +03:00
|
|
|
edition = "2018"
|
2019-01-09 00:46:02 +03:00
|
|
|
|
2022-01-01 04:23:59 +03:00
|
|
|
[[bin]]
|
|
|
|
name = "nickel"
|
|
|
|
path = "src/bin/nickel.rs"
|
|
|
|
bench = false
|
|
|
|
|
2022-01-01 08:02:06 +03:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2020-12-04 14:10:49 +03:00
|
|
|
[features]
|
2021-07-05 20:31:41 +03:00
|
|
|
default = ["markdown", "repl"]
|
2021-10-22 10:13:21 +03:00
|
|
|
markdown = ["termimad"]
|
2021-07-05 20:31:41 +03:00
|
|
|
repl = ["rustyline", "rustyline-derive", "ansi_term"]
|
2021-06-01 19:24:47 +03:00
|
|
|
repl-wasm = ["wasm-bindgen", "js-sys", "serde_repr"]
|
2020-12-04 14:10:49 +03:00
|
|
|
|
2021-01-13 13:52:58 +03:00
|
|
|
[build-dependencies]
|
2021-08-02 17:35:06 +03:00
|
|
|
lalrpop = "0.19.6"
|
2019-01-09 00:46:02 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2021-08-02 17:35:06 +03:00
|
|
|
lalrpop-util = "0.19.6"
|
2019-01-09 00:46:02 +03:00
|
|
|
regex = "0.2.1"
|
2020-01-31 18:24:03 +03:00
|
|
|
simple-counter = "0.1.0"
|
2021-10-25 17:51:03 +03:00
|
|
|
codespan = "0.11"
|
|
|
|
codespan-reporting = "0.11"
|
2022-02-05 00:23:31 +03:00
|
|
|
logos = "0.12.0"
|
2021-08-02 17:35:06 +03:00
|
|
|
serde = { version = "1.0.117", features = ["derive"] }
|
2020-11-10 14:33:26 +03:00
|
|
|
serde_json = "1.0.59"
|
2021-01-28 18:48:20 +03:00
|
|
|
serde_yaml = "0.8.15"
|
|
|
|
toml = "0.5.8"
|
2021-07-05 20:31:41 +03:00
|
|
|
structopt = "0.3"
|
2021-01-11 18:02:20 +03:00
|
|
|
void = "1"
|
2021-02-04 19:58:27 +03:00
|
|
|
sha-1 = "0.9.3"
|
|
|
|
sha2 = "0.9.3"
|
|
|
|
md-5 = "0.9.1"
|
2021-10-26 17:13:55 +03:00
|
|
|
directories = "4.0.1"
|
2019-01-09 00:46:02 +03:00
|
|
|
|
2021-10-06 17:39:52 +03:00
|
|
|
termimad = { version = "0.16.2", optional = true }
|
2021-01-14 12:51:46 +03:00
|
|
|
ansi_term = { version = "0.12", optional = true }
|
2020-12-04 14:10:49 +03:00
|
|
|
|
2021-08-02 17:35:06 +03:00
|
|
|
rustyline = { version = "7.1.0", optional = true}
|
2021-01-18 16:52:06 +03:00
|
|
|
rustyline-derive = { version = "0.4.0", optional = true }
|
2020-12-04 14:10:49 +03:00
|
|
|
|
2021-08-31 17:54:54 +03:00
|
|
|
wasm-bindgen = { version = "=0.2.74", optional = true, features = ["serde-serialize"] }
|
|
|
|
js-sys = { version = "0.3", optional = true }
|
2021-06-01 19:24:47 +03:00
|
|
|
serde_repr = { version = "0.1", optional = true }
|
2021-04-16 17:10:13 +03:00
|
|
|
|
2019-01-09 00:46:02 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
pretty_assertions = "0.5.1"
|
2021-01-19 14:47:45 +03:00
|
|
|
assert_matches = "1.4.0"
|
2021-03-25 19:27:58 +03:00
|
|
|
criterion = "0.3"
|
2021-07-19 13:51:32 +03:00
|
|
|
pprof = { version = "0.4.4", features = ["criterion", "flamegraph"] }
|
2022-03-04 18:48:02 +03:00
|
|
|
nickel-lang-utilities = {path = "utilities", version = "0.1.0"}
|
2021-09-23 17:21:45 +03:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
".",
|
|
|
|
"lsp/nls"
|
|
|
|
]
|
2021-12-03 19:29:50 +03:00
|
|
|
|
2022-01-04 21:40:34 +03:00
|
|
|
# Enable this to use flamegraphs
|
|
|
|
# [profile.release]
|
|
|
|
# debug = true
|
2021-07-19 13:51:32 +03:00
|
|
|
|
2021-03-25 19:27:58 +03:00
|
|
|
[[bench]]
|
|
|
|
name = "numeric"
|
|
|
|
harness = false
|
2021-03-25 22:09:40 +03:00
|
|
|
|
2021-12-31 21:59:10 +03:00
|
|
|
[[bench]]
|
|
|
|
name = "functions"
|
|
|
|
harness = false
|
2021-03-25 22:10:54 +03:00
|
|
|
|
|
|
|
[[bench]]
|
2022-02-23 13:32:10 +03:00
|
|
|
name = "arrays"
|
2021-03-25 22:10:54 +03:00
|
|
|
harness = false
|
2021-03-26 13:12:44 +03:00
|
|
|
|
2022-01-10 23:24:31 +03:00
|
|
|
# [[bench]]
|
|
|
|
# name = "records"
|
|
|
|
# harness = false
|
2021-03-26 13:12:44 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "serialization"
|
|
|
|
harness = false
|