| 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 = "zerovec-derive" |
| 7 |
description = "Custom derive for the zerovec crate" |
| 8 |
version = "0.11.2" |
| 9 |
authors = ["Manish Goregaokar <[email protected]>"] |
| 10 |
categories = ["rust-patterns", "memory-management", "caching", "no-std", "data-structures"] |
| 11 |
keywords = ["zerocopy", "serialization", "zero-copy", "serde"] |
| 12 |
|
| 13 |
edition.workspace = true |
| 14 |
license.workspace = true |
| 15 |
repository.workspace = true |
| 16 |
|
| 17 |
[package.metadata.workspaces] |
| 18 |
independent = true |
| 19 |
|
| 20 |
[lib] |
| 21 |
proc-macro = true |
| 22 |
path = "src/lib.rs" |
| 23 |
|
| 24 |
[dependencies] |
| 25 |
proc-macro2 = { workspace = true } |
| 26 |
quote = { workspace = true } |
| 27 |
syn = { workspace = true, features = ["extra-traits"]} |
| 28 |
|
| 29 |
[dev-dependencies] |
| 30 |
zerovec = { path = "..", features = ["serde", "derive"] } |
| 31 |
serde = { workspace = true, features = ["derive"] } |
| 32 |
zerofrom = { path = "../../../utils/zerofrom" } |
| 33 |
bincode = { workspace = true } |
| 34 |
serde_json = { workspace = true } |
| 35 |
|
| 36 |
[[example]] |
| 37 |
name = "derives" |
| 38 |
harness = false |
| 39 |
test = true |
| 40 |
|
| 41 |
[[example]] |
| 42 |
name = "make" |
| 43 |
harness = false |
| 44 |
test = true |
| 45 |
|
| 46 |
[[example]] |
| 47 |
name = "make_var" |
| 48 |
harness = false |
| 49 |
test = true |