git.delta.rocks / jrsonnet / refs/commits / 7bd5bbd0756a

difftreelog

source

Cargo.toml5.8 KiBsourcehistory
1[workspace]2members = [3  "crates/*",4  "bindings/jrsonnet-web",5  "bindings/jsonnet",6  "cmds/*",7  "tests",8  "xtask",9]10default-members = [11  "cmds/jrsonnet",12  "cmds/jrsonnet-fmt",13  "cmds/jrb",14  "bindings/jsonnet",15]16resolver = "2"1718[workspace.package]19authors = ["Yaroslav Bolyukin <iam@lach.pw>"]20edition = "2024"21license = "MIT"22repository = "https://github.com/CertainLach/jrsonnet"23version = "0.5.0-pre98"2425[workspace.dependencies]26jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre98" }27jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre98" }28jrsonnet-ir = { path = "./crates/jrsonnet-ir", version = "0.5.0-pre98" }29jrsonnet-ir-parser = { path = "./crates/jrsonnet-ir-parser", version = "0.5.0-pre98" }30jrsonnet-peg-parser = { path = "./crates/jrsonnet-peg-parser", version = "0.5.0-pre98" }31jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre98" }32jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre98" }33jrsonnet-stdlib = { path = "./crates/jrsonnet-stdlib", version = "0.5.0-pre98" }34jrsonnet-cli = { path = "./crates/jrsonnet-cli", version = "0.5.0-pre98" }35jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre98" }36jrsonnet-formatter = { path = "./crates/jrsonnet-formatter", version = "0.5.0-pre98" }37jrsonnet-lexer = { path = "./crates/jrsonnet-lexer", version = "0.5.0-pre98" }38jrsonnet-pkg = { path = "./crates/jrsonnet-pkg", version = "0.5.0-pre98" }39jrsonnet-gcmodule = { version = "0.5.0" }40# Diagnostics.41# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet42# Previous implementation was based on annotate-snippets, which I don't like for many reasons.43#44# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette45#   and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is46#   bad for interpreter, where interpreter and parser are paired much closer.47hi-doc = { version = "0.3.0", default-features = false }4849# CLI50clap = "4.5"51clap_complete = "4.5"5253# Parsing, manifestification is implemented manually everywhere54serde = "1.0.228"55serde_json = "1.0.149"56serde-saphyr = { version = "0.0.26", default-features = false, features = [57  "deserialize",58] }5960# Error handling61anyhow = "1.0.101"62thiserror = "2.0.18"6364# Code formatting65dprint-core = "0.67.4"6667# Evaluator68stacker = "0.1.23"69smallvec = "1.15.1"70educe = { version = "0.6.0", default-features = false }71url = "2.5.8"72rustversion = "1.0.22"7374# Stdlib hashing functions75md5 = "0.8.0"76sha1 = "0.11.0"77sha2 = "0.11.0"78sha3 = "0.11.0"79hex = "0.4.3"8081# Source code parsing.82# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.83# First (and fast one) is based on peg, second is based on rowan.84peg = "0.8.5"85logos = "0.16.1"86ungrammar = "1.16.1"87rowan = "0.16.1"8889mimallocator = "0.1.3"90indoc = "2.0"91tempfile = "3.24"92pathdiff = "0.2.3"93hashbrown = "0.17.0"94static_assertions = "1.1"95rustc-hash = "2.1"96num-bigint = "0.4.6"97strsim = "0.11.1"98proc-macro2 = "1.0"99quote = "1.0"100syn = "2.0"101drop_bomb = "0.1.5"102base64 = "0.22.1"103indexmap = "2.13.0"104itertools = "0.14.0"105xshell = "0.2.7"106107regex = "1.12"108lru = "0.18.0"109110syn-dissect-closure = "0.1.0"111112# Tests/benchmarks113insta = { version = "1.46", features = ["glob"] }114criterion = { version = "0.8" }115strip-ansi-escapes = "0.2.1"116nix = { version = "0.31", features = ["process"] }117118# Web119wasm-bindgen = "=0.2.106"120wasm-bindgen-futures = "0.4.56"121js-sys = "0.3.83"122console_error_panic_hook = "0.1"123getrandom = "0.3.4"124125# Bundler126tracing = "0.1.44"127tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }128reqwest = { version = "0.13", default-features = false, features = [129  "blocking",130] }131zip = { version = "8", default-features = false, features = ["deflate"] }132directories = "6.0.0"133gix = { version = "0.83.0", features = ["blocking-network-client"] }134camino = { version = "1.2.2", features = ["serde1"] }135rustls = { version = "0.23", default-features = false }136137[workspace.lints.rust]138unsafe_op_in_unsafe_fn = "deny"139140# TODO: add docs everywhere141# missing_doc = "warn"142143elided_lifetimes_in_paths = "allow"144explicit_outlives_requirements = "allow"145noop_method_call = "allow"146single_use_lifetimes = "allow"147variant_size_differences = "allow"148macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"149150[workspace.lints.rustdoc]151all = "warn"152153[workspace.lints.clippy]154all = { level = "warn", priority = -1 }155nursery = { level = "warn", priority = -1 }156pedantic = { level = "warn", priority = -1 }157158ptr_arg = "allow"159# Too verbose160must_use_candidate = "allow"161# A lot of functions pass around errors thrown by code162missing_errors_doc = "allow"163# A lot of pointers have interior Rc164needless_pass_by_value = "allow"165# Its fine166wildcard_imports = "allow"167enum_glob_use = "allow"168module_name_repetitions = "allow"169# False positives170# https://github.com/rust-lang/rust-clippy/issues/6902171use_self = "allow"172# https://github.com/rust-lang/rust-clippy/issues/8539173iter_with_drain = "allow"174type_repetition_in_bounds = "allow"175# ci is being run with nightly, but library should work on stable176missing_const_for_fn = "allow"177# too many false-positives with .expect() calls178missing_panics_doc = "allow"179# false positive for IStr type. There is an configuration option for180# such cases, but it doesn't work:181# https://github.com/rust-lang/rust-clippy/issues/9801182mutable_key_type = "allow"183# false positives184redundant_pub_crate = "allow"185# Sometimes code is fancier without that186manual_let_else = "allow"187# Something is broken about that lint, can't be allowed for188# codegenerated-stdlib block189similar_names = "allow"190191[profile.release]192opt-level = 3193lto = "fat"194codegen-units = 1195debug = 0196panic = "abort"197strip = true198199[profile.releasedebug]200inherits = "release"201debug = 2202panic = "unwind"203strip = false