-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
46 lines (39 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
44
45
46
[package]
name = "inline_tweak"
version = "1.1.1"
authors = ["Paris DOUADY <[email protected]>"]
edition = "2021"
keywords = ["gamedev", "tweak", "inline", "config", "tool"]
description = "Tweak values directly from the source code"
license = "CC0-1.0"
readme = "README.md"
categories = [
"config",
"game-development",
"development-tools",
"rust-patterns",
]
repository = "https://github.com/Uriopass/inline_tweak"
[dependencies]
lazy_static = "1.4.0"
rustc-hash = "1.1.0"
# Derive
inline_tweak_derive = { version = "3.0.0", optional = true }
syn = { version = "2.0", optional = true, default-features = false, features = ["parsing", "full", "visit"]}
proc-macro2 = { version = "1.0", optional = true, default-features = false, features = ["span-locations"]}
[features]
default = []
release_tweak = []
derive = ["dep:syn", "dep:proc-macro2", "dep:inline_tweak_derive"]
[[example]]
name = "release"
required-features = ["release_tweak"]
[[example]]
name = "derive"
required-features = ["derive"]
[[example]]
name = "derive_edge_cases"
required-features = ["derive"]
[[example]]
name = "derive_release"
required-features = ["derive", "release_tweak"]