| 1 | [package] |
| 2 | |
| 3 | name = "slab" |
| 4 | # When releasing to crates.io: |
| 5 | # - Update version number |
| 6 | # - README.md |
| 7 | # - Update CHANGELOG.md |
| 8 | # - Create git tag |
| 9 | version = "0.4.9" |
| 10 | authors = ["Carl Lerche <me@carllerche.com>" ] |
| 11 | edition = "2018" |
| 12 | rust-version = "1.31" |
| 13 | license = "MIT" |
| 14 | description = "Pre-allocated storage for a uniform data type" |
| 15 | repository = "https://github.com/tokio-rs/slab" |
| 16 | keywords = ["slab" , "allocator" , "no_std" ] |
| 17 | categories = ["memory-management" , "data-structures" , "no-std" ] |
| 18 | exclude = ["/.*" ] |
| 19 | |
| 20 | [features] |
| 21 | std = [] |
| 22 | default = ["std" ] |
| 23 | |
| 24 | [build-dependencies] |
| 25 | autocfg = "1" |
| 26 | |
| 27 | [dependencies] |
| 28 | serde = { version = "1.0.95" , optional = true, default-features = false, features = ["alloc" ] } |
| 29 | |
| 30 | [dev-dependencies] |
| 31 | rustversion = "1" |
| 32 | serde = { version = "1" , features = ["derive" ] } |
| 33 | serde_test = "1" |
| 34 | |