Cargo Features
[dependencies]
ocaml = { version = "1.0.1", default-features = false, features = ["boxroot", "no-std", "derive", "link", "without-ocamlopt", "bigarray-ext", "no-caml-startup", "no-panic-hook", "ocaml5"] }
- default = boxroot, derive
-
These default features are set whenever
ocaml
is added without
somewhere in the dependency tree.default-features = false - boxroot default link? no-std?
-
This is required for ocaml-rs to work correctly, it is only optional so docs.rs can build
Enables bundle-boxroot of ocaml-boxroot-sys
- no-std = boxroot, no-panic-hook
- derive default = ocaml-derive
- link = boxroot
- without-ocamlopt
-
Enables without-ocamlopt of ocaml-sys
- bigarray-ext = ndarray
- no-caml-startup
- no-panic-hook no-std?
- ocaml5
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.