Skip to content

Commit 0df780d

Browse files
authored
prepare release for web. (#859)
1 parent c52f062 commit 0df780d

File tree

7 files changed

+45
-1
lines changed

7 files changed

+45
-1
lines changed

http-encoding/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
name = "http-encoding"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "Apache-2.0"
6+
description = "compression for http crate type"
7+
repository = "https://github.com/HFQR/xitca-web"
8+
keywords = ["http", "compression"]
9+
authors = ["fakeshadow <[email protected]>"]
10+
readme= "README.md"
511

612
[features]
713
default = []

http-encoding/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# a compression crate for http type.
2+
3+
## Requirement
4+
- Rust 1.75
5+
- [http](https://crates.io/crates/http) and [futures](https://crates.io/crates/futures) for http types and async streaming interaction[^1]
6+
7+
[^1]: see project `Cargo.toml` for dependency versioning.

http-file/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
name = "http-file"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "Apache-2.0"
6+
description = "file serving for http crate type"
7+
repository = "https://github.com/HFQR/xitca-web"
8+
keywords = ["http", "file"]
9+
authors = ["fakeshadow <[email protected]>"]
10+
readme= "README.md"
511

612
[features]
713
default = ["tokio"]

http-multipart/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
name = "http-multipart"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "Apache-2.0"
6+
description = "multipart for http crate type"
7+
repository = "https://github.com/HFQR/xitca-web"
8+
keywords = ["http", "multipart"]
9+
authors = ["fakeshadow <[email protected]>"]
10+
readme= "README.md"
511

612
[dependencies]
713
bytes = "1.4"

http-ws/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
name = "http-ws"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "Apache-2.0"
6+
description = "websocket for http crate type"
7+
repository = "https://github.com/HFQR/xitca-web"
8+
keywords = ["http", "websocket"]
9+
authors = ["fakeshadow <[email protected]>"]
10+
readme= "README.md"
511

612
[features]
713
default = []

http-ws/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# an async websocket crate.
2+
3+
## Features
4+
- common http types and streaming interface for easy integration.
5+
6+
## Requirement
7+
- Rust 1.75
8+
- [http](https://crates.io/crates/http) and [futures](https://crates.io/crates/futures) for http types and async streaming interaction[^1]
9+
10+
[^1]: see project `Cargo.toml` for dependency versioning.

web/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ multipart = ["http-multipart"]
4242
websocket = ["http-ws/stream", "tokio/time"]
4343

4444
# static file serving
45-
file = ["http-file"]
45+
file = ["http-file", "nightly"]
46+
47+
# nightly rust required feature
48+
nightly = []
4649

4750
# macro code generation
4851
codegen = ["xitca-codegen"]

0 commit comments

Comments
 (0)