mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-06 07:52:50 +00:00
cargo: inherit lints configuration from workspace
This commit is contained in:
parent
794db9dae0
commit
3f0703ca2c
@ -132,6 +132,8 @@ jj-lib = { path = "lib", version = "0.22.0" }
|
|||||||
jj-lib-proc-macros = { path = "lib/proc-macros", version = "0.22.0" }
|
jj-lib-proc-macros = { path = "lib/proc-macros", version = "0.22.0" }
|
||||||
testutils = { path = "lib/testutils" }
|
testutils = { path = "lib/testutils" }
|
||||||
|
|
||||||
|
[workspace.lints.clippy]
|
||||||
|
|
||||||
# Insta suggests compiling these packages in opt mode for faster testing.
|
# Insta suggests compiling these packages in opt mode for faster testing.
|
||||||
# See https://docs.rs/insta/latest/insta/#optional-faster-runs.
|
# See https://docs.rs/insta/latest/insta/#optional-faster-runs.
|
||||||
[profile.dev.package]
|
[profile.dev.package]
|
||||||
|
@ -117,3 +117,6 @@ watchman = ["jj-lib/watchman"]
|
|||||||
# The archive name is jj, not jj-cli. Also, `cargo binstall` gets
|
# The archive name is jj, not jj-cli. Also, `cargo binstall` gets
|
||||||
# confused by the `v` before versions in archive name.
|
# confused by the `v` before versions in archive name.
|
||||||
pkg-url = "{ repo }/releases/download/v{ version }/jj-v{ version }-{ target }.{ archive-format }"
|
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"]
|
vendored-openssl = ["git2/vendored-openssl"]
|
||||||
watchman = ["dep:tokio", "dep:watchman_client"]
|
watchman = ["dep:tokio", "dep:watchman_client"]
|
||||||
testing = ["git"]
|
testing = ["git"]
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -9,3 +9,6 @@ license = { workspace = true }
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost-build = { workspace = true }
|
prost-build = { workspace = true }
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -20,3 +20,6 @@ proc-macro = true
|
|||||||
proc-macro2 = { workspace = true }
|
proc-macro2 = { workspace = true }
|
||||||
quote = { workspace = true }
|
quote = { workspace = true }
|
||||||
syn = { workspace = true }
|
syn = { workspace = true }
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -25,3 +25,6 @@ jj-lib = { workspace = true, features = ["testing"] }
|
|||||||
pollster = { workspace = true }
|
pollster = { workspace = true }
|
||||||
rand = { workspace = true }
|
rand = { workspace = true }
|
||||||
tempfile = { workspace = true }
|
tempfile = { workspace = true }
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user