dyn_shim 0.2.0

Generate dyn-compatible shim traits
Documentation
# 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 = "2024"
name = "dyn_shim"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate dyn-compatible shim traits"
documentation = "https://docs.rs/dyn_shim"
readme = "README.md"
keywords = [
    "dyn-compatible",
    "dyn-safe",
    "trait",
    "proc-macro",
    "macro",
]
categories = ["rust-patterns"]
license = "MIT"
repository = "https://github.com/nixpulvis/dyn_shim"

[lib]
name = "dyn_shim"
path = "src/lib.rs"
proc-macro = true

[[example]]
name = "broadcast"
path = "examples/broadcast.rs"

[[example]]
name = "clone"
path = "examples/clone.rs"

[[example]]
name = "hash"
path = "examples/hash.rs"

[[example]]
name = "migrate_dyn_clone"
path = "examples/migrate_dyn_clone.rs"

[[example]]
name = "migrate_dyn_hash"
path = "examples/migrate_dyn_hash.rs"

[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"

[[test]]
name = "it"
path = "tests/it.rs"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit",
]

[dev-dependencies.trybuild]
version = "1.0"