github rbatis/rbatis v4.1.0

latest releases: v4.5.36, v4.5.34, v4.5.33...
20 months ago

v4.1.0

  • rbs crates removed enum type Ext. This change is mainly for json specification compatibility, so special types such asDateTime will be serialized to map types such as {"type":"DateTime","value":"2023-01-01 00:00:00.000001"}
  • rbs::Value call .to_string() will be return json string
  • rbdc::types change from pub struct Decimal(String) to pub struct Decimal { pub r#type: String, pub value: String, }
  • rbdc::types Display and Format change from Decimal("1.0000") to Display Value "1.0000" . source value is {"type":"Decimal","value":"1.0000"}
  • Macro to_value enhanced to support defining map types. for example:
let v = rbs::to_value! {};
let m = rbs::to_value! {
            1: 1,
            "2": 2,
        };
assert_eq!(r#"{1:1,"2":2}"#, m.to_string());

Don't miss a new rbatis release

NewReleases is sending notifications on new releases.