Releases: ubolonton/emacs-module-rs
Releases · ubolonton/emacs-module-rs
0.12.3
0.12.2
0.12.1
0.12.0
- Added
Env::make_vectorandEnv::vectorfunctions. - Added a default implementation for
Transfer::type_name. This raised the minimum supported Rust version to 1.38 (forstd::any::type_name()). - Added function to copy a Lisp string's content to a buffer
Value::copy_string_contents. - Deprecated
unwrap_or_propagate, and marked it asunsafe.
0.11.0
- Made
env.calla lot more flexible. Also addedvalue.call. - Added
rust-wrong-type-user-ptrtowrong-type-argumentclassification. - Deprecated
emacs::module_init!andemacs::export_functions!. - Replaced
IntoLispimplementation forAsRef<str>with separate implementations for&strand&String.
0.10.3
0.10.2
0.10.1
- Made
Vector::getgeneric by return type. - Added
FromLispandIntoLispimplementations for most integer types, and an optional featurelossy-integer-conversionto control their behavior. This allows them to be used in#[defun]signatures. - Made
Env::messagetakeAsRef<str>, not just a&str.
0.10.0
Various ergonomics improvements
- Added
Vectortype to represent Lisp's vectors. - Allowed
RcandArcto be embedded inuser-ptrby marking them asTransfer. - Removed
libcdependency. - Removed
Transfer::finalizer. - Deprecated
env.is_not_nil(value)in favor ofvalue.is_not_nil(). - Deprecated
env.eq(value1, value2)in favor ofvalue1.eq(value2). - Improved Lisp-to-Rust string conversion's performance by making utf-8 validation optional, behind a feature,
utf-8-validation. - Improved Rust-to-Lisp string conversion's performance by not creating a temporary
CString. - Fixed a safety bug in which short-lived references were allowed to be embedded in
user-ptr.