diff options
author | Joel Galenson <jgalenson@google.com> | 2021-05-19 17:19:30 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-06-08 13:20:13 -0700 |
commit | c03c72f058cd85215e0767b80e89a854a87da8b2 (patch) | |
tree | 0dcab013f19a5df6b8d8fc42f5ec73b39ca3dc22 /Cargo.toml.orig | |
parent | b29dfafb7d4ca784aa22e716447d01e32ccf94e2 (diff) | |
download | slab-c03c72f058cd85215e0767b80e89a854a87da8b2.tar.gz |
Upgrade rust/crates/slab to 0.4.3
Test: make
Change-Id: I888226f7b220e80f6910a8ac79165c6eeb6b95c6
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig index 88da41f..7684a02 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -3,20 +3,30 @@ name = "slab" # When releasing to crates.io: # - Update version number -# - lib.rs: html_root_url. # - README.md # - Update CHANGELOG.md # - Update doc URL. # - Cargo.toml # - README.md # - Create git tag -version = "0.4.2" +version = "0.4.3" license = "MIT" authors = ["Carl Lerche <me@carllerche.com>"] description = "Pre-allocated storage for a uniform data type" -documentation = "https://docs.rs/slab/0.4.2/slab/" -homepage = "https://github.com/carllerche/slab" -repository = "https://github.com/carllerche/slab" +documentation = "https://docs.rs/slab/0.4.3/slab/" +homepage = "https://github.com/tokio-rs/slab" +repository = "https://github.com/tokio-rs/slab" readme = "README.md" -keywords = ["slab", "allocator"] -categories = ["memory-management", "data-structures"] +keywords = ["slab", "allocator", "no_std"] +categories = ["memory-management", "data-structures", "no-std"] + +[features] +std = [] +default = ["std"] + +[dependencies] +serde = { version = "1.0.95", optional = true, default-features = false, features = ["alloc"] } + +[dev-dependencies] +serde = { version = "1", features = ["derive"] } +serde_test = "1" |