[dependencies.proc-macro2]
features = ["span-locations"]
version = "1.0.95"
[dependencies.quote]
version = "1.0.40"
[dependencies.syn]
features = ["extra-traits", "full"]
version = "2.0.101"
[dev-dependencies.trybuild]
features = ["diff"]
version = "1.0.110"
[features]
default = ["try_into", "introspection", "is_as"]
introspection = []
is_as = []
try_into = []
[lib]
name = "nodyn"
path = "src/lib.rs"
proc-macro = true
[lints.clippy]
as_underscore = "warn"
deref_by_slicing = "warn"
else_if_without_else = "warn"
empty_line_after_doc_comments = "warn"
equatable_if_let = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
map_err_ignore = "warn"
missing_const_for_fn = "warn"
mixed_read_write_in_expression = "warn"
mod_module_files = "warn"
needless_pass_by_ref_mut = "warn"
needless_raw_strings = "warn"
or_fun_call = "warn"
pedantic = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
string_lit_chars_any = "warn"
string_slice = "warn"
string_to_string = "warn"
unnecessary_self_imports = "warn"
use_self = "warn"
[lints.rust]
unsafe_code = "forbid"
[package]
authors = ["Frank Laranja <laranja@riseup.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns", "development-tools::procedural-macro-helpers"]
description = "Easy polymorphism with enums"
edition = "2024"
exclude = [".*"]
keywords = ["enum", "polymorphism", "delegation", "traits", "proc-macros"]
license = "MIT"
name = "nodyn"
readme = "README.md"
repository = "https://github.com/franklaranja/nodyn"
rust-version = "1.85.0"
version = "0.2.2"
[[test]]
name = "tests"
path = "tests/run.rs"