[package] name = "derive_more_preview-impl" version = "0.1.0" # should be the same as main crate version edition = "2021" rust-version = "1.65.0" description = "Internal implementation of `derive_more` crate" authors = ["Jelte Fennema "] license = "MIT" repository = "https://github.com/dignifiedquire/derive_more" documentation = "https://docs.rs/derive_more" # explicitly no keywords or categories so it cannot be found easily include = [ "src/**/*.rs", "doc/**/*.md", "Cargo.toml", "README.md", "LICENSE", ] [lib] proc-macro = true [dependencies] proc-macro2 = "1.0" quote = "1.0" syn = "2.0" convert_case = { version = "0.6", optional = true } unicode-xid = { version = "0.2.2", optional = true } [build-dependencies] rustc_version = { version = "0.4", optional = true } [dev-dependencies] derive_more = { package = "derive_more_preview", path = "..", features = ["add", "debug", "error", "from_str", "not", "std", "try_into", "try_unwrap"] } itertools = "0.11.0" [badges] github = { repository = "JelteF/derive_more", workflow = "CI" } [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] [features] default = [] add_assign = [] add = [] as_mut = [] as_ref = [] constructor = [] debug = ["syn/extra-traits", "dep:unicode-xid"] deref = [] deref_mut = [] display = ["syn/extra-traits", "dep:unicode-xid"] error = ["syn/extra-traits"] from = ["syn/extra-traits"] from_str = [] index = [] index_mut = [] into = ["syn/extra-traits"] into_iterator = [] iterator = [] mul_assign = ["syn/extra-traits"] mul = ["syn/extra-traits"] not = ["syn/extra-traits"] sum = [] try_into = ["syn/extra-traits"] is_variant = ["dep:convert_case"] unwrap = ["dep:convert_case"] try_unwrap = ["dep:convert_case"] testing-helpers = ["dep:rustc_version"]