Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update changelog and examples. #967

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ http-file = { version = "0.1", default-features = false }
rust-embed = "8"
serde_json = "1.0.89"
worker = "0.0.18"
xitca-http = { version = "0.2", default-features = false, features = ["router"] }
xitca-http = { version = "0.4", default-features = false, features = ["router"] }
xitca-service = "0.1"
xitca-unsafe-collection = "0.1"

Expand Down
2 changes: 1 addition & 1 deletion examples/compression/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["compress-br", "compress-de", "compress-gz", "logger"] }
xitca-web = { version = "0.4", features = ["compress-br", "compress-de", "compress-gz", "logger"] }

tracing = "0.1"
2 changes: 1 addition & 1 deletion examples/cookie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["cookie"] }
xitca-web = { version = "0.4", features = ["cookie"] }
2 changes: 1 addition & 1 deletion examples/dependency-injection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021"

[dependencies]
xitca-web = "0.3"
xitca-web = "0.4"
2 changes: 1 addition & 1 deletion examples/error-handle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["codegen", "nightly"] }
xitca-web = { version = "0.4", features = ["codegen", "nightly"] }

thiserror = "1"
2 changes: 1 addition & 1 deletion examples/file/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["compress-br", "file", "logger"] }
xitca-web = { version = "0.4", features = ["compress-br", "file", "logger"] }

tracing = "0.1"
4 changes: 2 additions & 2 deletions examples/grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-http = { version = "0.3", default-features = false, features = ["http2", "router"] }
xitca-server= "0.1"
xitca-http = { version = "0.4", default-features = false, features = ["http2", "router"] }
xitca-server = "0.2"
xitca-service = "0.1"

anyhow = "1.0.66"
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = "0.3"
xitca-web = "0.4"
6 changes: 3 additions & 3 deletions examples/io-uring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-http = { version = "0.3", features = ["io-uring", "router", "rustls-uring"] }
xitca-server = { version = "0.1", features = ["io-uring"] }
xitca-http = { version = "0.4", features = ["io-uring", "router", "rustls-uring"] }
xitca-server = { version = "0.2", features = ["io-uring"] }
xitca-service = "0.1"

rcgen = "0.12.0"
rustls = "0.22"
rustls = "0.23"
rustls-pki-types = "1"
2 changes: 1 addition & 1 deletion examples/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["codegen", "logger"] }
xitca-web = { version = "0.4", features = ["codegen", "logger"] }

thiserror = "1"
tokio = { version = "1", features = ["macros", "rt"] }
Expand Down
4 changes: 2 additions & 2 deletions examples/multi-http-services/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-http = { version = "0.3", features = ["http2", "http3", "openssl", "rustls"] }
xitca-server = { version = "0.1", features = ["http3"] }
xitca-http = { version = "0.4", features = ["http2", "http3", "openssl", "rustls"] }
xitca-server = { version = "0.2", features = ["http3"] }
xitca-service = "0.1"

openssl = "0.10.44"
Expand Down
2 changes: 1 addition & 1 deletion examples/multipart/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["logger", "multipart"] }
xitca-web = { version = "0.4", features = ["logger", "multipart"] }

tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["env-filter", "fmt"] }
2 changes: 1 addition & 1 deletion examples/sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = "0.3"
xitca-web = "0.4"
2 changes: 1 addition & 1 deletion examples/tower-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["tower-http-compat"] }
xitca-web = { version = "0.4", features = ["tower-http-compat"] }

tower-http = { version = "0.5", features = ["fs", "compression-gzip"] }
2 changes: 1 addition & 1 deletion examples/unix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = "0.3"
xitca-web = "0.4"
2 changes: 1 addition & 1 deletion examples/wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = "0.3"
xitca-web = "0.4"
2 changes: 1 addition & 1 deletion examples/websocket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ authors = ["fakeshadow <[email protected]>"]
edition = "2021"

[dependencies]
xitca-web = { version = "0.3", features = ["websocket"] }
xitca-web = { version = "0.4", features = ["websocket"] }
4 changes: 3 additions & 1 deletion http-ws/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# unreleased 0.3.0
# unreleased

# 0.3.0
## Add
- add `RequestStream::inner_mut` method for accessing inner stream type.
- add `RequestStream::codec_mut` method for accessing `Codec` type.
Expand Down
4 changes: 3 additions & 1 deletion io/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# unreleased 0.2.0
# unreleased

# 0.2.0
## Add
- `io::PollIoAdapter` as adaptor between `io::AsyncIo` and `io::{AsyncRead, AsyncWrite}` traits.

Expand Down
4 changes: 3 additions & 1 deletion server/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# unreleased 0.2.0
# unreleased

# 0.2.0
## Change
- update `xitca-io` to `0.2.0`
4 changes: 3 additions & 1 deletion tls/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# unreleased 0.2.0
# unreleased

# 0.2.0
## Change
- update `rustls` to `0.23.0`
- update `xitca-io` to `0.2.0`
Expand Down
4 changes: 3 additions & 1 deletion web/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# unreleased 0.4.0
# unreleased

# 0.4.0
## Add
- enable nightly rust `async_iterator` feature when `nightly` crate feature is active. Add `body::AsyncBody` type to bridge `futures::Stream` and `std::async_iter::AsyncIterator` traits. This change enables async generator usage. Example:
```rust
Expand Down
Loading