Releases: zshipko/ocaml-rs
Releases · zshipko/ocaml-rs
v1.1.0
v1.0.1
v1.0.0
What's Changed
- Refactor derive macros by @zshipko in #109
- Upgrade to Syn 2.0 by @Pat-Lafon in #135
- Updating github workflow by @Pat-Lafon in #142
- Support OCaml 5, update to boxroots 0.3 by @zshipko in #136
- Fix bug where
Vec<f32>
would be converted to a non-flat float array in ocaml by @gridbugs in #144 - Fortran layout bigarray view by @crackcomm in #145
- more cleanup/improvements by @zshipko in #154
- prepare 1.0.0 release by @zshipko in #155
New Contributors
- @fmckeogh made their first contribution in #98
- @Pat-Lafon made their first contribution in #135
- @gridbugs made their first contribution in #144
Full Changelog: v1.0.0-beta.4...v1.0.0
v1.0.0-beta.4
- Added
ocaml::function
macro for calling OCaml functions registered withCallback.register
- Fix spelling in book by @fmckeogh in #98
- Fixes no_std by @fmckeogh in #99
- Feature gate panic hook by @fmckeogh in #100
- Test
no_std
feature in CI by @fmckeogh in #101 - Implement
FromValue
forBox<T>
by @fmckeogh in #105
v1.0.0-beta.3
Slightly improved usability of Raw
type
v1.0.0-beta.2
- Added Set type
v1.0.0-beta.1
- Implement ToValue/FromValue for u32
v1.0.0-beta.0
- Removed
IntoValue
and addedToValue
because it now accepts a reference to self Custom
types now have to be wrapped in aPointer<T>
- Added
ocaml::import!
macro for calling OCaml functions from Rust - Added
ocaml::sig
proc-macro for generatingexternal
and type signatures - Added ocaml-build crate for generating OCaml code from
ocaml::sig
macros and linking dune
projects - Renamed
Value::call
toValue::call1
and rewroteValue::call
to take a variable number of
arguments - Added support for automatic conversion between OCaml
Result.t
and RustResult
- Renamed
Value::float
toValue::double
andValue::float_val
toValue::double_val
- Added
Value::alloc_double_array
,Value::double_field
andValue::store_double_field
- Improved support for float arrays in ocaml-sys
Custom
values have a new defaultfinalize
implementation that will drop the inner Rust value