[package] name = "inline_tweak" version = "1.1.1" authors = ["Paris DOUADY "] 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"]