forked from paholg/subenum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (30 loc) · 877 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "subenum"
version = "1.1.1"
edition = "2021"
authors = ["Paho Lurie-Gregg <[email protected]>"]
documentation = "https://docs.rs/subenum"
repository = "https://github.com/paholg/subenum"
readme = "README.md"
license = "MIT OR Apache-2.0"
description = """A proc-macro to create subsets of enums, that can be converted
to and from."""
categories = ["development-tools::procedural-macro-helpers"]
keywords = ["enum", "sub-enum", "no-std"]
[lib]
proc-macro = true
name = "subenum"
[[example]]
name = "require_docs"
[dev-dependencies]
derive_more = "0.99.17"
strum = { version = "0.24.1", features = ["derive"], default-features = false }
[dependencies]
quote = "1.0.23"
syn = { version = "1.0.107", features = ["full", "extra-traits"] }
proc-macro2 = "1.0.51"
heck = "0.4.1"
[features]
default = ["std", "error_trait", "strum/std"]
std = []
error_trait = []