Files

58 lines
1.3 KiB
TOML

# 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"
rust-version = "1.56"
name = "downcast-rs"
version = "2.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Trait object downcasting support using only safe Rust. It supports type
parameters, associated types, and type constraints.
"""
readme = "README.md"
keywords = [
"downcast",
"any",
"trait",
"associated",
"no_std",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/marcianx/downcast-rs"
[features]
default = [
"std",
"sync",
]
std = []
sync = []
[lib]
name = "downcast_rs"
path = "src/lib.rs"
[[test]]
name = "import_via_macro_use"
path = "tests/import_via_macro_use.rs"
[[test]]
name = "use_via_namespace"
path = "tests/use_via_namespace.rs"