| 1 | [package] |
| 2 | name = "derive_more-impl" |
| 3 | version = "2.0.1" |
| 4 | edition = "2021" |
| 5 | rust-version = "1.75.0" |
| 6 | description = "Internal implementation of `derive_more` crate" |
| 7 | authors = ["Jelte Fennema <github-tech@jeltef.nl>" ] |
| 8 | license = "MIT" |
| 9 | repository = "https://github.com/JelteF/derive_more" |
| 10 | documentation = "https://docs.rs/derive_more" |
| 11 | |
| 12 | # explicitly no keywords or categories so it cannot be found easily |
| 13 | |
| 14 | include = [ |
| 15 | "src/**/*.rs" , |
| 16 | "doc/**/*.md" , |
| 17 | "Cargo.toml" , |
| 18 | "README.md" , |
| 19 | "LICENSE" , |
| 20 | ] |
| 21 | |
| 22 | [lib] |
| 23 | proc-macro = true |
| 24 | |
| 25 | [dependencies] |
| 26 | proc-macro2 = "1.0" |
| 27 | quote = "1.0" |
| 28 | syn = "2.0.45" |
| 29 | convert_case = { version = "0.7" , optional = true } |
| 30 | unicode-xid = { version = "0.2.2" , optional = true } |
| 31 | |
| 32 | [build-dependencies] |
| 33 | rustc_version = { version = "0.4" , optional = true } |
| 34 | |
| 35 | [dev-dependencies] |
| 36 | derive_more = { path = ".." , features = ["full" ] } |
| 37 | itertools = "0.14.0" |
| 38 | |
| 39 | [badges] |
| 40 | github = { repository = "JelteF/derive_more" , workflow = "CI" } |
| 41 | |
| 42 | [package.metadata.docs.rs] |
| 43 | features = ["full" ] |
| 44 | rustdoc-args = ["--cfg" , "docsrs" ] |
| 45 | |
| 46 | [lints.rust] |
| 47 | unexpected_cfgs = { level = "warn" , check-cfg = ["cfg(ci)" , "cfg(nightly)" ] } |
| 48 | |
| 49 | [features] |
| 50 | default = [] |
| 51 | |
| 52 | add = [] |
| 53 | add_assign = [] |
| 54 | as_ref = ["syn/extra-traits" , "syn/visit" ] |
| 55 | constructor = [] |
| 56 | debug = ["syn/extra-traits" , "dep:unicode-xid" ] |
| 57 | deref = [] |
| 58 | deref_mut = [] |
| 59 | display = ["syn/extra-traits" , "dep:unicode-xid" ] |
| 60 | error = ["syn/extra-traits" ] |
| 61 | from = ["syn/extra-traits" ] |
| 62 | from_str = [] |
| 63 | index = [] |
| 64 | index_mut = [] |
| 65 | into = ["syn/extra-traits" ] |
| 66 | into_iterator = [] |
| 67 | is_variant = ["dep:convert_case" ] |
| 68 | mul = ["syn/extra-traits" ] |
| 69 | mul_assign = ["syn/extra-traits" ] |
| 70 | not = ["syn/extra-traits" ] |
| 71 | sum = [] |
| 72 | try_from = [] |
| 73 | try_into = ["syn/extra-traits" ] |
| 74 | try_unwrap = ["dep:convert_case" ] |
| 75 | unwrap = ["dep:convert_case" ] |
| 76 | |
| 77 | full = [ |
| 78 | "add" , |
| 79 | "add_assign" , |
| 80 | "as_ref" , |
| 81 | "constructor" , |
| 82 | "debug" , |
| 83 | "deref" , |
| 84 | "deref_mut" , |
| 85 | "display" , |
| 86 | "error" , |
| 87 | "from" , |
| 88 | "from_str" , |
| 89 | "index" , |
| 90 | "index_mut" , |
| 91 | "into" , |
| 92 | "into_iterator" , |
| 93 | "is_variant" , |
| 94 | "mul" , |
| 95 | "mul_assign" , |
| 96 | "not" , |
| 97 | "sum" , |
| 98 | "try_from" , |
| 99 | "try_into" , |
| 100 | "try_unwrap" , |
| 101 | "unwrap" , |
| 102 | ] |
| 103 | |
| 104 | testing-helpers = ["dep:rustc_version" ] |
| 105 | |