forked from najamelan/ws_stream_tungstenite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.yml
122 lines (95 loc) · 4 KB
/
Cargo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
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.13.0
name : ws_stream_tungstenite
edition : '2021'
authors : [ Naja Melan <[email protected]> ]
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.21, default-features: false }
pharos : { version: ^0.5 , default-features: false }
async-tungstenite : { version: ^0.25, 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.25, features: [ tokio-runtime, async-std-runtime ] }
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 ]