huskies: merge 1027

This commit is contained in:
dave
2026-05-14 11:34:31 +00:00
parent 3f2ded13a8
commit 4fad283814
3 changed files with 6 additions and 5 deletions
@@ -159,7 +159,7 @@ pub fn derive_json_crdt(input: OgTokenStream) -> OgTokenStream {
}
fn view(&self) -> #crate_name::json_crdt::JsonValue {
let mut view_map = indexmap::IndexMap::new();
let mut view_map = #crate_name::indexmap::IndexMap::new();
#(view_map.insert(#ident_strings.to_string(), self.#ident_literals.view().into());)*
#crate_name::json_crdt::JsonValue::Object(view_map)
}
+5
View File
@@ -19,3 +19,8 @@ pub mod lww_crdt;
pub mod op;
extern crate self as bft_json_crdt;
/// Re-exported so that code generated by `#[derive(CrdtNode)]` can resolve
/// `indexmap` through this crate without requiring downstream crates to
/// declare it as a direct dependency.
pub use indexmap;