# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.56" name = "remain" version = "0.2.14" authors = ["David Tolnay "] build = false exclude = ["build.rs"] autobins = false autoexamples = false autotests = false autobenches = false description = "Compile-time checks that an enum, struct, or match is written in sorted order." documentation = "https://docs.rs/remain" readme = "README.md" categories = [ "development-tools", "no-std", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/remain" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "remain" path = "src/lib.rs" proc-macro = true [[test]] name = "stable" path = "tests/stable.rs" [[test]] name = "order" path = "tests/order.rs" [[test]] name = "compiletest" path = "tests/compiletest.rs" [[test]] name = "unstable" path = "tests/unstable.rs" [dependencies.proc-macro2] version = "1.0.74" [dependencies.quote] version = "1.0.35" [dependencies.syn] version = "2.0.46" features = [ "full", "visit-mut", ] [dev-dependencies.rustversion] version = "1.0.13" [dev-dependencies.trybuild] version = "1.0.81" features = ["diff"]