[package]
edition = "2024"
rust-version = "1.88"
name = "static-dispatch"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implement a trait for an enum, where all variants implement the trait"
documentation = "http://github.com/antonWetzel/static-dispatch"
readme = "readme.md"
license = "MIT"
repository = "http://github.com/antonWetzel/static-dispatch"
[lib]
name = "static_dispatch"
path = "src/lib.rs"
[[test]]
name = "async_trait"
path = "tests/async_trait.rs"
[[test]]
name = "both_generics"
path = "tests/both_generics.rs"
[[test]]
name = "const_generics"
path = "tests/const_generics.rs"
[[test]]
name = "enum_generics"
path = "tests/enum_generics.rs"
[[test]]
name = "explicit_self"
path = "tests/explicit_self.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "impl_arg"
path = "tests/impl_arg.rs"
[[test]]
name = "implicit_self"
path = "tests/implicit_self.rs"
[[test]]
name = "lifetime"
path = "tests/lifetime.rs"
[[test]]
name = "multiple_enums"
path = "tests/multiple_enums.rs"
[[test]]
name = "multiple_traits"
path = "tests/multiple_traits.rs"
[[test]]
name = "no_std"
path = "tests/no_std.rs"
[[test]]
name = "other_crate"
path = "tests/other_crate.rs"
[[test]]
name = "other_module"
path = "tests/other_module.rs"
[[test]]
name = "rename"
path = "tests/rename.rs"
[[test]]
name = "return_value"
path = "tests/return_value.rs"
[dependencies.macro-data]
version = "0.1"
[dependencies.static-dispatch-macros]
version = "0.3.0"
[dev-dependencies.pollster]
version = "0.4"
features = ["macro"]