diff --git a/CHANGELOG.md b/CHANGELOG.md index dd48143..284f011 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ ## [Unreleased] [Unreleased]: https://github.com/najamelan/ws_stream_tungstenite/compare/0.6.1...dev - + + - update dependencies ## [0.6.1] diff --git a/Cargo.toml b/Cargo.toml index b3f21ea..ec98cfc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ rustc_version = "^0.4" [dependencies] [dependencies.async-tungstenite] default-features = false -version = "^0.13" +version = "^0.16" [dependencies.async_io_stream] default-features = false @@ -54,13 +54,13 @@ version = "^1" [dependencies.tungstenite] default-features = false -version = "^0.13" +version = "^0.16" [dev-dependencies] -assert_matches = "^1.3" +assert_matches = "^1" async_progress = "^0.2" asynchronous-codec = "^0.6" -flexi_logger = "^0.18" +flexi_logger = "^0.20" futures = "^0.3" futures-test = "^0.3" futures-timer = "^3" @@ -74,7 +74,7 @@ version = "^1" [dev-dependencies.async-tungstenite] features = ["tokio-runtime", "async-std-runtime"] -version = "^0.13" +version = "^0.16" [dev-dependencies.tokio] default-features = false @@ -99,7 +99,7 @@ authors = ["Naja Melan "] categories = ["asynchronous", "network-programming"] description = "Provide AsyncRead/AsyncWrite over Tungstenite WebSockets" documentation = "https://docs.rs/ws_stream_tungstenite" -edition = "2018" +edition = "2021" exclude = ["tests", "examples", "ci", ".travis.yml", "TODO.md", "CONTRIBUTING.md", "ARCHITECTURE.md"] homepage = "https://github.com/najamelan/ws_stream_tungstenite" keywords = ["websocket", "tokio", "stream", "async", "futures"] @@ -108,7 +108,7 @@ name = "ws_stream_tungstenite" readme = "README.md" repository = "https://github.com/najamelan/ws_stream_tungstenite" resolver = "2" -version = "0.6.1" +version = "0.6.2" [package.metadata] [package.metadata.docs] diff --git a/Cargo.yml b/Cargo.yml index e78a828..48529eb 100644 --- a/Cargo.yml +++ b/Cargo.yml @@ -24,9 +24,9 @@ package: # - `git tag x.x.x` with version number. # - `git push && git push --tags` # - version : 0.6.1 + version : 0.6.2 name : ws_stream_tungstenite - edition : '2018' + edition : '2021' resolver : '2' authors : [ Naja Melan ] description : Provide AsyncRead/AsyncWrite over Tungstenite WebSockets @@ -65,15 +65,15 @@ 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 } - log : { version: ^0.4 , default-features: false } - tungstenite : { version: ^0.13, default-features: false } - pharos : { version: ^0.5 , default-features: false } - async-tungstenite : { version: ^0.13, default-features: false } - tokio : { version: ^1 , optional: true, default-features: false } + 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 } + log : { version: ^0.4 , default-features: false } + tungstenite : { version: ^0.16, default-features: false } + pharos : { version: ^0.5 , default-features: false } + async-tungstenite : { version: ^0.16, default-features: false } + tokio : { version: ^1 , default-features: false, optional: true } # private deps # @@ -84,10 +84,10 @@ dependencies: dev-dependencies: async-std : { version: ^1, features: [ attributes ] } - async-tungstenite : { version: ^0.13, features: [ tokio-runtime, async-std-runtime ] } - assert_matches : ^1.3 + async-tungstenite : { version: ^0.16, features: [ tokio-runtime, async-std-runtime ] } + assert_matches : ^1 async_progress : ^0.2 - flexi_logger : ^0.18 + flexi_logger : ^0.20 futures : ^0.3 futures-test : ^0.3 futures-timer : ^3 @@ -116,3 +116,4 @@ example: - name : tokio_codec required-features: [ tokio_io ] + diff --git a/TODO.md b/TODO.md index aaa4747..88246b3 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,5 @@ # TODO -- implement into_inner so people can send a manual websocket message like close with status. +- implement into_inner so people can send a manual websocket message like close with status. https://github.com/najamelan/ws_stream_tungstenite/issues/6 - check crate template for changes. - ci passes if uploading code coverage fails. diff --git a/src/lib.rs b/src/lib.rs index 3cf45dd..7129a13 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ -#![cfg_attr( nightly, feature(doc_cfg) )] -#![cfg_attr( nightly, cfg_attr( nightly, doc = include_str!("../README.md") ))] -#![doc = ""] // empty doc line to handle missing doc warning when the feature is missing. +#![ cfg_attr( nightly, feature(doc_cfg) ) ] +#![ doc = include_str!("../README.md") ] #![ doc ( html_root_url = "https://docs.rs/ws_stream_tungstenite" ) ] #![ deny ( missing_docs ) ]