Cargo Features
[dependencies]
derive-ocaml = { version = "0.1.3", default-features = false, features = ["derive", "stubs"] }
- default = derive
-
The
derive
feature is set by default wheneverderive-ocaml
is added without
somewhere in the dependency tree.default-features = false - derive default = synstructure
-
Implement custom derive for FromValue/ToValue ocaml traits
- stubs
-
Extperimental nightly only #[ocaml] proc_macro to generate all glue for a stub
Affects
derive-ocaml::ocaml_ffi
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- synstructure derive
-
Enables synstructure ^0.12