git.delta.rocks / jrsonnet / refs/commits / 8d2d63334ec3

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" }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.80"48thiserror = "1.0"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.2"67logos = "0.14.0"68ungrammar = "1.16.1"69rowan = "0.15"7071mimallocator = "0.1.3"72indoc = "2.0"73insta = "1.35"74tempfile = "3.10"75pathdiff = "0.2.1"76hashbrown = "0.14.3"77static_assertions = "1.1"78rustc-hash = "1.1"79num-bigint = "0.4.4"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.21.7"88indexmap = "2.2.3"89itertools = "0.12.1"90xshell = "0.2.5"9192lsp-server = "0.7.6"93lsp-types = "0.95.0"9495regex = "1.10.3"96lru = "0.12.2"9798[workspace.lints.rust]99unsafe_op_in_unsafe_fn = "deny"100101# TODO: add docs everywhere102# missing_doc = "warn"103104elided_lifetimes_in_paths = "allow"105explicit_outlives_requirements = "allow"106noop_method_call = "allow"107single_use_lifetimes = "allow"108variant_size_differences = "allow"109macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"110111[workspace.lints.rustdoc]112all = "warn"113114[workspace.lints.clippy]115all = "warn"116nursery = "warn"117pedantic = "warn"118119ptr_arg = "allow"120# Too verbose121must_use_candidate = "allow"122# A lot of functions pass around errors thrown by code123missing_errors_doc = "allow"124# A lot of pointers have interior Rc125needless_pass_by_value = "allow"126# Its fine127wildcard_imports = "allow"128enum_glob_use = "allow"129module_name_repetitions = "allow"130# TODO: fix individual issues, however this works as intended almost everywhere131cast_precision_loss = "allow"132cast_possible_wrap = "allow"133cast_possible_truncation = "allow"134cast_sign_loss = "allow"135# False positives136# https://github.com/rust-lang/rust-clippy/issues/6902137use_self = "allow"138# https://github.com/rust-lang/rust-clippy/issues/8539139iter_with_drain = "allow"140type_repetition_in_bounds = "allow"141# ci is being run with nightly, but library should work on stable142missing_const_for_fn = "allow"143# too many false-positives with .expect() calls144missing_panics_doc = "allow"145# false positive for IStr type. There is an configuration option for146# such cases, but it doesn't work:147# https://github.com/rust-lang/rust-clippy/issues/9801148mutable_key_type = "allow"149# false positives150redundant_pub_crate = "allow"151# Sometimes code is fancier without that152manual_let_else = "allow"153# Something is broken about that lint, can't be allowed for154# codegenerated-stdlib block155similar_names = "allow"156157#[profile.test]158#opt-level = 1159160[profile.release]161opt-level = 3162lto = "fat"163codegen-units = 1164debug = 0165panic = "abort"166strip = true167168[profile.releasedebug]169inherits = "release"170debug = 2171panic = "unwind"172strip = false