git.delta.rocks / jrsonnet / refs/commits / 166fbe9afc2a

difftreelog

source

Cargo.toml4.8 KiBsourcehistory
1[workspace]2members = ["crates/*", "bindings/jsonnet", "cmds/*", "tests", "xtask"]3default-members = ["cmds/jrsonnet"]4resolver = "2"56[workspace.package]7authors = ["Yaroslav Bolyukin <iam@lach.pw>"]8edition = "2021"9license = "MIT"10repository = "https://github.com/CertainLach/jrsonnet"11version = "0.5.0-pre98"1213[workspace.dependencies]14jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre98" }15jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre98" }16jrsonnet-ir = { path = "./crates/jrsonnet-ir", version = "0.5.0-pre98" }17jrsonnet-ir-parser = { path = "./crates/jrsonnet-ir-parser", version = "0.5.0-pre98" }18jrsonnet-peg-parser = { path = "./crates/jrsonnet-peg-parser", version = "0.5.0-pre98" }19jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre98" }20jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre98" }21jrsonnet-stdlib = { path = "./crates/jrsonnet-stdlib", version = "0.5.0-pre98" }22jrsonnet-cli = { path = "./crates/jrsonnet-cli", version = "0.5.0-pre98" }23jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre98" }24jrsonnet-formatter = { path = "./crates/jrsonnet-formatter", version = "0.5.0-pre98" }25jrsonnet-gcmodule = { version = "0.4.4", features = ["im-rc"] }26# Diagnostics.27# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet28# Previous implementation was based on annotate-snippets, which I don't like for many reasons.29#30# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette31#   and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is32#   bad for interpreter, where interpreter and parser are paired much closer.33hi-doc = "0.3.0"34annotate-snippets = "0.12.11"3536# CLI37clap = "4.5"38clap_complete = "4.5"3940# Parsing, manifestification is implemented manually everywhere41serde = "1.0.228"42serde_json = "1.0.149"43serde-saphyr = { version = "0.0.17", default-features = false }4445# Error handling46anyhow = "1.0.101"47thiserror = "2.0.18"4849# Code formatting50dprint-core = "0.67.4"5152# Stdlib hashing functions53md5 = "0.8.0"54sha1 = "0.10.6"55sha2 = "0.10.9"56sha3 = "0.10.8"5758# Source code parsing.59# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.60# First (and fast one) is based on peg, second is based on rowan.61peg = "0.8.5"62logos = "0.16.1"63ungrammar = "1.16.1"64rowan = "0.16.1"6566mimallocator = "0.1.3"67indoc = "2.0"68tempfile = "3.24"69pathdiff = "0.2.3"70hashbrown = "0.16.1"71static_assertions = "1.1"72rustc-hash = "2.1"73num-bigint = "0.4.6"74strsim = "0.11.1"75proc-macro2 = "1.0"76quote = "1.0"77syn = "2.0"78drop_bomb = "0.1.5"79base64 = "0.22.1"80indexmap = "2.13.0"81itertools = "0.14.0"82xshell = "0.2.7"8384regex = "1.12"85lru = "0.16.3"8687syn-dissect-closure = "0.1.0"8889# Tests/benchmarks90insta = { version = "1.46", features = ["glob"] }91criterion = { version = "0.8" }9293[workspace.lints.rust]94unsafe_op_in_unsafe_fn = "deny"9596# TODO: add docs everywhere97# missing_doc = "warn"9899elided_lifetimes_in_paths = "allow"100explicit_outlives_requirements = "allow"101noop_method_call = "allow"102single_use_lifetimes = "allow"103variant_size_differences = "allow"104macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"105106[workspace.lints.rustdoc]107all = "warn"108109[workspace.lints.clippy]110all = { level = "warn", priority = -1 }111nursery = { level = "warn", priority = -1 }112pedantic = { level = "warn", priority = -1 }113114ptr_arg = "allow"115# Too verbose116must_use_candidate = "allow"117# A lot of functions pass around errors thrown by code118missing_errors_doc = "allow"119# A lot of pointers have interior Rc120needless_pass_by_value = "allow"121# Its fine122wildcard_imports = "allow"123enum_glob_use = "allow"124module_name_repetitions = "allow"125# False positives126# https://github.com/rust-lang/rust-clippy/issues/6902127use_self = "allow"128# https://github.com/rust-lang/rust-clippy/issues/8539129iter_with_drain = "allow"130type_repetition_in_bounds = "allow"131# ci is being run with nightly, but library should work on stable132missing_const_for_fn = "allow"133# too many false-positives with .expect() calls134missing_panics_doc = "allow"135# false positive for IStr type. There is an configuration option for136# such cases, but it doesn't work:137# https://github.com/rust-lang/rust-clippy/issues/9801138mutable_key_type = "allow"139# false positives140redundant_pub_crate = "allow"141# Sometimes code is fancier without that142manual_let_else = "allow"143# Something is broken about that lint, can't be allowed for144# codegenerated-stdlib block145similar_names = "allow"146147#[profile.test]148#opt-level = 1149150[profile.release]151opt-level = 3152lto = "fat"153codegen-units = 1154debug = 0155panic = "abort"156strip = true157158[profile.releasedebug]159inherits = "release"160debug = 2161panic = "unwind"162strip = false