ws_stream_tungstenite 0.14.0

Provide AsyncRead/AsyncWrite over Tungstenite WebSockets
Documentation
package:

  # When releasing to crates.io:
  #
  # - last check for all TODO, FIXME, expect, unwrap.
  # - recheck log statements (informative, none left that were just for development, ...)
  # - `cargo +nightly doc` and re-read and final polish of documentation.
  #
  # - Update CHANGELOG.md.
  # - Update version numbers in Cargo.yml, Cargo.toml, install section of readme.
  #
  # - `touch **/*.rs && cargo clippy --tests --examples --benches --all-features`
  # - `cargo update`
  # - `cargo outdated --root-deps-only`
  # - `cargo +nightly udeps --all-targets --all-features`
  # - `cargo audit`
  # - `cargo crev crate verify --show-all --recursive` and review.
  # - 'cargo test --all-targets --all-features'
  #
  # - push dev and verify CI result
  # - `cargo test` on dependent crates
  #
  # - cargo publish
  # - `git checkout master && git merge dev --no-ff`
  # - `git tag x.x.x` with version number.
  # - `git push && git push --tags`
  #
  version       : 0.14.0
  name          : ws_stream_tungstenite
  edition       : '2021'
  authors       : [ Naja Melan <najamelan@autistici.org> ]
  description   : Provide AsyncRead/AsyncWrite over Tungstenite WebSockets
  license       : Unlicense
  homepage      : https://github.com/najamelan/ws_stream_tungstenite
  repository    : https://github.com/najamelan/ws_stream_tungstenite
  documentation : https://docs.rs/ws_stream_tungstenite
  readme        : README.md
  keywords      : [ websocket, tokio, stream, async, futures ]
  categories    : [ asynchronous, network-programming ]
  exclude       : [ tests, examples, ci, .travis.yml, TODO.md, CONTRIBUTING.md, ARCHITECTURE.md ]

  metadata:
    docs:
      rs:
        all-features: true
        targets     : []


badges:

  maintenance : { status     : actively-developed              }
  travis-ci   : { repository : najamelan/ws_stream_tungstenite }


features:

  default: []

  # Implement AsyncRead/AsyncWrite from tokio
  #
  tokio_io: [ tokio, async_io_stream/tokio_io ]


dependencies:

  # public deps. Bump major version if you change their version number here.
  #
  futures-core      : { version: ^0.3 , default-features: false                 }
  futures-sink      : { version: ^0.3 , default-features: false                 }
  futures-io        : { version: ^0.3 , default-features: false                 }
  futures-util      : { version: ^0.3 , default-features: false                 }
  tungstenite       : { version: ^0.24, default-features: false                 }
  pharos            : { version: ^0.5 , default-features: false                 }
  async-tungstenite : { version: ^0.28, default-features: false                 }
  tokio             : { version: ^1   , default-features: false, optional: true }
  tracing           : { version: ^0.1 }

  # private deps
  #
  bitflags          : { version: ^2, default-features: false }
  async_io_stream   : { version: ^0.3, features: [ map_pharos ], default-features: false }


dev-dependencies:

  async-std           : { version: ^1, features: [ attributes ] }
  async-tungstenite   : { version: ^0.28, features: [ tokio-runtime, async-std-runtime, url ] }
  assert_matches      : ^1
  async_progress      : ^0.2
  futures             : ^0.3
  futures-test        : ^0.3
  futures-timer       : ^3
  asynchronous-codec  : ^0.7
  futures_ringbuf     : ^0.4
  # pretty_assertions   : ^0.6
  tokio               : { version: ^1, default-features: false, features: [ net, rt, rt-multi-thread, macros ] }
  tokio-util          : { version: ^0.7, default-features: false, features: [ codec ] }
  tracing-subscriber  : { version: ^0.3, default-features: false, features: [ ansi, env-filter, fmt, json, tracing-log ] }
  tracing-log         : ^0.2

  # tokio-stream        : { version: ^0.1, default-features: false, features: [] }
  url                 : ^2
  pin-utils           : ^0.1


build-dependencies:

  rustc_version: ^0.4


profile:

  release:

    codegen-units: 1

example:

  - name             : tokio_codec
    path             : examples/tokio_codec.rs
    required-features: [ tokio_io ]