linkme 0.3.36

Safe cross-platform linker shenanigans
Documentation
# 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.71"
name = "linkme"
version = "0.3.36"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe cross-platform linker shenanigans"
documentation = "https://docs.rs/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/dtolnay/linkme"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--generate-link-to-definition",
    "--generate-macro-expansion",
    "--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",
]

[features]
used_linker = ["linkme-impl/used_linker"]

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

[[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.36"

[dev-dependencies.once_cell]
version = "1.16"

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

[dev-dependencies.trybuild]
version = "1.0.108"
features = ["diff"]