Skip to content

ruststep 0.2.0

Choose a tag to compare

@termoshtt termoshtt released this 17 Feb 07:41
· 214 commits to master since this release
0a91591

0.2.0 release of ruststep, espr, ruststep-derive, and new crate espr-derive.

There are several bug fixes, new features including AP203 support, and breaking changes listed below.

Added

  • Re-expose serde and itertools from ruststep #199
  • Add the module created from AP203. #185
  • Implement AsRef and AsMut for XXAny. #180
  • Implement AsRef and AsMut in the case of multiple inheritance. #179
  • Implements AsRef, AsMut, Deref, DerefMut for subtypes. #174
  • Implements Serialize to ruststep::primitive::Logical. #170
  • Add derive trait From and Into to the tuple struct generated by simple type declare. #169
  • ast::Component trait for converting from String to AST #168
  • Add fields for tuple structs to Table. #151
  • Expose the module derive_more in ruststep. #144
  • espr_derive crate, espr_derive::inline_express! macro #158
  • Expose ruststep_derive::* macros in ruststep:: namespace #159
  • #[derive(Holder)] for tuple struct #146
  • Overview diagram written in asciiflow #137
  • Tables from DataSection #139
  • impl FromStr for Record and DataSection #140

Changed

  • Generate Holder struct for TYPE declaration with simple type. #186
  • Replace the methods xxx_iter of Tables with xxx_holder. #187
  • Cut out IntoOwned trait from Holder. #183
  • Translates TYPE declarations in EXPRESS to Rust tuple struct #144
  • Visitor struct and all fields in Holder struct become public #160
  • Drop unused derive_more, and dyn-clone crate dependencies #159
  • Remove ruststep_derive::as_holder_visitor! #147
  • Use Rust 2021 edition #128

Fixed

  • Incorrect GENERIC type handling #198
  • Subtype-Supertype dependency graph generation fixed #161
  • Supertype field is not included in subtypes type #166
  • Generate Into<XxxAny> correctly #176
  • Use raw identifier r# for reserved words. #172