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