Skip to content

Commit 177ca40

Browse files
authored
Merge pull request #381 from c410-f3r/misc
wtx-0.33.0
2 parents be6c560 + 9015d52 commit 177ca40

File tree

23 files changed

+131
-505
lines changed

23 files changed

+131
-505
lines changed

.scripts/internal-tests-0.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,22 @@ cargo miri test --features http2,postgres,web-socket -p wtx
1010
# WTX
1111

1212
$rt check-generic wtx
13+
14+
$rt test-with-features wtx 32-tuple-impls
1315
$rt test-with-features wtx aes-gcm
1416
$rt test-with-features wtx arbitrary
1517
$rt test-with-features wtx argon2
1618
$rt test-with-features wtx base64
1719
$rt test-with-features wtx borsh
1820
$rt test-with-features wtx calendar
19-
$rt test-with-features wtx chrono
2021
$rt test-with-features wtx cl-aux
2122
$rt test-with-features wtx client-api-framework
2223
$rt test-with-features wtx crypto-common
2324
$rt test-with-features wtx data-transformation
2425
$rt test-with-features wtx database
2526
$rt test-with-features wtx digest
2627
$rt test-with-features wtx embassy-time
28+
$rt test-with-features wtx executor
2729
$rt test-with-features wtx fastrand
2830
$rt test-with-features wtx flate2
2931
$rt test-with-features wtx foldhash
@@ -33,13 +35,19 @@ $rt test-with-features wtx grpc-server
3335
$rt test-with-features wtx hashbrown
3436
$rt test-with-features wtx hmac
3537
$rt test-with-features wtx http-client-pool
38+
$rt test-with-features wtx http-cookie
39+
$rt test-with-features wtx http-cookie-secure
3640
$rt test-with-features wtx http-server-framework
41+
$rt test-with-features wtx http-session
3742
$rt test-with-features wtx http2
3843
$rt test-with-features wtx httparse
3944
$rt test-with-features wtx matchit
4045
$rt test-with-features wtx memchr
4146
$rt test-with-features wtx mysql
47+
$rt test-with-features wtx nightly
48+
$rt test-with-features wtx optimization
4249
$rt test-with-features wtx pool
50+
$rt test-with-features wtx portable-atomic-util
4351
$rt test-with-features wtx postgres
4452
$rt test-with-features wtx quick-protobuf
4553
$rt test-with-features wtx rand_chacha

Cargo.lock

Lines changed: 63 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wtx-instances/http2-examples/http2-server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! HTTP/2 server that uses optioned parameters.
22
//!
3-
//! Automatic stream are handled by the system while manual stream are handled by the user. In
3+
//! Automatic streams are handled by the system while manual stream are handled by the user. In
44
//! this particular example all manual streams are considered to be WebSocket connections over
55
//! HTTP/2.
66

wtx-instances/src/bin/autobahn-server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async fn main() -> wtx::Result<()> {
2020
Flate2::default,
2121
|error| eprintln!("{error}"),
2222
handle,
23-
(|| Ok(()), |_| {}, |_, stream| async move { Ok(stream) }),
23+
(|| Ok(()), |_, stream| async move { Ok(stream) }),
2424
)
2525
.await
2626
}

wtx-instances/web-socket-examples/web-socket-server.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ async fn main() -> wtx::Result<()> {
2727
TokioRustlsAcceptor::without_client_auth()
2828
.build_with_cert_chain_and_priv_key(wtx_instances::CERT, wtx_instances::KEY)
2929
},
30-
|acceptor| acceptor.clone(),
3130
|acceptor, stream| async move { Ok(acceptor.accept(stream).await?) },
3231
),
3332
)

wtx-ui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ clap = { default-features = false, features = ["derive", "help", "std", "usage"]
33
dotenvy = { default-features = false, optional = true, version = "0.15" }
44
rand_chacha = { default-features = false, features = ["os_rng"], optional = true, version = "0.9" }
55
tokio = { default-features = false, features = ["io-std", "io-util", "macros", "net", "rt-multi-thread"], version = "1.0" }
6-
wtx = { default-features = false, features = ["tokio"], path = "../wtx", version = "0.32" }
6+
wtx = { default-features = false, features = ["tokio"], path = "../wtx", version = "0.33" }
77

88
[features]
99
default = []

0 commit comments

Comments
 (0)