For now, this is a raw C API that you can only use in unsafe. A good library needs a rustic api with traits and types.