# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "ocaml" version = "1.0.1" authors = ["Zach Shipko "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "OCaml bindings for Rust" documentation = "https://docs.rs/ocaml" readme = "README.md" keywords = [ "ocaml", "rust", "ffi", ] license = "ISC" repository = "https://github.com/zshipko/ocaml-rs" [package.metadata.docs.rs] features = [ "derive", "without-ocamlopt", "ocaml5", ] no-default-features = true [lib] name = "ocaml" path = "src/lib.rs" [[example]] name = "rust" path = "examples/rust.rs" required-features = ["link"] [dependencies.cstr_core] version = "0.2" optional = true [dependencies.ndarray] version = "^0.16.1" optional = true [dependencies.ocaml-boxroot-sys] version = "0.3.1" default-features = false [dependencies.ocaml-derive] version = "^1.0.0" optional = true [dependencies.ocaml-sys] version = ">=0.24" [dev-dependencies.serial_test] version = "3.0.0" [features] bigarray-ext = ["ndarray"] boxroot = ["ocaml-boxroot-sys/bundle-boxroot"] default = [ "derive", "boxroot", ] derive = ["ocaml-derive"] link = [ "ocaml-sys/link", "boxroot", ] no-caml-startup = [] no-panic-hook = [] no-std = [ "cstr_core/alloc", "no-panic-hook", "boxroot", ] ocaml5 = ["ocaml-sys/ocaml5"] without-ocamlopt = ["ocaml-sys/without-ocamlopt"]