From bfed644b6192f54b7adbb2ae822f1c1b6c04de99 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 26 Jul 2024 09:39:27 +0200 Subject: [PATCH] chore: move common package data to workspace Cargo.toml --- Cargo.toml | 5 +++++ quinn-proto/Cargo.toml | 10 +++++----- quinn-udp/Cargo.toml | 10 +++++----- quinn/Cargo.toml | 10 +++++----- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 49a74d610..ac1126c7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,11 @@ resolver = "2" [workspace.package] rust-version = "1.70.0" +edition = "2021" +license = "MIT OR Apache-2.0" +repository = "https://github.com/quinn-rs/quinn" +keywords = ["quic"] +categories = ["network-programming", "asynchronous"] [workspace.dependencies] anyhow = "1.0.22" diff --git a/quinn-proto/Cargo.toml b/quinn-proto/Cargo.toml index d81123d4b..cac55ca83 100644 --- a/quinn-proto/Cargo.toml +++ b/quinn-proto/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "quinn-proto" version = "0.11.4" -edition = "2021" +edition.workspace = true rust-version.workspace = true -license = "MIT OR Apache-2.0" -repository = "https://github.com/quinn-rs/quinn" +license.workspace = true +repository.workspace = true description = "State machine for the QUIC transport protocol" -keywords = ["quic"] -categories = [ "network-programming", "asynchronous" ] +keywords.workspace = true +categories.workspace = true workspace = ".." [package.metadata.docs.rs] diff --git a/quinn-udp/Cargo.toml b/quinn-udp/Cargo.toml index 3159c96ed..419c48664 100644 --- a/quinn-udp/Cargo.toml +++ b/quinn-udp/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "quinn-udp" version = "0.5.4" -edition = "2021" +edition.workspace = true rust-version.workspace = true -license = "MIT OR Apache-2.0" -repository = "https://github.com/quinn-rs/quinn" +license.workspace = true +repository.workspace = true description = "UDP sockets with ECN information for the QUIC transport protocol" -keywords = ["quic"] -categories = ["network-programming", "asynchronous"] +keywords.workspace = true +categories.workspace = true workspace = ".." [package.metadata.docs.rs] diff --git a/quinn/Cargo.toml b/quinn/Cargo.toml index 8436d63be..93294a1f0 100644 --- a/quinn/Cargo.toml +++ b/quinn/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "quinn" version = "0.11.2" -license = "MIT OR Apache-2.0" -repository = "https://github.com/quinn-rs/quinn" +license.workspace = true +repository.workspace = true description = "Versatile QUIC transport protocol implementation" readme = "../README.md" -keywords = ["quic"] -categories = [ "network-programming", "asynchronous" ] +keywords.workspace = true +categories.workspace = true workspace = ".." -edition = "2021" +edition.workspace = true rust-version.workspace = true [package.metadata.docs.rs]