master
Ondřej Hruška 4 years ago
parent 875ba10429
commit 1c015c3b83
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      src/main.rs
  2. 1
      yopa/src/lib.rs
  3. 4
      yopa/src/serde_map_as_list.rs

@ -112,7 +112,7 @@ fn main_test_recipes() -> anyhow::Result<()> {
println!("{}", as_s); println!("{}", as_s);
let back : InMemoryStorage = serde_json::from_str(&as_s)?; let _back : InMemoryStorage = serde_json::from_str(&as_s)?;
debug!("After unpack: {:#?}", store); debug!("After unpack: {:#?}", store);

@ -13,7 +13,6 @@ use id::next_id;
use insert::InsertObj; use insert::InsertObj;
use insert::InsertValue; use insert::InsertValue;
use model::ObjectModel; use model::ObjectModel;
use serde::ser::SerializeSeq;
pub mod model; pub mod model;
pub mod data; pub mod data;

@ -3,9 +3,9 @@
use std::collections::HashMap; use std::collections::HashMap;
use crate::ID; use crate::ID;
use serde::{Serialize, Deserializer, Deserialize, de}; use serde::{Serialize, Deserializer, Deserialize};
use serde::ser::SerializeSeq; use serde::ser::SerializeSeq;
use serde::de::{Visitor, SeqAccess, Unexpected}; use serde::de::{Visitor, SeqAccess};
use std::fmt; use std::fmt;
use crate::id::HaveId; use crate::id::HaveId;
use std::marker::PhantomData; use std::marker::PhantomData;

Loading…
Cancel
Save