git.delta.rocks / jrsonnet / refs/commits / 09cd060f0278

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-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" }22jrsonnet-gcmodule = { version = "0.3.7" }23# Diagnostics.24# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet25# Previous implementation was based on annotate-snippets, which I don't like for many reasons.26#27# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette28#   and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is29#   bad for interpreter, where interpreter and parser are paired much closer.30hi-doc = "0.1.1"31annotate-snippets = "0.10.1"3233# CLI34clap = "4.5"35clap_complete = "4.5"3637# Parsing, manifestification is implemented manually everywhere38# Note on serde_yaml_with_quirks: This is a fork of serde-yaml with legacy yaml 1.1 support:39# https://github.com/dtolnay/serde-yaml/pull/22540serde = "1.0.197"41serde_json = "1.0.114"42serde_yaml_with_quirks = "0.8.24"4344# Error handling45anyhow = "1.0.83"46thiserror = "1.0.60"4748# Code formatting49dprint-core = "0.65.0"5051# Stdlib hashing functions52md5 = "0.7.0"53sha1 = "0.10.6"54sha2 = "0.10.8"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.3"61logos = "0.14.0"62ungrammar = "1.16.1"63rowan = "0.15.15"6465mimallocator = "0.1.3"66indoc = "2.0"67insta = "1.39"68tempfile = "3.10"69pathdiff = "0.2.1"70hashbrown = "0.14.5"71static_assertions = "1.1"72rustc-hash = "1.1"73num-bigint = "0.4.5"74strsim = "0.11.0"75proc-macro2 = "1.0"76quote = "1.0"77syn = "2.0"78drop_bomb = "0.1.5"79base64 = "0.22.1"80indexmap = "2.2.3"81itertools = "0.13.0"82xshell = "0.2.6"8384lsp-server = "0.7.6"85lsp-types = "0.96.0"8687regex = "1.10"88lru = "0.12.3"8990json-structural-diff = "0.1.0"91syn-dissect-closure = "0.1.0"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# TODO: fix individual issues, however this works as intended almost everywhere126cast_precision_loss = "allow"127cast_possible_wrap = "allow"128cast_possible_truncation = "allow"129cast_sign_loss = "allow"130# False positives131# https://github.com/rust-lang/rust-clippy/issues/6902132use_self = "allow"133# https://github.com/rust-lang/rust-clippy/issues/8539134iter_with_drain = "allow"135type_repetition_in_bounds = "allow"136# ci is being run with nightly, but library should work on stable137missing_const_for_fn = "allow"138# too many false-positives with .expect() calls139missing_panics_doc = "allow"140# false positive for IStr type. There is an configuration option for141# such cases, but it doesn't work:142# https://github.com/rust-lang/rust-clippy/issues/9801143mutable_key_type = "allow"144# false positives145redundant_pub_crate = "allow"146# Sometimes code is fancier without that147manual_let_else = "allow"148# Something is broken about that lint, can't be allowed for149# codegenerated-stdlib block150similar_names = "allow"151152#[profile.test]153#opt-level = 1154155[profile.release]156opt-level = 3157lto = "fat"158codegen-units = 1159debug = 0160panic = "abort"161strip = true162163[profile.releasedebug]164inherits = "release"165debug = 2166panic = "unwind"167strip = false