[package]
edition = "2021"
name = "link-section"
version = "0.12.0"
authors = ["Matt Mastracci <matthew@mastracci.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level link-section macro support for Rust"
readme = "README.md"
categories = ["no-std"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/mmastrac/rust-ctor"
[features]
default = [
"proc_macro",
"std",
]
proc_macro = ["dep:linktime-proc-macro"]
std = []
used_linker = []
[lib]
name = "link_section"
path = "src/lib.rs"
[[example]]
name = "link-section-example"
path = "src/example.rs"
[dependencies.linktime-proc-macro]
version = "0.1.0"
features = ["link_section"]
optional = true
[dev-dependencies]