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 wheneverocaml
is added without
somewhere in the dependency tree.default-features = false - no-std = no-panic-hook
- derive default = ocaml-derive
- link
- 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.