git.delta.rocks / jrsonnet / refs/commits / 2e0b0304a98d

difftreelog

source

Cargo.toml5.2 KiBsourcehistory
1[workspace]2members = [3  "crates/*",4  "bindings/jrsonnet-web",5  "bindings/jsonnet",6  "cmds/*",7  "tests",8  "xtask",9]10default-members = ["cmds/jrsonnet", "cmds/jrsonnet-fmt", "bindings/jsonnet"]11resolver = "2"1213[workspace.package]14authors = ["Yaroslav Bolyukin <iam@lach.pw>"]15edition = "2024"16license = "MIT"17repository = "https://github.com/CertainLach/jrsonnet"18version = "0.5.0-pre98"1920[workspace.dependencies]21jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre98" }22jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre98" }23jrsonnet-ir = { path = "./crates/jrsonnet-ir", version = "0.5.0-pre98" }24jrsonnet-ir-parser = { path = "./crates/jrsonnet-ir-parser", version = "0.5.0-pre98" }25jrsonnet-peg-parser = { path = "./crates/jrsonnet-peg-parser", version = "0.5.0-pre98" }26jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre98" }27jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre98" }28jrsonnet-stdlib = { path = "./crates/jrsonnet-stdlib", version = "0.5.0-pre98" }29jrsonnet-cli = { path = "./crates/jrsonnet-cli", version = "0.5.0-pre98" }30jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre98" }31jrsonnet-formatter = { path = "./crates/jrsonnet-formatter", version = "0.5.0-pre98" }32jrsonnet-lexer = { path = "./crates/jrsonnet-lexer", version = "0.5.0-pre98" }33jrsonnet-gcmodule = { version = "0.4.6" }34# Diagnostics.35# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet36# Previous implementation was based on annotate-snippets, which I don't like for many reasons.37#38# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette39#   and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is40#   bad for interpreter, where interpreter and parser are paired much closer.41hi-doc = { version = "0.3.0", default-features = false }4243# CLI44clap = "4.5"45clap_complete = "4.5"4647# Parsing, manifestification is implemented manually everywhere48serde = "1.0.228"49serde_json = "1.0.149"50serde-saphyr = { version = "0.0.25", default-features = false, features = [51  "deserialize",52] }5354# Error handling55anyhow = "1.0.101"56thiserror = "2.0.18"5758# Code formatting59dprint-core = "0.67.4"6061# Evaluator62stacker = "0.1.23"63smallvec = "1.15.1"64educe = { version = "0.6.0", default-features = false }65url = "2.5.8"66rustversion = "1.0.22"6768# Stdlib hashing functions69md5 = "0.8.0"70sha1 = "0.11.0"71sha2 = "0.11.0"72sha3 = "0.11.0"73hex = "0.4.3"7475# Source code parsing.76# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.77# First (and fast one) is based on peg, second is based on rowan.78peg = "0.8.5"79logos = "0.16.1"80ungrammar = "1.16.1"81rowan = "0.16.1"8283mimallocator = "0.1.3"84indoc = "2.0"85tempfile = "3.24"86pathdiff = "0.2.3"87hashbrown = "0.17.0"88static_assertions = "1.1"89rustc-hash = "2.1"90num-bigint = "0.4.6"91strsim = "0.11.1"92proc-macro2 = "1.0"93quote = "1.0"94syn = "2.0"95drop_bomb = "0.1.5"96base64 = "0.22.1"97indexmap = "2.13.0"98itertools = "0.14.0"99xshell = "0.2.7"100101regex = "1.12"102lru = "0.17.0"103104syn-dissect-closure = "0.1.0"105106# Tests/benchmarks107insta = { version = "1.46", features = ["glob"] }108criterion = { version = "0.8" }109strip-ansi-escapes = "0.2.1"110111# Web112wasm-bindgen = "=0.2.106"113wasm-bindgen-futures = "0.4.56"114js-sys = "0.3.83"115console_error_panic_hook = "0.1"116getrandom = "0.3.4"117118[workspace.lints.rust]119unsafe_op_in_unsafe_fn = "deny"120121# TODO: add docs everywhere122# missing_doc = "warn"123124elided_lifetimes_in_paths = "allow"125explicit_outlives_requirements = "allow"126noop_method_call = "allow"127single_use_lifetimes = "allow"128variant_size_differences = "allow"129macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"130131[workspace.lints.rustdoc]132all = "warn"133134[workspace.lints.clippy]135all = { level = "warn", priority = -1 }136nursery = { level = "warn", priority = -1 }137pedantic = { level = "warn", priority = -1 }138139ptr_arg = "allow"140# Too verbose141must_use_candidate = "allow"142# A lot of functions pass around errors thrown by code143missing_errors_doc = "allow"144# A lot of pointers have interior Rc145needless_pass_by_value = "allow"146# Its fine147wildcard_imports = "allow"148enum_glob_use = "allow"149module_name_repetitions = "allow"150# False positives151# https://github.com/rust-lang/rust-clippy/issues/6902152use_self = "allow"153# https://github.com/rust-lang/rust-clippy/issues/8539154iter_with_drain = "allow"155type_repetition_in_bounds = "allow"156# ci is being run with nightly, but library should work on stable157missing_const_for_fn = "allow"158# too many false-positives with .expect() calls159missing_panics_doc = "allow"160# false positive for IStr type. There is an configuration option for161# such cases, but it doesn't work:162# https://github.com/rust-lang/rust-clippy/issues/9801163mutable_key_type = "allow"164# false positives165redundant_pub_crate = "allow"166# Sometimes code is fancier without that167manual_let_else = "allow"168# Something is broken about that lint, can't be allowed for169# codegenerated-stdlib block170similar_names = "allow"171172[profile.release]173opt-level = 3174lto = "fat"175codegen-units = 1176debug = 0177panic = "abort"178strip = true179180[profile.releasedebug]181inherits = "release"182debug = 2183panic = "unwind"184strip = false