[package] name = "serde_flow" version = "1.1.1" edition = "2021" authors = ["Ivan Ermolaev "] license = "MIT" readme = "README.md" description = "Simplifying migration for serde and zero-copy entities" homepage = "https://github.com/versolid/serde-flow" repository = "https://github.com/versolid/serde-flow" documentation = "https://docs.rs/serde-flow" keywords = ["flow", "serde", "serialization", "migration"] categories = ["encoding", "network-programming"] [lib] name = "serde_flow" [dependencies] serde_flow_derive = { version = "1.1.1", path = "../serde_flow_derive" } futures-util = "0.3.30" tokio = { version = "1.36.0", optional = true } async-std = { version = "1.12.0", optional = true } crc = "3.0.1" serde = { version = "1.0.197", optional = true } thiserror = "1.0.57" # Encoders bincode = { version = "1.3.3", optional = true } serde_json = { version = "1.0.114", optional = true } rkyv = { version = "0.7.44", optional = true } [dev-dependencies] serde_flow_derive = { version = "1.0.0", path = "../serde_flow_derive" } tokio = { version = "1.36.0", features = ["full"] } tempfile = "3" [features] default = ["tokio-fs", "bincode"] tokio-fs = ["dep:tokio", "tokio/fs", "serde_flow_derive/tokio"] async-std-fs = ["dep:async-std", "serde_flow_derive/async-std"] bincode = ["serde", "dep:bincode"] json = ["serde", "dep:serde_json"] serde = ["dep:serde", "serde/derive"] zerocopy = ["dep:rkyv", "rkyv/validation"]