[go: up one dir, main page]

ctor 0.6.0

__attribute__((constructor)) for Rust
Documentation
[dependencies.ctor-proc-macro]
optional = true
version = "=0.0.7"

[dependencies.dtor]
default-features = false
optional = true
version = "0.1.0"

[dev-dependencies.libc-print]
version = "0.1.20"

[[example]]
name = "example"
path = "src/example.rs"

[features]
__no_warn_on_missing_unsafe = ["dtor?/__no_warn_on_missing_unsafe"]
default = ["dtor", "proc_macro", "__no_warn_on_missing_unsafe"]
dtor = ["dep:dtor"]
proc_macro = ["dep:ctor-proc-macro", "dtor?/proc_macro"]
used_linker = ["dtor?/used_linker"]

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

[package]
authors = ["Matt Mastracci <matthew@mastracci.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "__attribute__((constructor)) for Rust"
edition = "2021"
license = "Apache-2.0 OR MIT"
name = "ctor"
readme = "README.md"
repository = "https://github.com/mmastrac/rust-ctor"
version = "0.6.0"