• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.62"
15name = "linkme"
16version = "0.3.31"
17authors = ["David Tolnay <dtolnay@gmail.com>"]
18build = false
19autolib = false
20autobins = false
21autoexamples = false
22autotests = false
23autobenches = false
24description = "Safe cross-platform linker shenanigans"
25documentation = "https://docs.rs/linkme"
26readme = "README.md"
27keywords = ["linkage"]
28categories = [
29    "development-tools::build-utils",
30    "development-tools::procedural-macro-helpers",
31    "no-std",
32    "no-std::no-alloc",
33]
34license = "MIT OR Apache-2.0"
35repository = "https://github.com/dtolnay/linkme"
36
37[package.metadata.docs.rs]
38rustdoc-args = ["--generate-link-to-definition"]
39targets = ["x86_64-unknown-linux-gnu"]
40
41[lib]
42name = "linkme"
43path = "src/lib.rs"
44doc-scrape-examples = false
45
46[[test]]
47name = "compiletest"
48path = "tests/compiletest.rs"
49
50[[test]]
51name = "custom_linkme_path"
52path = "tests/custom_linkme_path.rs"
53
54[[test]]
55name = "distributed_slice"
56path = "tests/distributed_slice.rs"
57
58[[test]]
59name = "example"
60path = "tests/example.rs"
61
62[[test]]
63name = "fn_element"
64path = "tests/fn_element.rs"
65
66[[test]]
67name = "module_2015"
68path = "tests/module_2015.rs"
69edition = "2015"
70
71[[test]]
72name = "module_2021"
73path = "tests/module_2021.rs"
74
75[[test]]
76name = "win_status_access_violation"
77path = "tests/win_status_access_violation.rs"
78
79[[test]]
80name = "win_status_illegal_instruction"
81path = "tests/win_status_illegal_instruction.rs"
82
83[dependencies.linkme-impl]
84version = "=0.3.31"
85
86[dev-dependencies.once_cell]
87version = "1.16"
88
89[dev-dependencies.rustversion]
90version = "1.0"
91
92[dev-dependencies.trybuild]
93version = "1.0.97"
94features = ["diff"]
95
96[features]
97used_linker = ["linkme-impl/used_linker"]
98