[go: up one dir, main page]

ctor 0.1.22

__attribute__((constructor)) for Rust
Documentation
[package]
name = "ctor"
version = "0.1.22"
authors = ["Matt Mastracci <matthew@mastracci.com>"]
edition = "2018"
description = "__attribute__((constructor)) for Rust"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/mmastrac/rust-ctor"
readme = "../README.md"

[badges]
travis-ci = { repository = "mmastrac/rust-ctor", branch = "master" }

[dependencies]
quote = "1.0.9"

[dependencies.syn]
version = "1.0.73"
features = ["full", "parsing", "printing", "proc-macro"]
default-features = false

[dev-dependencies]
libc-print = "0.1.15"

[lib]
name = "ctor"
proc-macro = true

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