Plenty of breaking changes.
-
The
no_std
Cargo feature was removed;#[no_std]
has stabilised in Rust, and so themopa
crate is now always#[no_std]
. Note that theno_std_examples
Cargo feature is still around, because of shortcomings in Cargo itself. It’s not intended for client use, though; only for being able to run theno_std
andno_std_or_alloc
examples from this repository. -
mopa
trait no longer needs theno_std
feature in order not to depend on -
mopafy!
syntax changed for advanced cases, simplifying things a little.-
mopafy!(Trait)
is unchanged. -
mopafy!(Trait, core = name_of_libcore_crate)
→mopafy!(Trait, only core)
. (That’s the literal tokencore
, not the name of the libcore crate.) -
mopafy!(Trait, core = name_of_libcore_crate, alloc = name_of_liballoc_crate)
→use alloc::boxed::Box; mopafy!(Trait);
-
- Dead code warnings suppressed.
- Update for Rust
#[no_std]
compatibility.
-
Support beta/stable.
-
Traits being mopafied now need to extend
mopa::Any
, notstd::any::Any
. This is a breaking change. -
Users of
#[no_std]
will now need to enable theno_std
Cargo feature on this crate. -
#![feature(core)]
is no longer necessary.
Updates to cope with Rust language changes. This is ancient history, before Rust 1.0.0.
Initial release. Supports nightly channel only. (OK, so at this point there was only nightly.)