git.delta.rocks / jrsonnet / refs/commits / 93f08ca017e4

difftreelog

source

Cargo.toml4.9 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-ir = { path = "./crates/jrsonnet-ir", version = "0.5.0-pre97" }17jrsonnet-peg-parser = { path = "./crates/jrsonnet-peg-parser", version = "0.5.0-pre97" }18jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre97" }19jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre97" }20jrsonnet-stdlib = { path = "./crates/jrsonnet-stdlib", version = "0.5.0-pre97" }21jrsonnet-cli = { path = "./crates/jrsonnet-cli", version = "0.5.0-pre97" }22jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre97" }23jrsonnet-formatter = { path = "./crates/jrsonnet-formatter", version = "0.5.0-pre97" }24jrsonnet-gcmodule = { version = "0.4.2" }25# Diagnostics.26# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet27# Previous implementation was based on annotate-snippets, which I don't like for many reasons.28#29# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette30#   and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is31#   bad for interpreter, where interpreter and parser are paired much closer.32hi-doc = "0.3.0"33annotate-snippets = "0.12.11"3435# CLI36clap = "4.5"37clap_complete = "4.5"3839# Parsing, manifestification is implemented manually everywhere40serde = "1.0.228"41serde_json = "1.0.149"42serde-saphyr = { version = "0.0.17", default-features = false }4344# Error handling45anyhow = "1.0.101"46thiserror = "2.0.18"4748# Code formatting49dprint-core = "0.67.4"5051# Stdlib hashing functions52md5 = "0.8.0"53sha1 = "0.10.6"54sha2 = "0.10.9"55sha3 = "0.10.8"5657# Source code parsing.58# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.59# First (and fast one) is based on peg, second is based on rowan.60peg = "0.8.5"61logos = "0.16.1"62ungrammar = "1.16.1"63rowan = "0.16.1"6465mimallocator = "0.1.3"66indoc = "2.0"67insta = { version = "1.46", features = ["glob"] }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"8687json-structural-diff = "0.2.0"88syn-dissect-closure = "0.1.0"8990[workspace.lints.rust]91unsafe_op_in_unsafe_fn = "deny"9293# TODO: add docs everywhere94# missing_doc = "warn"9596elided_lifetimes_in_paths = "allow"97explicit_outlives_requirements = "allow"98noop_method_call = "allow"99single_use_lifetimes = "allow"100variant_size_differences = "allow"101macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"102103[workspace.lints.rustdoc]104all = "warn"105106[workspace.lints.clippy]107all = { level = "warn", priority = -1 }108nursery = { level = "warn", priority = -1 }109pedantic = { level = "warn", priority = -1 }110111ptr_arg = "allow"112# Too verbose113must_use_candidate = "allow"114# A lot of functions pass around errors thrown by code115missing_errors_doc = "allow"116# A lot of pointers have interior Rc117needless_pass_by_value = "allow"118# Its fine119wildcard_imports = "allow"120enum_glob_use = "allow"121module_name_repetitions = "allow"122# TODO: fix individual issues, however this works as intended almost everywhere123cast_precision_loss = "allow"124cast_possible_wrap = "allow"125cast_possible_truncation = "allow"126cast_sign_loss = "allow"127# False positives128# https://github.com/rust-lang/rust-clippy/issues/6902129use_self = "allow"130# https://github.com/rust-lang/rust-clippy/issues/8539131iter_with_drain = "allow"132type_repetition_in_bounds = "allow"133# ci is being run with nightly, but library should work on stable134missing_const_for_fn = "allow"135# too many false-positives with .expect() calls136missing_panics_doc = "allow"137# false positive for IStr type. There is an configuration option for138# such cases, but it doesn't work:139# https://github.com/rust-lang/rust-clippy/issues/9801140mutable_key_type = "allow"141# false positives142redundant_pub_crate = "allow"143# Sometimes code is fancier without that144manual_let_else = "allow"145# Something is broken about that lint, can't be allowed for146# codegenerated-stdlib block147similar_names = "allow"148149#[profile.test]150#opt-level = 1151152[profile.release]153opt-level = 3154lto = "fat"155codegen-units = 1156debug = 0157panic = "abort"158strip = true159160[profile.releasedebug]161inherits = "release"162debug = 2163panic = "unwind"164strip = false