ctor 0.1.4

__attribute__((constructor)) for Rust
Documentation

Procedural macro for defining global constrctor/destructor functions.

This provides module initialization/teardown functions for Rust (like __attribute__((constructor)) in C/C++) for Linux, OSX, and Windows via the #[ctor] and #[dtor] macros.

This library currently requires Rust > 1.31.0 at a minimum for the procedural macro support.