# 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.62" name = "px-linkme" version = "0.3.33" authors = [ "David Tolnay ", "gkgoat", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe cross-platform linker shenanigans" documentation = "https://docs.rs/px-linkme" readme = "README.md" keywords = ["linkage"] categories = [ "development-tools::build-utils", "development-tools::procedural-macro-helpers", "no-std", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://github.com/portal-co/linkme" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "px_linkme" path = "src/lib.rs" doc-scrape-examples = false [[test]] name = "compiletest" path = "tests/compiletest.rs" [[test]] name = "custom_linkme_path" path = "tests/custom_linkme_path.rs" [[test]] name = "distributed_slice" path = "tests/distributed_slice.rs" [[test]] name = "example" path = "tests/example.rs" [[test]] name = "fn_element" path = "tests/fn_element.rs" [[test]] name = "module_2015" path = "tests/module_2015.rs" edition = "2015" [[test]] name = "module_2021" path = "tests/module_2021.rs" [[test]] name = "win_status_access_violation" path = "tests/win_status_access_violation.rs" [[test]] name = "win_status_illegal_instruction" path = "tests/win_status_illegal_instruction.rs" [dependencies.linkme-impl] version = "0.3.33" package = "px-linkme-impl" [dev-dependencies.once_cell] version = "1.16" [dev-dependencies.rustversion] version = "1.0" [dev-dependencies.trybuild] version = "1.0.97" features = ["diff"] [features] used_linker = ["linkme-impl/used_linker"] [target.'cfg(target_family = "wasm")'.dependencies.once_cell] version = "1.20.2"