git.delta.rocks / jrsonnet / refs/commits / 57f709a58e12

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-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# Pre-parsed stdlib serialization.60# TODO: Drop in favor of replacing std.jsonnet with full native implementation, version 2.0 of bincode is bad.61bincode = "1.3"6263# Source code parsing.64# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.65# First (and fast one) is based on peg, second is based on rowan.66peg = "0.8.3"67logos = "0.14.0"68ungrammar = "1.16.1"69rowan = "0.15.15"7071mimallocator = "0.1.3"72indoc = "2.0"73insta = "1.39"74tempfile = "3.10"75pathdiff = "0.2.1"76hashbrown = "0.14.5"77static_assertions = "1.1"78rustc-hash = "1.1"79num-bigint = "0.4.5"80derivative = "2.2.0"81strsim = "0.11.0"82structdump = "0.2.0"83proc-macro2 = "1.0"84quote = "1.0"85syn = "2.0"86drop_bomb = "0.1.5"87base64 = "0.22.1"88indexmap = "2.2.3"89itertools = "0.13.0"90xshell = "0.2.6"9192lsp-server = "0.7.6"93lsp-types = "0.96.0"9495regex = "1.10"96lru = "0.12.3"9798json-structural-diff = "0.1.0"99100[workspace.lints.rust]101unsafe_op_in_unsafe_fn = "deny"102103# TODO: add docs everywhere104# missing_doc = "warn"105106elided_lifetimes_in_paths = "allow"107explicit_outlives_requirements = "allow"108noop_method_call = "allow"109single_use_lifetimes = "allow"110variant_size_differences = "allow"111macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"112113[workspace.lints.rustdoc]114all = "warn"115116[workspace.lints.clippy]117all = "warn"118nursery = "warn"119pedantic = "warn"120121ptr_arg = "allow"122# Too verbose123must_use_candidate = "allow"124# A lot of functions pass around errors thrown by code125missing_errors_doc = "allow"126# A lot of pointers have interior Rc127needless_pass_by_value = "allow"128# Its fine129wildcard_imports = "allow"130enum_glob_use = "allow"131module_name_repetitions = "allow"132# TODO: fix individual issues, however this works as intended almost everywhere133cast_precision_loss = "allow"134cast_possible_wrap = "allow"135cast_possible_truncation = "allow"136cast_sign_loss = "allow"137# False positives138# https://github.com/rust-lang/rust-clippy/issues/6902139use_self = "allow"140# https://github.com/rust-lang/rust-clippy/issues/8539141iter_with_drain = "allow"142type_repetition_in_bounds = "allow"143# ci is being run with nightly, but library should work on stable144missing_const_for_fn = "allow"145# too many false-positives with .expect() calls146missing_panics_doc = "allow"147# false positive for IStr type. There is an configuration option for148# such cases, but it doesn't work:149# https://github.com/rust-lang/rust-clippy/issues/9801150mutable_key_type = "allow"151# false positives152redundant_pub_crate = "allow"153# Sometimes code is fancier without that154manual_let_else = "allow"155# Something is broken about that lint, can't be allowed for156# codegenerated-stdlib block157similar_names = "allow"158159#[profile.test]160#opt-level = 1161162[profile.release]163opt-level = 3164lto = "fat"165codegen-units = 1166debug = 0167panic = "abort"168strip = true169170[profile.releasedebug]171inherits = "release"172debug = 2173panic = "unwind"174strip = false