# 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" name = "penum" version = "0.1.30" authors = ["Viktor Lott"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Make enum conform to a given pattern" readme = "README.md" keywords = [ "enum", "pattern", "shape", "macro", "proc-macro", ] categories = [ "development-tools::testing", "development-tools::procedural-macro-helpers", ] license = "MIT OR Apache-2.0" repository = "https://github.com/viktorlott/penum" [package.metadata.release] pre-release-commit-message = "chore: Release v{{version}}" pre-release-hook = ["./hook.sh"] [[package.metadata.release.pre-release-replacements]] file = "README.md" replace = 'penum = "{{version}}"' search = 'penum = "[a-z0-9\.-]+"' [lib] name = "penum" path = "src/lib.rs" doctest = false proc-macro = true [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "fmt" path = "examples/fmt.rs" [[example]] name = "into" path = "examples/into.rs" [[example]] name = "playexample" path = "examples/playexample.rs" [[example]] name = "tester" path = "examples/tester.rs" [[example]] name = "to_string" path = "examples/to_string.rs" [[example]] name = "userdispatch" path = "examples/userdispatch.rs" [[test]] name = "compiletest" path = "tests/compiletest.rs" [[test]] name = "test-concrete-and-variadic-catch" path = "tests/test-concrete-and-variadic-catch.rs" [[test]] name = "test-concrete-bound" path = "tests/test-concrete-bound.rs" [[test]] name = "test-dispatch-empty_trait_bindings" path = "tests/test-dispatch-empty_trait_bindings.rs" [[test]] name = "test-dispatch-trait" path = "tests/test-dispatch-trait.rs" [[test]] name = "test-dispatch-trait-custom" path = "tests/test-dispatch-trait-custom.rs" [[test]] name = "test-dispatch-trait-with-method-lifetime" path = "tests/test-dispatch-trait-with-method-lifetime.rs" [[test]] name = "test-dyn" path = "tests/test-dyn.rs" [[test]] name = "test-generic-enum" path = "tests/test-generic-enum.rs" [[test]] name = "test-impl" path = "tests/test-impl.rs" [[test]] name = "test-inference" path = "tests/test-inference.rs" [[test]] name = "test-into" path = "tests/test-into.rs" [[test]] name = "test-lifetime" path = "tests/test-lifetime.rs" [[test]] name = "test-nominal" path = "tests/test-nominal.rs" [[test]] name = "test-nullary" path = "tests/test-nullary.rs" [[test]] name = "test-penum-tag" path = "tests/test-penum-tag.rs" [[test]] name = "test-static-str" path = "tests/test-static-str.rs" [[test]] name = "test-struct" path = "tests/test-struct.rs" [[test]] name = "test-to-string" path = "tests/test-to-string.rs" [[test]] name = "test-traits" path = "tests/test-traits.rs" [[test]] name = "test-tuple" path = "tests/test-tuple.rs" [[test]] name = "test-unit" path = "tests/test-unit.rs" [[test]] name = "test-variadic" path = "tests/test-variadic.rs" [dependencies.cargo-release] version = "0.24.8" [dependencies.itertools] version = "0.11.0" [dependencies.proc-macro2] version = "1.0.51" [dependencies.quote] version = "1.0.23" [dependencies.syn] version = "1.0.109" features = [ "full", "visit", "visit-mut", "extra-traits", ] [dependencies.time] version = "0.3.35" [dependencies.trybuild] version = "1.0.79" [features] default = ["dispatch-std"] dispatch-custom = [] dispatch-std = []