75 lines
1.7 KiB
TOML
75 lines
1.7 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 = "2018"
|
||
|
|
rust-version = "1.60"
|
||
|
|
name = "dyn-clone"
|
||
|
|
version = "1.0.20"
|
||
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
||
|
|
build = false
|
||
|
|
autolib = false
|
||
|
|
autobins = false
|
||
|
|
autoexamples = false
|
||
|
|
autotests = false
|
||
|
|
autobenches = false
|
||
|
|
description = "Clone trait that is dyn-compatible"
|
||
|
|
documentation = "https://docs.rs/dyn-clone"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = [
|
||
|
|
"dyn",
|
||
|
|
"clone",
|
||
|
|
"trait-object",
|
||
|
|
"object-safe",
|
||
|
|
]
|
||
|
|
categories = [
|
||
|
|
"rust-patterns",
|
||
|
|
"no-std",
|
||
|
|
]
|
||
|
|
license = "MIT OR Apache-2.0"
|
||
|
|
repository = "https://github.com/dtolnay/dyn-clone"
|
||
|
|
|
||
|
|
[package.metadata.docs.rs]
|
||
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
||
|
|
rustdoc-args = [
|
||
|
|
"--generate-link-to-definition",
|
||
|
|
"--extern-html-root-url=core=https://doc.rust-lang.org",
|
||
|
|
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
|
||
|
|
"--extern-html-root-url=std=https://doc.rust-lang.org",
|
||
|
|
]
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "dyn_clone"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "readme"
|
||
|
|
path = "examples/readme.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "compiletest"
|
||
|
|
path = "tests/compiletest.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "macros"
|
||
|
|
path = "tests/macros.rs"
|
||
|
|
|
||
|
|
[[test]]
|
||
|
|
name = "trait"
|
||
|
|
path = "tests/trait.rs"
|
||
|
|
|
||
|
|
[dev-dependencies.rustversion]
|
||
|
|
version = "1.0"
|
||
|
|
|
||
|
|
[dev-dependencies.trybuild]
|
||
|
|
version = "1.0.66"
|
||
|
|
features = ["diff"]
|