git.delta.rocks / jrsonnet / refs/commits / 673b62803a57

difftreelog

chore cleanup Cargo.toml

Yaroslav Bolyukin2024-03-17parent: #000d927.patch.diff
in: master

15 files changed

modifiedCargo.lockdiffbeforeafterboth
2# It is not intended for manual editing.2# It is not intended for manual editing.
3version = 33version = 3
4
5[[package]]
6name = "addr2line"
7version = "0.21.0"
8source = "registry+https://github.com/rust-lang/crates.io-index"
9checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
10dependencies = [
11 "gimli",
12]
13
14[[package]]
15name = "adler"
16version = "1.0.2"
17source = "registry+https://github.com/rust-lang/crates.io-index"
18checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
194
20[[package]]5[[package]]
21name = "ahash"6name = "ahash"
89source = "registry+https://github.com/rust-lang/crates.io-index"74source = "registry+https://github.com/rust-lang/crates.io-index"
90checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"75checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
91dependencies = [76dependencies = [
92 "windows-sys 0.52.0",77 "windows-sys",
93]78]
9479
95[[package]]80[[package]]
99checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"84checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
100dependencies = [85dependencies = [
101 "anstyle",86 "anstyle",
102 "windows-sys 0.52.0",87 "windows-sys",
103]88]
10489
105[[package]]90[[package]]
114source = "registry+https://github.com/rust-lang/crates.io-index"99source = "registry+https://github.com/rust-lang/crates.io-index"
115checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"100checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
116
117[[package]]
118name = "backtrace"
119version = "0.3.69"
120source = "registry+https://github.com/rust-lang/crates.io-index"
121checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
122dependencies = [
123 "addr2line",
124 "cc",
125 "cfg-if",
126 "libc",
127 "miniz_oxide",
128 "object",
129 "rustc-demangle",
130]
131
132[[package]]
133name = "backtrace-ext"
134version = "0.2.1"
135source = "registry+https://github.com/rust-lang/crates.io-index"
136checksum = "537beee3be4a18fb023b570f80e3ae28003db9167a751266b259926e25539d50"
137dependencies = [
138 "backtrace",
139]
140101
141[[package]]102[[package]]
142name = "base64"103name = "base64"
265 "encode_unicode",226 "encode_unicode",
266 "lazy_static",227 "lazy_static",
267 "libc",228 "libc",
268 "windows-sys 0.52.0",229 "windows-sys",
269]230]
270231
271[[package]]232[[package]]
359checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"320checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
360dependencies = [321dependencies = [
361 "libc",322 "libc",
362 "windows-sys 0.52.0",323 "windows-sys",
363]324]
364325
365[[package]]326[[package]]
395 "wasi",356 "wasi",
396]357]
397
398[[package]]
399name = "gimli"
400version = "0.28.1"
401source = "registry+https://github.com/rust-lang/crates.io-index"
402checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
403358
404[[package]]359[[package]]
405name = "hashbrown"360name = "hashbrown"
476 "yaml-rust",431 "yaml-rust",
477]432]
478
479[[package]]
480name = "is_ci"
481version = "1.2.0"
482source = "registry+https://github.com/rust-lang/crates.io-index"
483checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45"
484433
485[[package]]434[[package]]
486name = "itertools"435name = "itertools"
625 "indoc",574 "indoc",
626 "insta",575 "insta",
627 "logos",576 "logos",
628 "miette",
629 "rowan",577 "rowan",
630 "text-size",
631 "thiserror",578 "thiserror",
632]579]
633580
779 "autocfg",726 "autocfg",
780]727]
781
782[[package]]
783name = "miette"
784version = "7.1.0"
785source = "registry+https://github.com/rust-lang/crates.io-index"
786checksum = "baed61d13cc3723ee6dbed730a82bfacedc60a85d81da2d77e9c3e8ebc0b504a"
787dependencies = [
788 "backtrace",
789 "backtrace-ext",
790 "miette-derive",
791 "owo-colors",
792 "supports-color",
793 "supports-hyperlinks",
794 "supports-unicode",
795 "terminal_size",
796 "textwrap",
797 "thiserror",
798 "unicode-width",
799]
800
801[[package]]
802name = "miette-derive"
803version = "7.1.0"
804source = "registry+https://github.com/rust-lang/crates.io-index"
805checksum = "f301c3f54f98abc6c212ee722f5e5c62e472a334415840669e356f04850051ec"
806dependencies = [
807 "proc-macro2",
808 "quote",
809 "syn 2.0.50",
810]
811728
812[[package]]729[[package]]
813name = "mimalloc-sys"730name = "mimalloc-sys"
828 "mimalloc-sys",745 "mimalloc-sys",
829]746]
830
831[[package]]
832name = "miniz_oxide"
833version = "0.7.2"
834source = "registry+https://github.com/rust-lang/crates.io-index"
835checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
836dependencies = [
837 "adler",
838]
839747
840[[package]]748[[package]]
841name = "num-bigint"749name = "num-bigint"
867 "autocfg",775 "autocfg",
868]776]
869
870[[package]]
871name = "object"
872version = "0.32.2"
873source = "registry+https://github.com/rust-lang/crates.io-index"
874checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
875dependencies = [
876 "memchr",
877]
878777
879[[package]]778[[package]]
880name = "once_cell"779name = "once_cell"
881version = "1.19.0"780version = "1.19.0"
882source = "registry+https://github.com/rust-lang/crates.io-index"781source = "registry+https://github.com/rust-lang/crates.io-index"
883checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"782checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
884
885[[package]]
886name = "owo-colors"
887version = "4.0.0"
888source = "registry+https://github.com/rust-lang/crates.io-index"
889checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f"
890783
891[[package]]784[[package]]
892name = "parking_lot"785name = "parking_lot"
1067 "text-size",960 "text-size",
1068]961]
1069
1070[[package]]
1071name = "rustc-demangle"
1072version = "0.1.23"
1073source = "registry+https://github.com/rust-lang/crates.io-index"
1074checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
1075962
1076[[package]]963[[package]]
1077name = "rustc-hash"964name = "rustc-hash"
1089 "errno",976 "errno",
1090 "libc",977 "libc",
1091 "linux-raw-sys",978 "linux-raw-sys",
1092 "windows-sys 0.52.0",979 "windows-sys",
1093]980]
1094981
1095[[package]]982[[package]]
1191source = "registry+https://github.com/rust-lang/crates.io-index"1078source = "registry+https://github.com/rust-lang/crates.io-index"
1192checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"1079checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
1193
1194[[package]]
1195name = "smawk"
1196version = "0.3.2"
1197source = "registry+https://github.com/rust-lang/crates.io-index"
1198checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
11991080
1200[[package]]1081[[package]]
1201name = "static_assertions"1082name = "static_assertions"
1231 "syn 1.0.109",1112 "syn 1.0.109",
1232]1113]
1233
1234[[package]]
1235name = "supports-color"
1236version = "3.0.0"
1237source = "registry+https://github.com/rust-lang/crates.io-index"
1238checksum = "9829b314621dfc575df4e409e79f9d6a66a3bd707ab73f23cb4aa3a854ac854f"
1239dependencies = [
1240 "is_ci",
1241]
1242
1243[[package]]
1244name = "supports-hyperlinks"
1245version = "3.0.0"
1246source = "registry+https://github.com/rust-lang/crates.io-index"
1247checksum = "2c0a1e5168041f5f3ff68ff7d95dcb9c8749df29f6e7e89ada40dd4c9de404ee"
1248
1249[[package]]
1250name = "supports-unicode"
1251version = "3.0.0"
1252source = "registry+https://github.com/rust-lang/crates.io-index"
1253checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2"
12541114
1255[[package]]1115[[package]]
1256name = "syn"1116name = "syn"
1283 "cfg-if",1143 "cfg-if",
1284 "fastrand",1144 "fastrand",
1285 "rustix",1145 "rustix",
1286 "windows-sys 0.52.0",1146 "windows-sys",
1287]1147]
1288
1289[[package]]
1290name = "terminal_size"
1291version = "0.3.0"
1292source = "registry+https://github.com/rust-lang/crates.io-index"
1293checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7"
1294dependencies = [
1295 "rustix",
1296 "windows-sys 0.48.0",
1297]
12981148
1299[[package]]1149[[package]]
1300name = "tests"1150name = "tests"
1312source = "registry+https://github.com/rust-lang/crates.io-index"1162source = "registry+https://github.com/rust-lang/crates.io-index"
1313checksum = "f18aa187839b2bdb1ad2fa35ead8c4c2976b64e4363c386d45ac0f7ee85c9233"1163checksum = "f18aa187839b2bdb1ad2fa35ead8c4c2976b64e4363c386d45ac0f7ee85c9233"
1314
1315[[package]]
1316name = "textwrap"
1317version = "0.16.1"
1318source = "registry+https://github.com/rust-lang/crates.io-index"
1319checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
1320dependencies = [
1321 "smawk",
1322 "unicode-linebreak",
1323 "unicode-width",
1324]
13251164
1326[[package]]1165[[package]]
1327name = "thiserror"1166name = "thiserror"
1361source = "registry+https://github.com/rust-lang/crates.io-index"1200source = "registry+https://github.com/rust-lang/crates.io-index"
1362checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"1201checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
1363
1364[[package]]
1365name = "unicode-linebreak"
1366version = "0.1.5"
1367source = "registry+https://github.com/rust-lang/crates.io-index"
1368checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
13691202
1370[[package]]1203[[package]]
1371name = "unicode-width"1204name = "unicode-width"
1391source = "registry+https://github.com/rust-lang/crates.io-index"1224source = "registry+https://github.com/rust-lang/crates.io-index"
1392checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"1225checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1393
1394[[package]]
1395name = "windows-sys"
1396version = "0.48.0"
1397source = "registry+https://github.com/rust-lang/crates.io-index"
1398checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
1399dependencies = [
1400 "windows-targets 0.48.5",
1401]
14021226
1403[[package]]1227[[package]]
1404name = "windows-sys"1228name = "windows-sys"
modifiedCargo.tomldiffbeforeafterboth
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,10 +1,15 @@
 [workspace]
