ctor 0.13.0

__attribute__((constructor)) for Rust
Documentation
1
2
3
4
5
6
7
8
use ctor::ctor;

/// Doc 1
#[ctor]
/// Doc 2
unsafe fn foo() {
    println!("foo");
}