Cargo Features

[dependencies]
derive-ocaml = { version = "0.1.3", default-features = false, features = ["derive", "stubs"] }
default = derive

The derive feature is set by default whenever derive-ocaml is added without default-features = false somewhere in the dependency tree.

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

Enables full of syn ^1.0

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