-package.version = "0.5.0-pre96"
-package.repository = "https://github.com/CertainLach/jrsonnet"
 members = ["crates/*", "bindings/jsonnet", "cmds/*", "tests", "xtask"]
 default-members = ["cmds/jrsonnet"]
 resolver = "2"
 
+[workspace.package]
+authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
+edition = "2021"
+license = "MIT"
+repository = "https://github.com/CertainLach/jrsonnet"
+version = "0.5.0-pre96"
+
 [workspace.dependencies]
 jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre96" }
 jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre96" }
@@ -16,25 +21,61 @@
 jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre96" }
 
 jrsonnet-gcmodule = "0.3.6"
+
+# Diagnostics.
+# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet
+# Previous implementation was based on annotate-snippets, which I don't like for many reasons.
+#
+# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette
+#   and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is
+#   bad for interpreter, where interpreter and parser are paired much closer.
 hi-doc = "0.1.0"
+annotate-snippets = "0.10.1"
+
+# CLI
+clap = "4.5"
+clap_complete = "4.5"
 
+# Parsing, manifestification is implemented manually everywhere
+# Note on serde_yaml_with_quirks: This is a fork of serde-yaml with legacy yaml 1.1 support:
+# https://github.com/dtolnay/serde-yaml/pull/225
 serde = "1.0.197"
 serde_json = "1.0.114"
 serde_yaml_with_quirks = "0.8.24"
 
