Crate diplomat

Crate diplomat 

Source
Expand description

The Diplomat macro crate.

This crate provides the #[diplomat::bridge] proc macro, which can be used to generate FFI hooks for use with bindings generated by the diplomat-tool library.

Be sure to also include the diplomat_runtime crate when using the #[diplomat::bridge] macro.

Attribute Macrosยง

attr
bridge
Mark a module to be exposed through Diplomat-generated FFI.
config
demo
enum_convert
Generate From and Into implementations for a Diplomat enum
macro_rules
opaque
transparent_convert
Generate conversions from inner types for opaque Diplomat types with a single field