diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 14:56:29 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 14:56:29 +0200 |
commit | 6c9286857ef8b314962b67f4a16a66e8c35531bc (patch) | |
tree | 9ced4485ec38b39f82cba258c06321a21c40000a /crates/bytes | |
parent | build(Cargo.toml): Add further lints (diff) | |
download | yt-6c9286857ef8b314962b67f4a16a66e8c35531bc.tar.gz yt-6c9286857ef8b314962b67f4a16a66e8c35531bc.zip |
refactor(treewide): Combine the separate crates in one workspace
Diffstat (limited to '')
-rw-r--r-- | crates/bytes/Cargo.toml | 24 | ||||
-rw-r--r-- | crates/bytes/src/lib.rs | 1 |
2 files changed, 17 insertions, 8 deletions
diff --git a/crates/bytes/Cargo.toml b/crates/bytes/Cargo.toml index 0dc9833..4439aa8 100644 --- a/crates/bytes/Cargo.toml +++ b/crates/bytes/Cargo.toml @@ -10,14 +10,24 @@ [package] name = "bytes" -version = "1.0.0" -edition = "2021" -license = "GPL-3.0-or-later" description = "Simple byte formatting utilities" +keywords = [] +categories = [] +version.workspace = true +edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true +publish = false [dependencies] -serde = { version = "1.0.210", optional = true } +serde.workspace = true -[features] -default = ["serde"] -serde = ["dep:serde"] +[dev-dependencies] + +[lints] +workspace = true + +[package.metadata.docs.rs] +all-features = true diff --git a/crates/bytes/src/lib.rs b/crates/bytes/src/lib.rs index 113e8d5..78d3c4e 100644 --- a/crates/bytes/src/lib.rs +++ b/crates/bytes/src/lib.rs @@ -26,7 +26,6 @@ const GB: u64 = 1000 * MB; const TB: u64 = 1000 * GB; pub mod error; -#[cfg(feature = "serde")] pub mod serde; #[derive(Clone, Copy)] |