| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.61" |
| 15 |
name = "inherent" |
| 16 |
version = "1.0.13" |
| 17 |
authors = ["David Tolnay <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Make trait methods callable without the trait in scope" |
| 25 |
documentation = "https://docs.rs/inherent" |
| 26 |
readme = "README.md" |
| 27 |
categories = [ |
| 28 |
"rust-patterns", |
| 29 |
"no-std", |
| 30 |
"no-std::no-alloc", |
| 31 |
] |
| 32 |
license = "MIT OR Apache-2.0" |
| 33 |
repository = "https://github.com/dtolnay/inherent" |
| 34 |
|
| 35 |
[package.metadata.docs.rs] |
| 36 |
targets = ["x86_64-unknown-linux-gnu"] |
| 37 |
rustdoc-args = [ |
| 38 |
"--generate-link-to-definition", |
| 39 |
"--extern-html-root-url=core=https://doc.rust-lang.org", |
| 40 |
"--extern-html-root-url=alloc=https://doc.rust-lang.org", |
| 41 |
"--extern-html-root-url=std=https://doc.rust-lang.org", |
| 42 |
"--extern-html-root-url=proc_macro=https://doc.rust-lang.org", |
| 43 |
] |
| 44 |
|
| 45 |
[lib] |
| 46 |
name = "inherent" |
| 47 |
path = "src/lib.rs" |
| 48 |
proc-macro = true |
| 49 |
|
| 50 |
[[test]] |
| 51 |
name = "compiletest" |
| 52 |
path = "tests/compiletest.rs" |
| 53 |
|
| 54 |
[[test]] |
| 55 |
name = "test" |
| 56 |
path = "tests/test.rs" |
| 57 |
|
| 58 |
[dependencies.proc-macro2] |
| 59 |
version = "1.0.74" |
| 60 |
|
| 61 |
[dependencies.quote] |
| 62 |
version = "1.0.35" |
| 63 |
|
| 64 |
[dependencies.syn] |
| 65 |
version = "2.0.46" |
| 66 |
features = ["full"] |
| 67 |
|
| 68 |
[dev-dependencies.rustversion] |
| 69 |
version = "1.0.13" |
| 70 |
|
| 71 |
[dev-dependencies.trybuild] |
| 72 |
version = "1.0.108" |
| 73 |
features = ["diff"] |