# 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 = "dyn-dyn" version = "0.2.0" authors = ["Benjamin Thomas "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Flexible trait object downcasting using ptr_metadata" readme = "README.md" keywords = [ "cast", "downcast", "trait", ] categories = [ "no-std", "rust-patterns", ] license = "MIT OR Apache-2.0" repository = "https://github.com/aviansie-ben/dyn-dyn" [package.metadata.docs.rs] all-features = true [lib] name = "dyn_dyn" path = "src/lib.rs" [[test]] name = "basics" path = "tests/basics.rs" [[test]] name = "dst_struct" path = "tests/dst_struct.rs" [[test]] name = "fat" path = "tests/fat.rs" [[test]] name = "generics" path = "tests/generics.rs" [[test]] name = "macro_hygiene" path = "tests/macro_hygiene.rs" [dependencies.cfg-if] version = "1.0" [dependencies.dyn-dyn-macros] version = "0.2.0" [dependencies.stable_deref_trait] version = "1.2.0" default-features = false [features] alloc = ["stable_deref_trait/alloc"] default = ["std"] dynamic-names = [] std = [ "alloc", "stable_deref_trait/std", ]