git.delta.rocks / jrsonnet / refs/commits / d14f5fd9b388

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-pre97"1213[workspace.dependencies]14jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre97" }15jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre97" }16jrsonnet-parser = { path = "./crates/jrsonnet-parser", version = "0.5.0-pre97" }17jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre97" }18jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre97" }19jrsonnet-stdlib = { path = "./crates/jrsonnet-stdlib", version = "0.5.0-pre97" }20jrsonnet-cli = { path = "./crates/jrsonnet-cli", version = "0.5.0-pre97" }21jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre97" }22jrsonnet-formatter = { path = "./crates/jrsonnet-formatter", version = "0.5.0-pre97" }23jrsonnet-gcmodule = { version = "0.4.1" }24# Diagnostics.25# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet26# Previous implementation was based on annotate-snippets, which I don't like for many reasons.27#28# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette29#   and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is30#   bad for interpreter, where interpreter and parser are paired much closer.31hi-doc = "0.3.0"32annotate-snippets = "0.12.11"3334# CLI35clap = "4.5"36clap_complete = "4.5"3738# Parsing, manifestification is implemented manually everywhere39serde = "1.0.228"40serde_json = "1.0.149"41serde-saphyr = {version = "0.0.17", default-features = false}4243# Error handling44anyhow = "1.0.101"45thiserror = "2.0.18"4647# Code formatting48dprint-core = "0.67.4"4950# Stdlib hashing functions51md5 = "0.8.0"52sha1 = "0.10.6"53sha2 = "0.10.9"54sha3 = "0.10.8"5556# Source code parsing.57# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.58# First (and fast one) is based on peg, second is based on rowan.59peg = "0.8.5"60logos = "0.16.1"61ungrammar = "1.16.1"62rowan = "0.16.1"6364mimallocator = "0.1.3"65indoc = "2.0"66insta = "1.46"67tempfile = "3.24"68pathdiff = "0.2.3"69hashbrown = "0.16.1"70static_assertions = "1.1"71rustc-hash = "2.1"72num-bigint = "0.4.6"73strsim = "0.11.1"74proc-macro2 = "1.0"75quote = "1.0"76syn = "2.0"77drop_bomb = "0.1.5"78base64 = "0.22.1"79indexmap = "2.13.0"80itertools = "0.14.0"81xshell = "0.2.7"8283lsp-server = "0.7.9"84lsp-types = "0.97.0"8586regex = "1.12"87lru = "0.16.3"8889json-structural-diff = "0.2.0"90syn-dissect-closure = "0.1.0"9192[workspace.lints.rust]93unsafe_op_in_unsafe_fn = "deny"9495# TODO: add docs everywhere96# missing_doc = "warn"9798elided_lifetimes_in_paths = "allow"99explicit_outlives_requirements = "allow"100noop_method_call = "allow"101single_use_lifetimes = "allow"102variant_size_differences = "allow"103macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"104105[workspace.lints.rustdoc]106all = "warn"107108[workspace.lints.clippy]109all = { level = "warn", priority = -1 }110nursery = { level = "warn", priority = -1 }111pedantic = { level = "warn", priority = -1 }112113ptr_arg = "allow"114# Too verbose115must_use_candidate = "allow"116# A lot of functions pass around errors thrown by code117missing_errors_doc = "allow"118# A lot of pointers have interior Rc119needless_pass_by_value = "allow"120# Its fine121wildcard_imports = "allow"122enum_glob_use = "allow"123module_name_repetitions = "allow"124# TODO: fix individual issues, however this works as intended almost everywhere125cast_precision_loss = "allow"126cast_possible_wrap = "allow"127cast_possible_truncation = "allow"128cast_sign_loss = "allow"129# False positives130# https://github.com/rust-lang/rust-clippy/issues/6902131use_self = "allow"132# https://github.com/rust-lang/rust-clippy/issues/8539133iter_with_drain = "allow"134type_repetition_in_bounds = "allow"135# ci is being run with nightly, but library should work on stable136missing_const_for_fn = "allow"137# too many false-positives with .expect() calls138missing_panics_doc = "allow"139# false positive for IStr type. There is an configuration option for140# such cases, but it doesn't work:141# https://github.com/rust-lang/rust-clippy/issues/9801142mutable_key_type = "allow"143# false positives144redundant_pub_crate = "allow"145# Sometimes code is fancier without that146manual_let_else = "allow"147# Something is broken about that lint, can't be allowed for148# codegenerated-stdlib block149similar_names = "allow"150151#[profile.test]152#opt-level = 1153154[profile.release]155opt-level = 3156lto = "fat"157codegen-units = 1158debug = 0159panic = "abort"160strip = true161162[profile.releasedebug]163inherits = "release"164debug = 2165panic = "unwind"166strip = false