feat: default postcard 1.0

This commit is contained in:
Vincent Herlemont
2023-10-29 09:43:15 +01:00
parent 39466299ed
commit f07922cdb4
7 changed files with 44 additions and 5 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ native_model_macro = { version = "0.3.30", path = "native_model_macro" }
serde = { version = "1.0", features = ["derive"], optional = true }
bincode_1_3 = { package = "bincode", version = "1.3", optional = true }
bincode_2_rc = { package = "bincode", version = "2.0.0-rc.3", features = ["serde"], optional = true }
postcard_1_0 = { package = "postcard", version = "1.0", features = ["alloc"], optional = true }
[dev-dependencies]
serde_json = "1.0"
@@ -30,7 +31,7 @@ criterion = { version = "0.5.1" }
skeptic = "0.13"
[features]
default = ["serde", "bincode_1_3", "bincode_2_rc"]
default = ["serde", "bincode_1_3", "bincode_2_rc", "postcard_1_0"]
[[bench]]
name = "overhead"