-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (36 loc) · 1.15 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
[package]
name="trait-variable-macros"
version="0.3.6"
edition="2021"
description="Make variable fields feasible in trait definition(the procedural macros part)."
repository="https://github.com/dbsxdbsx/trait_variable_macros"
license="MIT OR Apache-2.0"
documentation="https://docs.rs/trait_variable_macros"
categories=[
"development-tools::cargo-plugins",
"development-tools::build-utils",
"language-implementations",
]
readme="README.md"
exclude=["target/*", ".vscode/*", ".github/*", "tests/*", "justfile"]
keywords=["trait", "variable", "type", "macro", "code-generation"]
[lib]
proc-macro=true
[profile.release]
lto =true
codegen-units=1
strip ="debuginfo"
[dependencies]
quote ="^1.0"
proc-macro2="^1.0"
syn ={version="^1.0", features=["full"]}
# syn ={version="^2.0", features=["full"]}
paste="^1.0"
lazy_static="^1.4"
once_cell ="^1.8"
regex="^1.5"
[dev-dependencies]
trait_variable={git="https://github.com/dbsxdbsx/trait_variable.git", features=[]}
[[test]]
name="basic"
path="tests/basic.rs"