about summary refs log tree commit diff stats
path: root/crates/bytes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crates/bytes/Cargo.toml24
-rw-r--r--crates/bytes/src/lib.rs1
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)]