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]
6name = "zerofrom"
7description = "ZeroFrom trait for constructing"
8version = "0.1.6"
9authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
10categories = ["data-structures", "caching", "no-std"]
11keywords = ["zerocopy", "serialization", "lifetime", "borrow"]
12
13edition.workspace = true
14include.workspace = true
15license.workspace = true
16repository.workspace = true
17rust-version.workspace = true
18
19[package.metadata.workspaces]
20independent = true
21
22[package.metadata.docs.rs]
23all-features = true
24
25[features]
26alloc = []
27derive = ["dep:zerofrom-derive"]
28default = ["alloc"]
29
30[dependencies]
31zerofrom-derive = { workspace = true, optional = true}
32