[package] name = "serde_tran" version = "1.1.0" edition = "2021" authors = ["caojen "] description = "helper to serde your data into encoded bytes" license = "MIT" repository = "https://github.com/caojen/serde_tran" [features] # by default, we enable json and base64 default = ["serde_json", "base64"] # note: when json is enabled, please enable excactly one of [`base64`, `bs58`] # when no-hash-validate is enabled, the hash will not be applied to serialized data no-hash-validate = [] [[example]] name = "actix-web-server" [dependencies] bincode = { version = "1" } serde = { version = "1", features = ["derive"] } serde_json = { version = "1", optional = true } base64 = { version = "0.22", optional = true } bs58 = { version = "0.5", optional = true } derive_more = { version = "0.99" } flate2 = { version = "1" , optional = true } [dev-dependencies] rand = { version = "0.8.5" } anyhow = { version = "1" } tokio = { version = "1.38.0", features = ["full"] } actix-web = { version = "4.6.0", features = ["rustls"] }