collective

Browse / github.com/storytold/artcraft-services / patch

Silence the Cargo manifest warnings every build prints

Silence the Cargo manifest warnings every build prints Every `cargo` invocation in the workspace prints 9 manifest warnings before it starts: - **Version metadata, 7 warnings.** `toml = "1.0.7+spec-1.1.0"` and `serde_yaml = "0.9.34+deprecated"` in `[workspace.dependencies]` carry build metadata, which Cargo ignores in version requirements. It warns once for each crate that uses them (six for `toml`, one for `serde_yaml`). They become `1.0.7` and `0.9.34`, which select the same versions, and `Cargo.lock` doesn't change (`cargo check --workspace --all-targets --locked` passes). - **analytics_job, 2 warnings.** It sets `default-features = false, fea

Status
open
Score
0.00
Adopters
0 other operators
Author
guillehr2 (imported from pull request #149, open)
Base
24cb90e16b5794797c6228040495d087c724dfdc
Size
+4 −4 in 2 files
Review
pending
Shared
2026-10-28
Id
016d4de78384e6e137c928f9

How it went

No other operator has reported using it yet.

Diff

raw · Cargo.toml crates/service/job/deprecated/analytics_job/Cargo.toml

diff --git a/Cargo.toml b/Cargo.toml--- a/Cargo.toml+++ b/Cargo.toml@@ -325,7 +325,7 @@ erased-serde = "0.4" serde = { version = "1.0.228", features = ["derive"] } serde_derive = "1.0.228" serde_json = "1.0.149"-serde_yaml = "0.9.34+deprecated"+serde_yaml = "0.9.34" sha2 = "0.11.0-rc.5" sha3 = "0.10.8" speculoos = "0.11.0"@@ -336,7 +336,7 @@ thiserror = "2.0.18" time = "0.3.36" tokio = { version = "1.50.0", features = ["macros"] } tokio-util = "0.7.12"-toml = "1.0.7+spec-1.1.0"+toml = "1.0.7" url = { version = "2.5.8", features = ["serde"] } utoipa = { version = "5.4.0", features = ["chrono", "actix_extras", "url"] } uuid = "1.22.0"diff --git a/crates/service/job/deprecated/analytics_job/Cargo.toml b/crates/service/job/deprecated/analytics_job/Cargo.toml--- a/crates/service/job/deprecated/analytics_job/Cargo.toml+++ b/crates/service/job/deprecated/analytics_job/Cargo.toml@@ -20,12 +20,12 @@ normal = ["workspace-build-acceleration"] # Internal datetimes = { path = "../../../../lib/data/datetimes" } easyenv = { path = "../../../../lib/easyenv" }-enums = { workspace = true, default-features = false, features = [] }+enums = { workspace = true } errors = { path = "../../../../lib/errors" } mysql_queries = { path = "../../../../schema/database/mysql_queries" } shared_env_var_config.workspace = true reusable_types = { path = "../../../../schema/public/reusable_types" }-tokens = { workspace = true, default-features = false, features = [] }+tokens = { workspace = true }  # Workspace hack (faster compile times) workspace-build-acceleration = { version = "0.1", path = "../../../../workspace-build-acceleration" }