+# Error handling
 anyhow = "1.0.80"
 thiserror = "1.0"
+
+# Code formatting
+dprint-core = "0.65.0"
+
+# Stdlib hashing functions
+md5 = "0.7.0"
+sha1 = "0.10.6"
+sha2 = "0.10.8"
+sha3 = "0.10.8"
+
+# Pre-parsed stdlib serialization.
+# TODO: Drop in favor of replacing std.jsonnet with full native implementation, version 2.0 of bincode is bad.
+bincode = "1.3"
+
+# Source code parsing.
+# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.
+# First (and fast one) is based on peg, second is based on rowan.
+peg = "0.8.2"
+logos = "0.14.0"
+ungrammar = "1.16.1"
+rowan = "0.15"
+
 mimallocator = "0.1.3"
 indoc = "2.0"
-dprint-core = "0.65.0"
 insta = "1.35"
 tempfile = "3.10"
 pathdiff = "0.2.1"
 hashbrown = "0.14.3"
 static_assertions = "1.1"
 rustc-hash = "1.1"
-bincode = "1.3"
-annotate-snippets = "0.10.1"
 num-bigint = "0.4.4"
 derivative = "2.2.0"
 strsim = "0.11.0"
@@ -42,24 +83,11 @@
 proc-macro2 = "1.0"
 quote = "1.0"
 syn = "2.0"
