-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (40 loc) · 1.31 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "bitflag-attr"
authors = ["GrayJack <[email protected]>"]
version = "0.7.2"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A macro to generate bitflags structures from C-like enums"
keywords = ["bit", "bitmask", "bitflags", "flags"]
categories = ["no-std"]
repository = "https://github.com/GrayJack/bitflag-attr"
homepage = "https://github.com/GrayJack/bitflag-attr"
rust-version = "1.75.0"
exclude = ["/tests", "/.github"]
[dependencies]
bitflags-attr-macros = { version = "=0.7.0", path = "bitflags-attr-macros" }
[[test]]
name = "tests"
path = "tests/progress.rs"
[[test]]
name = "generated_api_tests"
path = "tests/api.rs"
[[example]]
name = "serde"
required-features = ["serde"]
[dev-dependencies]
trybuild = "1.0"
serde = "1.0"
[features]
default = []
# Just to satisfy
std = []
# Implement `Serialize` and `Deserialize` for the type with the bitflag attribute.
# This do not add `serde` in your dependency tree
serde = ["bitflags-attr-macros/serde"]
# Allows to use custom types as parameter for the bitflags macro
custom-types = ["bitflags-attr-macros/custom-types"]
# Generate as const functions some functions that take `&mut` (Only stable on rust 1.83.0: release date: 28 November, 2024)
const-mut-ref = ["bitflags-attr-macros/const-mut-ref"]
[workspace]
members = ["bitflags-attr-macros"]