[package]
edition = "2021"
name = "dtor"
version = "0.3.0"
authors = ["Matt Mastracci <matthew@mastracci.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "__attribute__((destructor)) for Rust"
readme = "README.md"
categories = ["no-std"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/mmastrac/rust-ctor"
[features]
__no_warn_on_missing_unsafe = []
default = [
"std",
"proc_macro",
"__no_warn_on_missing_unsafe",
]
proc_macro = ["dep:dtor-proc-macro"]
std = []
used_linker = []
[lib]
name = "dtor"
path = "src/lib.rs"
[dependencies.dtor-proc-macro]
version = "=0.0.6"
optional = true
[dev-dependencies.libc-print]
version = "0.1.20"