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
[]
= "proc-macro2"
= "1.0.1" # remember to update html_root_url
= ["Alex Crichton <alex@alexcrichton.com>"]
= "MIT OR Apache-2.0"
= "README.md"
= ["macros"]
= "https://github.com/alexcrichton/proc-macro2"
= "https://github.com/alexcrichton/proc-macro2"
= "https://docs.rs/proc-macro2"
= "2018"
= """
A stable implementation of the upcoming new `proc_macro` API. Comes with an
option, off by default, to also reimplement itself in terms of the upstream
unstable API.
"""
[]
= "proc_macro2"
[]
= ["--cfg", "procmacro2_semver_exempt"]
= ["--cfg", "procmacro2_semver_exempt"]
[]
= "0.2"
[]
= "1.0"
[]
= []
= ["proc-macro"]
# Expose methods Span::start and Span::end which give the line/column location
# of a token.
= []
# This feature no longer means anything.
= []
[]
= { = "alexcrichton/proc-macro2" }
[]
# Our doc tests depend on quote which depends on proc-macro2. Without this line,
# the proc-macro2 dependency of quote would be the released version of
# proc-macro2. Quote would implement its traits for types from that proc-macro2,
# meaning impls would be missing when tested against types from the local
# proc-macro2.
#
# When publishing proc-macro2, Cargo will forbid publishing with a patch
# section. You need to delete this section and then publish with --allow-dirty.
# A PR https://github.com/rust-lang/cargo/pull/6535 proposes to make it no
# longer an error to publish with a patch section.
#
# Travis builds that are in progress at the time that you publish may spuriously
# fail. This is because they'll be building a local proc-macro2 which carries
# the second-most-recent version number, pulling in quote which resolves to a
# dependency on the just-published most recent version number. Thus the patch
# will fail to apply because the version numbers are different.
= { = "." }