git.delta.rocks / jrsonnet / refs/commits / 9070b9ae357d

difftreelog

source

Cargo.toml4.7 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-pre96"1213[workspace.dependencies]14jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre96" }15jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre96" }16jrsonnet-parser = { path = "./crates/jrsonnet-parser", version = "0.5.0-pre96" }17jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre96" }18jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre96" }19jrsonnet-stdlib = { path = "./crates/jrsonnet-stdlib", version = "0.5.0-pre96" }20jrsonnet-cli = { path = "./crates/jrsonnet-cli", version = "0.5.0-pre96" }21jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre96" }2223jrsonnet-gcmodule = "0.3.6"2425# 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.1.1"33annotate-snippets = "0.10.1"3435# CLI36clap = "4.5"37clap_complete = "4.5"3839# Parsing, manifestification is implemented manually everywhere40# Note on serde_yaml_with_quirks: This is a fork of serde-yaml with legacy yaml 1.1 support:41# https://github.com/dtolnay/serde-yaml/pull/22542serde = "1.0.197"43serde_json = "1.0.114"44serde_yaml_with_quirks = "0.8.24"4546# Error handling47anyhow = "1.0.83"48thiserror = "1.0.60"4950# Code formatting51dprint-core = "0.65.0"5253# Stdlib hashing functions54md5 = "0.7.0"55sha1 = "0.10.6"56sha2 = "0.10.8"57sha3 = "0.10.8"5859# Source code parsing.60# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.61# First (and fast one) is based on peg, second is based on rowan.62peg = "0.8.3"63logos = "0.14.0"64ungrammar = "1.16.1"65rowan = "0.15.15"6667mimallocator = "0.1.3"68indoc = "2.0"69insta = "1.39"70tempfile = "3.10"71pathdiff = "0.2.1"72hashbrown = "0.14.5"73static_assertions = "1.1"74rustc-hash = "1.1"75num-bigint = "0.4.5"76derivative = "2.2.0"77strsim = "0.11.0"78proc-macro2 = "1.0"79quote = "1.0"80syn = "2.0"81drop_bomb = "0.1.5"82base64 = "0.22.1"83indexmap = "2.2.3"84itertools = "0.13.0"85xshell = "0.2.6"8687lsp-server = "0.7.6"88lsp-types = "0.96.0"8990regex = "1.10"91lru = "0.12.3"9293json-structural-diff = "0.1.0"9495[workspace.lints.rust]96unsafe_op_in_unsafe_fn = "deny"9798# TODO: add docs everywhere99# missing_doc = "warn"100101elided_lifetimes_in_paths = "allow"102explicit_outlives_requirements = "allow"103noop_method_call = "allow"104single_use_lifetimes = "allow"105variant_size_differences = "allow"106macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"107108[workspace.lints.rustdoc]109all = "warn"110111[workspace.lints.clippy]112all = "warn"113nursery = "warn"114pedantic = "warn"115116ptr_arg = "allow"117# Too verbose118must_use_candidate = "allow"119# A lot of functions pass around errors thrown by code120missing_errors_doc = "allow"121# A lot of pointers have interior Rc122needless_pass_by_value = "allow"123# Its fine124wildcard_imports = "allow"125enum_glob_use = "allow"126module_name_repetitions = "allow"127# TODO: fix individual issues, however this works as intended almost everywhere128cast_precision_loss = "allow"129cast_possible_wrap = "allow"130cast_possible_truncation = "allow"131cast_sign_loss = "allow"132# False positives133# https://github.com/rust-lang/rust-clippy/issues/6902134use_self = "allow"135# https://github.com/rust-lang/rust-clippy/issues/8539136iter_with_drain = "allow"137type_repetition_in_bounds = "allow"138# ci is being run with nightly, but library should work on stable139missing_const_for_fn = "allow"140# too many false-positives with .expect() calls141missing_panics_doc = "allow"142# false positive for IStr type. There is an configuration option for143# such cases, but it doesn't work:144# https://github.com/rust-lang/rust-clippy/issues/9801145mutable_key_type = "allow"146# false positives147redundant_pub_crate = "allow"148# Sometimes code is fancier without that149manual_let_else = "allow"150# Something is broken about that lint, can't be allowed for151# codegenerated-stdlib block152similar_names = "allow"153154#[profile.test]155#opt-level = 1156157[profile.release]158opt-level = 3159lto = "fat"160codegen-units = 1161debug = 0162panic = "abort"163strip = true164165[profile.releasedebug]166inherits = "release"167debug = 2168panic = "unwind"169strip = false