| 1 | [package] |
| 2 | name = "soketto" |
| 3 | version = "0.8.1" |
| 4 | authors = ["Parity Technologies <[email protected]>", "Jason Ozias <[email protected]>"] |
| 5 | description = "A websocket protocol implementation." |
| 6 | keywords = ["websocket", "codec", "async", "futures"] |
| 7 | categories = ["network-programming", "asynchronous", "web-programming::websocket"] |
| 8 | license = "Apache-2.0 OR MIT" |
| 9 | readme = "README.md" |
| 10 | repository = "https://github.com/paritytech/soketto" |
| 11 | edition = "2021" |
| 12 | rust-version = "1.71.1" |
| 13 | |
| 14 | [package.metadata.docs.rs] |
| 15 | all-features = true |
| 16 | |
| 17 | [features] |
| 18 | default = [] |
| 19 | deflate = ["flate2"] |
| 20 | |
| 21 | [dependencies] |
| 22 | base64 = { default-features = false, features = ["alloc"], version = "0.22" } |
| 23 | bytes = { default-features = false, version = "1.0" } |
| 24 | flate2 = { default-features = false, features = ["zlib"], optional = true, version = "1.0.13" } |
| 25 | futures = { default-features = false, features = ["bilock", "std", "unstable"], version = "0.3.1" } |
| 26 | httparse = { default-features = false, features = ["std"], version = "1.3.4" } |
| 27 | log = { default-features = false, version = "0.4.8" } |
| 28 | rand = { default-features = false, features = ["std", "std_rng"], version = "0.8" } |
| 29 | sha1 = { default-features = false, version = "0.10" } |
| 30 | http = { version = "1", optional = true } |
| 31 | |
| 32 | [dev-dependencies] |
| 33 | quickcheck = "1" |
| 34 | tokio = { version = "1", features = ["full"] } |
| 35 | tokio-util = { version = "0.7", features = ["compat"] } |
| 36 | tokio-stream = { version = "0.1", features = ["net"] } |
| 37 | http-body-util = "0.1" |
| 38 | hyper = { version = "1.2", features = ["full"] } |
| 39 | hyper-util = { version = "0.1", features = ["tokio"] } |
| 40 | env_logger = "0.11.1" |
| 41 | |
| 42 | [[example]] |
| 43 | name = "hyper_server" |
| 44 | required-features = ["http"] |