1 | # This file is part of ICU4X. For terms of use, please see the file |
2 | # called LICENSE at the top level of the ICU4X source tree |
3 | # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). |
4 | |
5 | [package] |
6 | name = "zerofrom" |
7 | description = "ZeroFrom trait for constructing" |
8 | version = "0.1.6" |
9 | authors = ["Manish Goregaokar <manishsmail@gmail.com>" ] |
10 | categories = ["data-structures" , "caching" , "no-std" ] |
11 | keywords = ["zerocopy" , "serialization" , "lifetime" , "borrow" ] |
12 | |
13 | edition.workspace = true |
14 | include.workspace = true |
15 | license.workspace = true |
16 | repository.workspace = true |
17 | rust-version.workspace = true |
18 | |
19 | [package.metadata.workspaces] |
20 | independent = true |
21 | |
22 | [package.metadata.docs.rs] |
23 | all-features = true |
24 | |
25 | [features] |
26 | alloc = [] |
27 | derive = ["dep:zerofrom-derive" ] |
28 | default = ["alloc" ] |
29 | |
30 | [dependencies] |
31 | zerofrom-derive = { workspace = true, optional = true} |
32 | |