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 default-features = false somewhere in the dependency tree.

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

Enables alloc of cstr_core

derive default = ocaml-derive

Enables link of ocaml-sys

without-ocamlopt

Enables without-ocamlopt of ocaml-sys

bigarray-ext = ndarray
no-caml-startup
no-panic-hook no-std?
ocaml5

Enables ocaml5 of ocaml-sys

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.

ocaml-derive derive
cstr_core no-std?
ndarray bigarray-ext?