| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.51" |
| 15 |
name = "slab" |
| 16 |
version = "0.4.11" |
| 17 |
authors = ["Carl Lerche <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = ["/.*"] |
| 20 |
autolib = false |
| 21 |
autobins = false |
| 22 |
autoexamples = false |
| 23 |
autotests = false |
| 24 |
autobenches = false |
| 25 |
description = "Pre-allocated storage for a uniform data type" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"slab", |
| 29 |
"allocator", |
| 30 |
"no_std", |
| 31 |
] |
| 32 |
categories = [ |
| 33 |
"memory-management", |
| 34 |
"data-structures", |
| 35 |
"no-std", |
| 36 |
] |
| 37 |
license = "MIT" |
| 38 |
repository = "https://github.com/tokio-rs/slab" |
| 39 |
|
| 40 |
[features] |
| 41 |
default = ["std"] |
| 42 |
std = [] |
| 43 |
|
| 44 |
[lib] |
| 45 |
name = "slab" |
| 46 |
path = "src/lib.rs" |
| 47 |
|
| 48 |
[[test]] |
| 49 |
name = "serde" |
| 50 |
path = "tests/serde.rs" |
| 51 |
|
| 52 |
[[test]] |
| 53 |
name = "slab" |
| 54 |
path = "tests/slab.rs" |
| 55 |
|
| 56 |
[dependencies.serde] |
| 57 |
version = "1.0.95" |
| 58 |
features = ["alloc"] |
| 59 |
optional = true |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dev-dependencies.serde] |
| 63 |
version = "1" |
| 64 |
features = ["derive"] |
| 65 |
|
| 66 |
[dev-dependencies.serde_test] |
| 67 |
version = "1" |