-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.yml
116 lines (95 loc) · 3.38 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
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 udeps --all-targets --all-features`
# - `cargo outdated --root-deps-only`
# - `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 release && git merge dev --no-ff`
# - `git tag x.x.x` with version number.
# - `git push && git push --tags`
#
version : 0.7.4
name : ws_stream_wasm
edition : '2018'
authors : [ Naja Melan <[email protected]> ]
description : A convenience library for using websockets in WASM
license : Unlicense
documentation : https://docs.rs/ws_stream_wasm
homepage : https://github.com/najamelan/ws_stream_wasm
repository : https://github.com/najamelan/ws_stream_wasm
readme : README.md
keywords : [ wasm, websocket, tokio, stream, async ]
categories : [ asynchronous, network-programming, api-bindings, wasm, "web-programming::websocket" ]
exclude : [ tests, examples ]
metadata:
docs:
rs:
all-features: true
targets : [] # should be wasm, but that's not available.
badges:
maintenance : { status : actively-developed }
travis-ci : { repository : najamelan/ws_stream_wasm }
features:
tokio_io: [ async_io_stream/tokio_io ]
dependencies:
# public dependencies (bump major if changing version numbers here)
#
pharos : { version: ^0.5 }
futures : { version: ^0.3, default-features: false }
async_io_stream : { version: ^0.3, features: [ map_pharos ] }
# We expose WebSocket and CloseEvent.
#
web-sys:
version : ^0.3
features:
- BinaryType
- Blob
- console
- MessageEvent
- WebSocket
- CloseEvent
- DomException
# private deps
#
js-sys : ^0.3
thiserror : ^1
send_wrapper : ^0.6
wasm-bindgen : ^0.2
wasm-bindgen-futures : ^0.4
log : ^0.4
dev-dependencies:
# wasm-logger : ^0.1
async_io_stream : { version: ^0.3, features: [ tokio_io ] }
bytes : ^1
console_error_panic_hook : ^0.1
console_log : ^0.2
# flexi_logger : ^0.16
asynchronous-codec : { version: ^0.6 }
# pretty_assertions : ^0.6
rand : ^0.8
rand_xoshiro : ^0.6
getrandom : { version: ^0.2, features: [js] }
serde : { version: ^1, features: [ derive ] }
serde_cbor : ^0.11
tokio : { version: ^1 }
tokio-serde-cbor : { version: ^0.7 }
tokio-util : { version: ^0.7, default-features: false, features: [codec] }
wasm-bindgen-test : ^0.3
build-dependencies:
rustc_version: ^0.4