2019-01-09 00:46:02 +03:00
|
|
|
[package]
|
2022-03-04 18:48:02 +03:00
|
|
|
name = "nickel-lang"
|
2022-12-15 11:48:34 +03:00
|
|
|
version = "0.3.1"
|
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"]
|
2022-08-05 16:08:29 +03:00
|
|
|
edition = "2021"
|
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]
|
2022-05-06 13:14:43 +03:00
|
|
|
default = ["markdown", "repl", "doc"]
|
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"]
|
2022-05-06 13:14:43 +03:00
|
|
|
doc = [ "comrak" ]
|
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"
|
2023-01-09 13:32:40 +03:00
|
|
|
regex = "1.7"
|
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"
|
2022-06-02 18:03:54 +03:00
|
|
|
serde = { version = "1.0.137", features = ["derive"] }
|
|
|
|
serde_json = "1.0.81"
|
|
|
|
serde_yaml = "0.8.24"
|
|
|
|
toml = "0.5.9"
|
2021-07-05 20:31:41 +03:00
|
|
|
structopt = "0.3"
|
2021-01-11 18:02:20 +03:00
|
|
|
void = "1"
|
2022-06-02 18:03:54 +03:00
|
|
|
sha-1 = "0.10.0"
|
|
|
|
sha2 = "0.10.2"
|
|
|
|
md-5 = "0.10.1"
|
2021-10-26 17:13:55 +03:00
|
|
|
directories = "4.0.1"
|
2022-12-16 17:45:19 +03:00
|
|
|
unicode-segmentation = "1.10.0"
|
2019-01-09 00:46:02 +03:00
|
|
|
|
2022-06-02 18:03:54 +03:00
|
|
|
termimad = { version = "0.20.1", 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
|
|
|
|
2022-06-02 18:03:54 +03:00
|
|
|
rustyline = { version = "9.1.2", optional = true}
|
|
|
|
rustyline-derive = { version = "0.6.0", optional = true }
|
2020-12-04 14:10:49 +03:00
|
|
|
|
2022-11-03 13:36:34 +03:00
|
|
|
# The `wasm-bindgen` version is pinned (`=`) because it must be the same as `wasm-bindgen-cli` in `flake.nix`
|
|
|
|
wasm-bindgen = { version = "=0.2.83", optional = true, features = ["serde-serialize"] }
|
2022-11-17 20:18:49 +03:00
|
|
|
serde-wasm-bindgen = "0.4.5"
|
2021-08-31 17:54:54 +03:00
|
|
|
js-sys = { version = "0.3", optional = true }
|
2021-06-01 19:24:47 +03:00
|
|
|
serde_repr = { version = "0.1", optional = true }
|
2022-06-02 18:03:54 +03:00
|
|
|
pretty = "0.11.3"
|
2021-04-16 17:10:13 +03:00
|
|
|
|
2022-05-06 13:14:43 +03:00
|
|
|
comrak = { version = "0.12.1", optional = true, features = [] }
|
2022-09-16 16:07:22 +03:00
|
|
|
once_cell = "1.14.0"
|
2022-09-20 14:43:09 +03:00
|
|
|
typed-arena = "2.0.1"
|
2022-05-06 13:14:43 +03:00
|
|
|
|
2019-01-09 00:46:02 +03:00
|
|
|
[dev-dependencies]
|
2022-06-02 18:03:54 +03:00
|
|
|
pretty_assertions = "1.2.1"
|
|
|
|
assert_matches = "1.5.0"
|
2021-03-25 19:27:58 +03:00
|
|
|
criterion = "0.3"
|
2022-06-02 18:03:54 +03:00
|
|
|
pprof = { version = "0.9.1", features = ["criterion", "flamegraph"] }
|
2022-12-15 11:48:34 +03:00
|
|
|
nickel-lang-utilities = {path = "utilities", version = "0.3.1"}
|
2022-05-13 20:44:57 +03:00
|
|
|
similar = "2.1.0"
|
2022-12-15 14:06:10 +03:00
|
|
|
test-generator = "0.3.1"
|
2023-01-09 13:32:40 +03:00
|
|
|
insta = { version = "1.24.1", features = ["filters"] }
|
2021-09-23 17:21:45 +03:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
".",
|
2022-03-09 22:11:17 +03:00
|
|
|
"lsp/nls",
|
|
|
|
"utilities",
|
2022-06-15 12:02:48 +03:00
|
|
|
"nickel-wasm-repl",
|
2023-01-09 20:24:32 +03:00
|
|
|
"pyckel",
|
2021-09-23 17:21:45 +03:00
|
|
|
]
|
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
|
2022-05-20 17:28:50 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "mantis"
|
|
|
|
harness = false
|
2022-05-25 11:40:14 +03:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "stdlib"
|
|
|
|
harness = false
|
2022-05-24 11:21:43 +03:00
|
|
|
|
|
|
|
[[bench]]
|
2022-05-30 17:36:45 +03:00
|
|
|
name = "typecheck-nixpkgs-lib"
|
2022-05-24 11:21:43 +03:00
|
|
|
harness = false
|