[workspace]
members = [".", "tree-type-proc-macro"]
[workspace.package]
version = "0.4.3"
edition = "2024"
[workspace.dependencies]
syn = { version = "2.0", features = ["full", "extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
tree-type-proc-macro = { version = "0.4.3", path = "tree-type-proc-macro", default-features = false }
serde = { version = "1.0", features = ["derive"] }
fs-err = "3.1"
path_facts = "0.2.1"
walkdir = "2.5"
regex = "1.10"
tempfile = "3.0"
trybuild = "1.0"
assert2 = "0.3"
serde_json = "1.0"
cargo-readme = "3.2"
[workspace.metadata.cargo-machete]
ignored = [
"regex",
"fs-err",
"path_facts",
"serde",
"walkdir"
]
[package]
name = "tree-type"
version = "0.4.3"
edition.workspace = true
description = "Rust macros for creating type-safe filesystem tree structures"
license = "MIT"
repository = "https://codeberg.org/kemitix/tree-type"
documentation = "https://docs.rs/tree-type"
[package.metadata.cargo-machete]
ignored = [
"regex",
"fs-err",
"path_facts",
"serde",
"walkdir"
]
[features]
enhanced-errors = ["dep:fs-err", "dep:path_facts", "tree-type-proc-macro/enhanced-errors"]
serde = ["dep:serde", "tree-type-proc-macro/serde"]
walk = ["dep:walkdir", "tree-type-proc-macro/walk"]
pattern-validation = ["dep:regex", "tree-type-proc-macro/pattern-validation"]
codegen-v2 = ["tree-type-proc-macro/codegen-v2"]
[dependencies]
tree-type-proc-macro = { workspace = true }
serde = { workspace = true, optional = true }
fs-err = { workspace = true, optional = true }
path_facts = { workspace = true, optional = true }
walkdir = { workspace = true, optional = true }
regex = { workspace = true, optional = true }
[dev-dependencies]
tempfile = { workspace = true }
assert2 = { workspace = true }
trybuild = { workspace = true }
serde_json = { workspace = true }
cargo-readme = { workspace = true }