# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "restless-data" version = "0.1.0" authors = ["Patrick M. Elsen "] description = "Helper types to encode and decode request and response bodies for the restless crate." homepage = "https://xfbs.gitlab.io/restless" license = "MIT" repository = "https://github.com/xfbs/restless" [package.metadata.docs.rs] features = ["full"] [dependencies.bincode] version = "1.3.3" optional = true [dependencies.bytes] version = "1.5.0" optional = true [dependencies.postcard] version = "1.0.8" features = ["alloc"] optional = true [dependencies.restless-core] version = "0.1.0" [dependencies.serde] version = "1.0.197" optional = true [dependencies.serde_json] version = "1.0.114" optional = true [dependencies.serde_yaml] version = "0.9.32" optional = true [features] bincode = [ "dep:bincode", "dep:serde", ] bytes = [ "dep:bytes", "restless-core/bytes", ] full = [ "bytes", "json", "postcard", "bincode", "yaml", ] json = [ "dep:serde_json", "dep:serde", ] postcard = [ "dep:postcard", "dep:serde", ] yaml = [ "dep:serde_yaml", "dep:serde", ]