| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "cc-traits" |
| 15 |
version = "2.0.0" |
| 16 |
authors = ["Timothée Haudebourg <[email protected]>"] |
| 17 |
description = "Common collection traits" |
| 18 |
documentation = "https://docs.rs/cc-traits" |
| 19 |
readme = "README.md" |
| 20 |
keywords = [ |
| 21 |
"trait", |
| 22 |
"data-structure", |
| 23 |
"collection", |
| 24 |
"common", |
| 25 |
] |
| 26 |
categories = [ |
| 27 |
"data-structures", |
| 28 |
"no-std", |
| 29 |
"rust-patterns", |
| 30 |
] |
| 31 |
license = "MIT/Apache-2.0" |
| 32 |
repository = "https://github.com/timothee-haudebourg/cc-traits" |
| 33 |
|
| 34 |
[dependencies.serde_json] |
| 35 |
version = "^1.0.71" |
| 36 |
optional = true |
| 37 |
|
| 38 |
[dependencies.slab] |
| 39 |
version = "^0.4" |
| 40 |
optional = true |
| 41 |
|
| 42 |
[dependencies.smallvec] |
| 43 |
version = "^1.6" |
| 44 |
optional = true |
| 45 |
|
| 46 |
[features] |
| 47 |
all-impls = [ |
| 48 |
"slab", |
| 49 |
"smallvec", |
| 50 |
] |
| 51 |
alloc = [] |
| 52 |
default = [ |
| 53 |
"alloc", |
| 54 |
"std", |
| 55 |
] |
| 56 |
std = [] |
| •57 |
serde_json = [ |
| 58 |
"dep:serde_json", |
| 59 |
"alloc" |
| 60 |
] |