[package] name = "target-spec" version = "3.2.2" description = "Evaluate Cargo.toml target specifications" documentation = "https://docs.rs/target-spec" repository = "https://github.com/guppy-rs/guppy" authors = ["Jack Moffitt ", "Rain "] license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["cargo", "targets", "platforms", "os", "cpu"] categories = ["development-tools", "parser-implementations"] edition = "2021" rust-version.workspace = true [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg=doc_cfg"] [badges] maintenance = { status = "actively-developed" } [dependencies] cfg-expr = { version = "0.17.0", features = ["targets"] } proptest = { version = "1.5.0", optional = true } serde = { version = "1.0.204", optional = true, features = ["derive"] } serde_json = { version = "1.0.117", optional = true } target-lexicon = { version = "0.12.16", features = ["std"] } unicode-ident = "1.0.12" guppy-workspace-hack.workspace = true [dev-dependencies] rustc_version = "0.4.0" test-case = "3.3.1" toml = "0.5.11" [features] custom = ["dep:serde", "dep:serde_json"] proptest1 = ["proptest"] summaries = ["dep:serde"] [lints] workspace = true