[package] name = "clauser" description = "Library for parsing and deserializing Clausewitz files." authors = ["Ashley Rogers "] license = "MIT" readme = "README.md" repository = "https://github.com/azrogers/clauser" version = "0.1.0" edition = "2021" keywords = ["gamedev", "deserialization", "parsing"] categories = ["parser-implementations", "game-development"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] pad = "0.1.6" serde = { version = "1.0.203", features = ["derive", "std"], optional = true } serde_path_to_error = { version = "0.1.16", optional = true } clauser_macros = { version = "0.1.0", path = "./lib/macros", optional = true } static_assertions = "1.1.0" zerocopy = "0.7.34" zerocopy-derive = "0.7.34" [dev-dependencies] trybuild = "1.0.96" [workspace] members = ["lib/macros"] [features] default = ["serde", "macros"] serde = ["dep:serde", "dep:serde_path_to_error"] macros = ["serde", "dep:clauser_macros"]