127 lines
2.4 KiB
TOML
127 lines
2.4 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.65.0"
|
|
name = "derive_more-impl"
|
|
version = "1.0.0-beta.2"
|
|
authors = ["Jelte Fennema <github-tech@jeltef.nl>"]
|
|
include = [
|
|
"src/**/*.rs",
|
|
"doc/**/*.md",
|
|
"Cargo.toml",
|
|
"README.md",
|
|
"LICENSE",
|
|
]
|
|
description = "Internal implementation of `derive_more` crate"
|
|
documentation = "https://docs.rs/derive_more"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
repository = "https://github.com/JelteF/derive_more"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["full"]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies.convert_case]
|
|
version = "0.6"
|
|
optional = true
|
|
|
|
[dependencies.proc-macro2]
|
|
version = "1.0"
|
|
|
|
[dependencies.quote]
|
|
version = "1.0"
|
|
|
|
[dependencies.syn]
|
|
version = "2.0"
|
|
|
|
[dependencies.unicode-xid]
|
|
version = "0.2.2"
|
|
optional = true
|
|
|
|
[dev-dependencies.itertools]
|
|
version = "0.11.0"
|
|
|
|
[build-dependencies.rustc_version]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[features]
|
|
add = []
|
|
add_assign = []
|
|
as_mut = []
|
|
as_ref = []
|
|
constructor = []
|
|
debug = [
|
|
"syn/extra-traits",
|
|
"dep:unicode-xid",
|
|
]
|
|
default = []
|
|
deref = []
|
|
deref_mut = []
|
|
display = [
|
|
"syn/extra-traits",
|
|
"dep:unicode-xid",
|
|
]
|
|
error = ["syn/extra-traits"]
|
|
from = ["syn/extra-traits"]
|
|
from_str = []
|
|
full = [
|
|
"add",
|
|
"add_assign",
|
|
"as_mut",
|
|
"as_ref",
|
|
"constructor",
|
|
"debug",
|
|
"deref",
|
|
"deref_mut",
|
|
"display",
|
|
"error",
|
|
"from",
|
|
"from_str",
|
|
"index",
|
|
"index_mut",
|
|
"into",
|
|
"into_iterator",
|
|
"is_variant",
|
|
"mul",
|
|
"mul_assign",
|
|
"not",
|
|
"sum",
|
|
"try_into",
|
|
"try_unwrap",
|
|
"unwrap",
|
|
]
|
|
index = []
|
|
index_mut = []
|
|
into = ["syn/extra-traits"]
|
|
into_iterator = []
|
|
is_variant = ["dep:convert_case"]
|
|
mul = ["syn/extra-traits"]
|
|
mul_assign = ["syn/extra-traits"]
|
|
not = ["syn/extra-traits"]
|
|
sum = []
|
|
testing-helpers = ["dep:rustc_version"]
|
|
try_into = ["syn/extra-traits"]
|
|
try_unwrap = ["dep:convert_case"]
|
|
unwrap = ["dep:convert_case"]
|
|
|
|
[badges.github]
|
|
repository = "JelteF/derive_more"
|
|
workflow = "CI"
|