From 60a72dad858430814eb0f87c3016a8dac491d9ee Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 20 Feb 2025 14:35:02 +0100 Subject: [PATCH] Just stop the warnings T_T --- Cargo.toml | 2 ++ youmubot-cf/Cargo.toml | 3 +++ youmubot-core/Cargo.toml | 3 +++ youmubot-db-sql/Cargo.toml | 3 +++ youmubot-db/Cargo.toml | 3 +++ youmubot-osu/Cargo.toml | 3 +++ youmubot-prelude/Cargo.toml | 3 +++ youmubot/Cargo.toml | 3 +++ 8 files changed, 23 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 55be1c9..4734795 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,5 @@ members = [ "youmubot-osu", "youmubot", ] +[workspace.lints.rust] +deprecated = "allow" diff --git a/youmubot-cf/Cargo.toml b/youmubot-cf/Cargo.toml index a3a590d..2f2755e 100644 --- a/youmubot-cf/Cargo.toml +++ b/youmubot-cf/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Natsu Kagami "] edition = "2021" +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] serde = { version = "1.0.137", features = ["derive"] } diff --git a/youmubot-core/Cargo.toml b/youmubot-core/Cargo.toml index e1cda78..8b8f26c 100644 --- a/youmubot-core/Cargo.toml +++ b/youmubot-core/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Natsu Kagami "] edition = "2021" +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/youmubot-db-sql/Cargo.toml b/youmubot-db-sql/Cargo.toml index 5ffa6dc..30b640c 100644 --- a/youmubot-db-sql/Cargo.toml +++ b/youmubot-db-sql/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Natsu Kagami "] edition = "2021" +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/youmubot-db/Cargo.toml b/youmubot-db/Cargo.toml index 95b9f74..8126d9a 100644 --- a/youmubot-db/Cargo.toml +++ b/youmubot-db/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Natsu Kagami "] edition = "2021" +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/youmubot-osu/Cargo.toml b/youmubot-osu/Cargo.toml index c734731..11ae15b 100644 --- a/youmubot-osu/Cargo.toml +++ b/youmubot-osu/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Natsu Kagami "] edition = "2021" +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/youmubot-prelude/Cargo.toml b/youmubot-prelude/Cargo.toml index 559478e..e7054a5 100644 --- a/youmubot-prelude/Cargo.toml +++ b/youmubot-prelude/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Natsu Kagami "] edition = "2021" +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/youmubot/Cargo.toml b/youmubot/Cargo.toml index 418819b..fa0540e 100644 --- a/youmubot/Cargo.toml +++ b/youmubot/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" authors = ["Natsu Kagami "] edition = "2021" +[lints] +workspace = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["core", "codeforces", "osu"]