Cargo Features

[dependencies]
ocaml = { version = "1.0.0-beta.5", default-features = false, features = ["no-std", "derive", "link", "without-ocamlopt", "caml-state", "bigarray-ext", "no-caml-startup", "no-panic-hook"] }
default = derive

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

no-std = no-panic-hook

Enables alloc of cstr_core

derive default = ocaml-derive

Enables link of ocaml-sys

without-ocamlopt

Enables without-ocamlopt of ocaml-boxroot-sys ^0.2, ocaml-interop ^0.8.8, and ocaml-sys

caml-state

Enables caml-state of ocaml-sys

bigarray-ext = ndarray
no-caml-startup

Enables no-caml-startup of ocaml-interop ^0.8.8

no-panic-hook no-std?

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?