Cargo Features
[dependencies]
ctor = { version = "0.4.1", default-features = false, features = ["dtor", "proc_macro", "used_linker"] }
- default = dtor, proc_macro
-
These default features are set whenever
ctor
is added without
somewhere in the dependency tree.default-features = false Enables optional dtor
- dtor default
-
Enable the dtor re-export
Enables dtor
- proc_macro default
-
Enable the proc_macro
Enables ctor-proc-macro, proc_macro of optional dtor
- used_linker
-
For nightly users, used(linker) may be a better choice
Enables used_linker of optional dtor