File: Cargo.toml

package info (click to toggle)
chromium 139.0.7258.154-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,129,716 kB
  • sloc: cpp: 35,100,894; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,921; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,152; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (104 lines) | stat: -rw-r--r-- 2,425 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# 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.56"
name = "proc-macro2"
version = "1.0.95"
authors = [
    "David Tolnay <dtolnay@gmail.com>",
    "Alex Crichton <alex@alexcrichton.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case."
documentation = "https://docs.rs/proc-macro2"
readme = "README.md"
keywords = [
    "macros",
    "syn",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/proc-macro2"

[package.metadata.docs.rs]
rustc-args = ["--cfg=procmacro2_semver_exempt"]
rustdoc-args = [
    "--cfg=procmacro2_semver_exempt",
    "--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",
    "--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
]
targets = ["x86_64-unknown-linux-gnu"]

[package.metadata.playground]
features = ["span-locations"]

[features]
default = ["proc-macro"]
nightly = []
proc-macro = []
span-locations = []

[lib]
name = "proc_macro2"
path = "src/lib.rs"

[[test]]
name = "comments"
path = "tests/comments.rs"

[[test]]
name = "features"
path = "tests/features.rs"

[[test]]
name = "marker"
path = "tests/marker.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[[test]]
name = "test_fmt"
path = "tests/test_fmt.rs"

[[test]]
name = "test_size"
path = "tests/test_size.rs"

[dependencies.unicode-ident]
version = "1.0"

[dev-dependencies.flate2]
version = "1.0"

[dev-dependencies.quote]
version = "1.0"
default-features = false

[dev-dependencies.rayon]
version = "1.0"

[dev-dependencies.rustversion]
version = "1"

[dev-dependencies.tar]
version = "0.4"