ABI SINGLETION
This is a simple ABI singleton Trait helper crate. When you need a trait that only one implementation can exist, you can use this crate.
Example
A lib crate define a trait that only one implementation exist, you can use it with out <T> like code.
/// Only one kind of cat, so no need to known type with `<T>`.
A crate implements the trait and use lib funcs.
;
// There is only one black cat in the world.
Usage
See test_project in this repo for examples.
Limitations
Only C FFI func support, self fields are not supported.