summaryrefslogtreecommitdiff
path: root/crates/types/Cargo.toml
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2025-02-12 18:42:10 +0100
committerHenry Gressmann <mail@henrygressmann.de>2025-02-12 18:42:10 +0100
commit7e668f9e321c941f38395e47a29501dce0fc81a9 (patch)
tree95ff21b080140759b2e09d84b3664d6e21b782ba /crates/types/Cargo.toml
parente9782276a3a51f3b9ff4cdc6b56c447b1ab0d463 (diff)
feat: use postcard for new twasm format
Closes #32, #31 Co-authored-by: Mateusz <dragonn@op.pl> Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/types/Cargo.toml')
-rw-r--r--crates/types/Cargo.toml8
1 files changed, 5 insertions, 3 deletions
diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml
index 9d9f9af..fda8a86 100644
--- a/crates/types/Cargo.toml
+++ b/crates/types/Cargo.toml
@@ -10,10 +10,12 @@ rust-version.workspace=true
[dependencies]
log={workspace=true, optional=true}
-rkyv={version="0.8.1", optional=true, default-features=false, features=["alloc", "bytecheck"]}
+postcard={version="1.1", optional=true, default-features=false, features=["alloc"]}
+serde={version="1.0", optional=true, default-features=false, features=["alloc"]}
[features]
default=["std", "logging", "archive"]
-std=["rkyv?/std"]
-archive=["dep:rkyv"]
+
+std=["serde?/std"]
+archive=["dep:postcard", "dep:serde"]
logging=["dep:log"]