[go: up one dir, main page]

ctor 0.1.9

__attribute__((constructor)) for Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

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

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

[[example]]
name = "example"
path = "src/example.rs"
[dependencies.quote]
version = "0.6.10"

[dependencies.syn]
version = "0.15.22"
features = ["full", "fold", "parsing", "printing", "proc-macro"]
default-features = false
[dev-dependencies.libc-print]
version = "0.1.7"
[badges.travis-ci]
branch = "master"
repository = "mmastrac/rust-ctor"