Skip to content

Commit

Permalink
Mhh
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Nov 4, 2024
1 parent 35e91d0 commit d1869ea
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 56 deletions.
78 changes: 78 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion merde_core/src/serialize/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn test_serialize() {

let mut s = ToySerializer::default();
let value: Value = Map::new().with("foo", Value::from(42)).into();
s.serialize(&value).unwrap();
s.serialize_sync(&value).unwrap();

assert_debug_snapshot!(s.events);
}
4 changes: 3 additions & 1 deletion merde_json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ merde_core = { version = "7.0.0", path = "../merde_core" }
num-bigint = { version = "0.4.6", optional = true }
num-traits = { version = "0.2.19", optional = true }
ryu = "1.0.18"
tokio = { version = "1", optional = true, features = ["io-util"] }

[features]
default = []
full = ["num-bigint"]
full = ["num-bigint", "tokio"]
num-bigint = ["dep:num-bigint", "dep:num-traits"]
tokio = ["dep:tokio"]

[dev-dependencies]
merde_loggingserializer = { path = "../merde_loggingserializer" }
Loading

0 comments on commit d1869ea

Please sign in to comment.