diff --git a/rust/hg-core/Cargo.toml b/rust/hg-core/Cargo.toml
index 3fae904059667a19b984e3eaed6006b2c871732d_cnVzdC9oZy1jb3JlL0NhcmdvLnRvbWw=..1ef08a0381a0522d787bbe82e875dc01c549ea56_cnVzdC9oZy1jb3JlL0NhcmdvLnRvbWw= 100644
--- a/rust/hg-core/Cargo.toml
+++ b/rust/hg-core/Cargo.toml
@@ -5,6 +5,9 @@
 description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
 edition = "2021"
 
+[lints]
+workspace = true
+
 [lib]
 name = "hg"
 
diff --git a/rust/hg-cpython/Cargo.toml b/rust/hg-cpython/Cargo.toml
index 3fae904059667a19b984e3eaed6006b2c871732d_cnVzdC9oZy1jcHl0aG9uL0NhcmdvLnRvbWw=..1ef08a0381a0522d787bbe82e875dc01c549ea56_cnVzdC9oZy1jcHl0aG9uL0NhcmdvLnRvbWw= 100644
--- a/rust/hg-cpython/Cargo.toml
+++ b/rust/hg-cpython/Cargo.toml
@@ -4,6 +4,9 @@
 authors = ["Georges Racinet <gracinet@anybox.fr>"]
 edition = "2021"
 
+[lints]
+workspace = true
+
 [lib]
 name='rusthg'
 crate-type = ["cdylib"]
diff --git a/rust/hg-pyo3/Cargo.toml b/rust/hg-pyo3/Cargo.toml
index 3fae904059667a19b984e3eaed6006b2c871732d_cnVzdC9oZy1weW8zL0NhcmdvLnRvbWw=..1ef08a0381a0522d787bbe82e875dc01c549ea56_cnVzdC9oZy1weW8zL0NhcmdvLnRvbWw= 100644
--- a/rust/hg-pyo3/Cargo.toml
+++ b/rust/hg-pyo3/Cargo.toml
@@ -3,6 +3,9 @@
 version = "0.1.0"
 edition = "2021"
 
+[lints]
+workspace = true
+
 [lib]
 name='rusthgpyo3'
 crate-type = ["cdylib"]
diff --git a/rust/pyo3-sharedref/Cargo.toml b/rust/pyo3-sharedref/Cargo.toml
index 3fae904059667a19b984e3eaed6006b2c871732d_cnVzdC9weW8zLXNoYXJlZHJlZi9DYXJnby50b21s..1ef08a0381a0522d787bbe82e875dc01c549ea56_cnVzdC9weW8zLXNoYXJlZHJlZi9DYXJnby50b21s 100644
--- a/rust/pyo3-sharedref/Cargo.toml
+++ b/rust/pyo3-sharedref/Cargo.toml
@@ -3,6 +3,9 @@
 version = "0.1.0"
 edition = "2021"
 
+[lints]
+workspace = true
+
 [lib]
 name='pyo3_sharedref'
 
diff --git a/rust/rhg/Cargo.toml b/rust/rhg/Cargo.toml
index 3fae904059667a19b984e3eaed6006b2c871732d_cnVzdC9yaGcvQ2FyZ28udG9tbA==..1ef08a0381a0522d787bbe82e875dc01c549ea56_cnVzdC9yaGcvQ2FyZ28udG9tbA== 100644
--- a/rust/rhg/Cargo.toml
+++ b/rust/rhg/Cargo.toml
@@ -7,6 +7,9 @@
 ]
 edition = "2021"
 
+[lints]
+workspace = true
+
 [dependencies]
 hg-core = { path = "../hg-core"}
 chrono = "0.4.23"