-peg = "0.8.2"
 drop_bomb = "0.1.5"
-logos = "0.14.0"
-miette = "7.1.0"
-rowan = "0.15"
-text-size = "1.1"
-md5 = "0.7.0"
-sha1 = "0.10.6"
-sha2 = "0.10.8"
-sha3 = "0.10.8"
 base64 = "0.21.7"
 indexmap = "2.2.3"
 itertools = "0.12.1"
-ungrammar = "1.16.1"
 xshell = "0.2.5"
-
-clap = "4.5"
-clap_complete = "4.5"
 
 lsp-server = "0.7.6"
 lsp-types = "0.95.0"
@@ -67,6 +95,62 @@
 regex = "1.10.3"
 lru = "0.12.2"
 
+[workspace.lints.rust]
+unsafe_op_in_unsafe_fn = "deny"
+
+# TODO: add docs everywhere
+# missing_doc = "warn"
+
+elided_lifetimes_in_paths = "allow"
+explicit_outlives_requirements = "allow"
+noop_method_call = "allow"
+single_use_lifetimes = "allow"
+variant_size_differences = "allow"
+macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"
+
+[workspace.lints.rustdoc]
+all = "warn"
+
+[workspace.lints.clippy]
+all = "warn"
+nursery = "warn"
+pedantic = "warn"
+
+ptr_arg = "allow"
+# Too verbose
+must_use_candidate = "allow"
+# A lot of functions pass around errors thrown by code
+missing_errors_doc = "allow"
+# A lot of pointers have interior Rc
+needless_pass_by_value = "allow"
+# Its fine
+wildcard_imports = "allow"
+enum_glob_use = "allow"
+module_name_repetitions = "allow"
+# TODO: fix individual issues, however this works as intended almost everywhere
+cast_precision_loss = "allow"
+cast_possible_wrap = "allow"
+cast_possible_truncation = "allow"
+cast_sign_loss = "allow"
+# False positives
+# https://github.com/rust-lang/rust-clippy/issues/6902
+use_self = "allow"
+# https://github.com/rust-lang/rust-clippy/issues/8539
+iter_with_drain = "allow"
+type_repetition_in_bounds = "allow"
+# ci is being run with nightly, but library should work on stable
+missing_const_for_fn = "allow"
+# too many false-positives with .expect() calls
+missing_panics_doc = "allow"
+# false positive for IStr type. There is an configuration option for
+# such cases, but it doesn't work:
+# https://github.com/rust-lang/rust-clippy/issues/9801
+mutable_key_type = "allow"
+# false positives
+redundant_pub_crate = "allow"
+# Sometimes code is fancier without that
+manual_let_else = "allow"
+
 #[profile.test]
 #opt-level = 1
 
modifiedbindings/jsonnet/Cargo.tomldiffbeforeafterboth
--- a/bindings/jsonnet/Cargo.toml
+++ b/bindings/jsonnet/Cargo.toml
@@ -1,12 +1,16 @@
 [package]
 name = "libjsonnet"
 description = "Rust implementation of libjsonnet.so"
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
+repository.workspace = true
 version.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
 publish = false
 
+[lints]
+workspace = true
+
 [dependencies]
 jrsonnet-evaluator.workspace = true
 jrsonnet-parser.workspace = true
modifiedcmds/jrsonnet-fmt/Cargo.tomldiffbeforeafterboth
--- a/cmds/jrsonnet-fmt/Cargo.toml
+++ b/cmds/jrsonnet-fmt/Cargo.toml
@@ -1,8 +1,14 @@
 [package]
 name = "jrsonnet-fmt"
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
+repository.workspace = true
 version.workspace = true
-edition = "2021"
 
+[lints]
+workspace = true
+
 [dependencies]
 dprint-core.workspace = true
 jrsonnet-rowan-parser.workspace = true
