mirror of
https://github.com/martinvonz/jj.git
synced 2024-11-24 06:19:42 +00:00
cargo: inherit lints configuration from workspace
This commit is contained in:
parent
794db9dae0
commit
3f0703ca2c
6 changed files with 17 additions and 0 deletions
|
@ -132,6 +132,8 @@ jj-lib = { path = "lib", version = "0.22.0" }
|
|||
jj-lib-proc-macros = { path = "lib/proc-macros", version = "0.22.0" }
|
||||
testutils = { path = "lib/testutils" }
|
||||
|
||||
[workspace.lints.clippy]
|
||||
|
||||
# Insta suggests compiling these packages in opt mode for faster testing.
|
||||
# See https://docs.rs/insta/latest/insta/#optional-faster-runs.
|
||||
[profile.dev.package]
|
||||
|
|
|
@ -117,3 +117,6 @@ watchman = ["jj-lib/watchman"]
|
|||
# The archive name is jj, not jj-cli. Also, `cargo binstall` gets
|
||||
# confused by the `v` before versions in archive name.
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/jj-v{ version }-{ target }.{ archive-format }"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
@ -100,3 +100,6 @@ git = ["dep:git2", "dep:gix", "dep:gix-filter"]
|
|||
vendored-openssl = ["git2/vendored-openssl"]
|
||||
watchman = ["dep:tokio", "dep:watchman_client"]
|
||||
testing = ["git"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
@ -9,3 +9,6 @@ license = { workspace = true }
|
|||
|
||||
[dependencies]
|
||||
prost-build = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
@ -20,3 +20,6 @@ proc-macro = true
|
|||
proc-macro2 = { workspace = true }
|
||||
quote = { workspace = true }
|
||||
syn = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
@ -25,3 +25,6 @@ jj-lib = { workspace = true, features = ["testing"] }
|
|||
pollster = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
tempfile = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
Loading…
Reference in a new issue