# 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 = "2018" name = "protocol" version = "3.4.0" authors = ["Dylan McKay "] description = "Easy protocol definitions" documentation = "https://docs.rs/protocol" readme = "README.md" keywords = [ "protocol", "tcp", "udp", "connection", "encoding", ] license = "MIT" repository = "https://github.com/dylanmckay/protocol" [[example]] name = "basic" path = "../examples/basic.rs" [[example]] name = "compression" path = "../examples/compression.rs" [[example]] name = "custom_middleware" path = "../examples/custom_middleware.rs" [[example]] name = "packet_headers" path = "../examples/packet_headers.rs" [[example]] name = "udp" path = "../examples/udp.rs" [[example]] name = "get_enum_discriminant" path = "../examples/get_enum_discriminant.rs" [dependencies.byteorder] version = "1.4" [dependencies.error-chain] version = "0.12" [dependencies.flate2] version = "1.0" optional = true [dependencies.num-traits] version = "0.2" [dependencies.protocol-derive] version = "3.4.0" optional = true [dependencies.uuid] version = "0.8" optional = true [dev-dependencies.protocol-derive] version = "3.4.0" [features] default = [ "derive", "uuid", "high-level-trait", "middleware-compression", ] derive = ["protocol-derive"] high-level-trait = [] impl-box = [] middleware-compression = ["flate2"]