1[package]
2name = "ctor"
3version = "0.2.7"
4authors = ["Matt Mastracci <matthew@mastracci.com>"]
5edition = "2018"
6description = "__attribute__((constructor)) for Rust"
7license = "Apache-2.0 OR MIT"
8repository = "https://github.com/mmastrac/rust-ctor"
9readme = "../README.md"
10
11[badges]
12travis-ci = { repository = "mmastrac/rust-ctor", branch = "master" }
13
14[features]
15# For nightly users, used(linker) may be a better choice
16used_linker = []
17
18[dependencies]
19quote = "1.0.20"
20
21[dependencies.syn]
22version = "2.0.12"
23features = ["full", "parsing", "printing", "proc-macro"]
24default-features = false
25
26[dev-dependencies]
27libc-print = "0.1.20"
28
29[lib]
30name = "ctor"
31proc-macro = true
32
33[[example]]
34name = "example"
35path = "src/example.rs"
36