modifiedcmds/jrsonnet/Cargo.tomldiffbeforeafterboth
--- a/cmds/jrsonnet/Cargo.toml
+++ b/cmds/jrsonnet/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "jrsonnet"
 description = "Rust jsonnet implementation"
-version.workspace = true
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
 repository.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
 
 [features]
 experimental = [
modifiedcrates/jrsonnet-cli/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-cli/Cargo.toml
+++ b/crates/jrsonnet-cli/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "jrsonnet-cli"
 description = "Utilities for building jrsonnet CLIs"
-version.workspace = true
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
 repository.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
 
 [features]
 exp-preserve-order = [
modifiedcrates/jrsonnet-evaluator/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-evaluator/Cargo.toml
+++ b/crates/jrsonnet-evaluator/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "jrsonnet-evaluator"
 description = "jsonnet interpreter"
-version.workspace = true
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
 repository.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
 
 [features]
 default = ["explaining-traces"]
modifiedcrates/jrsonnet-interner/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-interner/Cargo.toml
+++ b/crates/jrsonnet-interner/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "jrsonnet-interner"
 description = "Jrsonnet string interning"
-version.workspace = true
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
 repository.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
 
 [features]
 default = []
modifiedcrates/jrsonnet-macros/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-macros/Cargo.toml
+++ b/crates/jrsonnet-macros/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "jrsonnet-macros"
 description = "Macros to reduce boilerplate in jrsonnet-evaluator usage"
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-version.workspace = true
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
 repository.workspace = true
-edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
 
 [lib]
 proc-macro = true
modifiedcrates/jrsonnet-parser/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-parser/Cargo.toml
+++ b/crates/jrsonnet-parser/Cargo.toml
@@ -1,11 +1,11 @@
 [package]
 name = "jrsonnet-parser"
 description = "jsonnet language parser and AST"
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
+repository.workspace = true
 version.workspace = true
-repository.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
 
 [features]
 default = []
modifiedcrates/jrsonnet-rowan-parser/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-rowan-parser/Cargo.toml
+++ b/crates/jrsonnet-rowan-parser/Cargo.toml
@@ -1,16 +1,20 @@
 [package]
 name = "jrsonnet-rowan-parser"
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
+repository.workspace = true
 version.workspace = true
-edition = "2021"
 
+[lints]
+workspace = true
+
 [dependencies]
 anyhow.workspace = true
 drop_bomb.workspace = true
 indoc.workspace = true
 logos.workspace = true
-miette = { workspace = true, features = ["fancy"] }
 rowan.workspace = true
-text-size.workspace = true
 thiserror.workspace = true
 
 [dev-dependencies]
modifiedcrates/jrsonnet-stdlib/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-stdlib/Cargo.toml
+++ b/crates/jrsonnet-stdlib/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "jrsonnet-stdlib"
 description = "jsonnet standard library packaged as crate"
-version.workspace = true
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
 repository.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
 
 [features]
 default = ["codegenerated-stdlib"]
modifiedcrates/jrsonnet-types/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-types/Cargo.toml
+++ b/crates/jrsonnet-types/Cargo.toml
@@ -1,11 +1,14 @@
 [package]
 name = "jrsonnet-types"
 description = "Jrsonnet type system definition"
-version.workspace = true
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
 repository.workspace = true
-authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
-license = "MIT"
-edition = "2021"
+version.workspace = true
+
+[lints]
+workspace = true
 
 [dependencies]
 jrsonnet-gcmodule.workspace = true
modifiedtests/Cargo.tomldiffbeforeafterboth
--- a/tests/Cargo.toml
+++ b/tests/Cargo.toml
@@ -4,6 +4,9 @@
 edition = "2021"
 publish = false
 
+[lints]
+workspace = true
+
 [dependencies]
 jrsonnet-evaluator.workspace = true
 jrsonnet-gcmodule.workspace = true
modifiedxtask/Cargo.tomldiffbeforeafterboth
--- a/xtask/Cargo.toml
+++ b/xtask/Cargo.toml
@@ -2,6 +2,10 @@
 name = "xtask"
 version = "0.1.0"
 edition = "2021"
+publish = false
+
+[lints]
+workspace = true
 
 [dependencies]
 anyhow.workspace = true