Skip to content
Snippets Groups Projects
Commit 1ef08a0381a0 authored by Mitchell Kember's avatar Mitchell Kember
Browse files

rust: enable workspace lints

This means that lints configured in rust/Cargo.toml will apply to all crates
within the workspace. Currently there are none but I plan to add some.
parent 3fae90405966
No related branches found
No related tags found
2 merge requests!1292Draft: 7.0rc preparation,!1282rust: enable clippy::or_fun_call lint
......@@ -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"
......
......@@ -4,6 +4,9 @@
authors = ["Georges Racinet <gracinet@anybox.fr>"]
edition = "2021"
[lints]
workspace = true
[lib]
name='rusthg'
crate-type = ["cdylib"]
......
......@@ -3,6 +3,9 @@
version = "0.1.0"
edition = "2021"
[lints]
workspace = true
[lib]
name='rusthgpyo3'
crate-type = ["cdylib"]
......
......@@ -3,6 +3,9 @@
version = "0.1.0"
edition = "2021"
[lints]
workspace = true
[lib]
name='pyo3_sharedref'
......
......@@ -7,6 +7,9 @@
]
edition = "2021"
[lints]
workspace = true
[dependencies]
hg-core = { path = "../hg-core"}
chrono = "0.4.23"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment