Skip to content

Releases: zshipko/ocaml-rs

v1.0.1

30 Aug 04:11
Compare
Choose a tag to compare
  • Disable ocaml-boxroot-sys/bundle-boxroot for docs.rs

v1.0.0

30 Aug 03:27
b9e1918
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0-beta.4...v1.0.0

v1.0.0-beta.4

24 Oct 20:13
Compare
Choose a tag to compare

v1.0.0-beta.3

07 Aug 16:34
Compare
Choose a tag to compare

Slightly improved usability of Raw type

v1.0.0-beta.2

07 Aug 16:33
Compare
Choose a tag to compare
  • Added Set type

v1.0.0-beta.1

29 Jul 04:55
Compare
Choose a tag to compare
  • Implement ToValue/FromValue for u32

v1.0.0-beta.0

06 Jun 16:18
Compare
Choose a tag to compare
  • Removed IntoValue and added ToValue because it now accepts a reference to self
  • Custom types now have to be wrapped in a Pointer<T>
  • Added ocaml::import! macro for calling OCaml functions from Rust
  • Added ocaml::sig proc-macro for generating external and type signatures
  • Added ocaml-build crate for generating OCaml code from ocaml::sig macros and linking dune
    projects
  • Renamed Value::call to Value::call1 and rewrote Value::call to take a variable number of
    arguments
  • Added support for automatic conversion between OCaml Result.t and Rust Result
  • Renamed Value::float to Value::double and Value::float_val to Value::double_val
  • Added Value::alloc_double_array, Value::double_field and Value::store_double_field
  • Improved support for float arrays in ocaml-sys
  • Custom values have a new default finalize implementation that will drop the inner Rust value

v0.22.4

19 Apr 14:28
e55602a
Compare
Choose a tag to compare
  • Added Value::exn_to_string to convert OCaml exception values to their string representation
  • Added gc_minor, gc_major, gc_full_major and gc_compact functions for interacting with
    the OCaml garbage collector

v0.22.3

23 Mar 18:53
Compare
Choose a tag to compare
  • Update ocaml-interop
  • Use cty in ocaml-sys instead of chlorine

v0.22.2

11 Oct 18:01
Compare
Choose a tag to compare
  • Enables FromValue/ToValue for [u8] arrays