Skip to content

Commit 38a39e0

Browse files
authored
* Routing performance improvements (#127)
* Updated crates metadata structure * Updated dependencies
1 parent 7f74a7b commit 38a39e0

File tree

12 files changed

+179
-163
lines changed

12 files changed

+179
-163
lines changed

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ resolver = "2"
77
license = "MIT"
88
edition = "2024"
99
rust-version = "1.90.0"
10+
authors = ["Roman Emreis <roman.emreis@outlook.com>"]
11+
repository = "https://github.com/RomanEmreis/volga"
12+
documentation = "https://docs.rs/volga"
13+
homepage = "https://romanemreis.github.io/volga-docs"
14+
categories = [
15+
"web-programming::http-server",
16+
"web-programming::websocket",
17+
"network-programming",
18+
"asynchronous",
19+
]
1020

1121
[workspace.lints.rust]
1222
unsafe_code = "forbid"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Volga
22
Fast, Easy, and very flexible Web Framework for Rust based on [Tokio](https://tokio.rs/) runtime and [hyper](https://hyper.rs/) for fun and painless microservices crafting.
33

4-
[![latest](https://img.shields.io/badge/latest-0.7.1-blue)](https://crates.io/crates/volga)
4+
[![latest](https://img.shields.io/badge/latest-0.7.2-blue)](https://crates.io/crates/volga)
55
[![latest](https://img.shields.io/badge/rustc-1.90+-964B00)](https://crates.io/crates/volga)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-violet.svg)](https://github.com/RomanEmreis/volga/blob/main/LICENSE)
77
[![Build](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml/badge.svg)](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml)
@@ -23,7 +23,7 @@ Fast, Easy, and very flexible Web Framework for Rust based on [Tokio](https://to
2323
### Dependencies
2424
```toml
2525
[dependencies]
26-
volga = "0.7.1"
26+
volga = "0.7.2"
2727
tokio = { version = "1", features = ["full"] }
2828
```
2929
### Simple request handler

volga-dev-cert/Cargo.toml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
[package]
22
name = "volga-dev-cert"
3-
version = "0.7.1"
4-
edition = "2024"
5-
rust-version = "1.90.0"
6-
authors = ["Roman Emreis <roman.emreis@outlook.com>"]
7-
license = "MIT"
8-
repository = "https://github.com/RomanEmreis/volga"
9-
description = "A Rust library for generating self-signed TLS certificates for local development."
10-
documentation = "https://docs.rs/volga"
3+
version = "0.7.2"
114
readme = "README.md"
12-
homepage = "https://romanemreis.github.io/volga-docs"
13-
categories = [
14-
"web-programming::http-server",
15-
"web-programming::websocket",
16-
"network-programming",
17-
"asynchronous",
18-
]
5+
description = "A Rust library for generating self-signed TLS certificates for local development."
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
authors.workspace = true
9+
license.workspace = true
10+
repository.workspace = true
11+
documentation.workspace = true
12+
homepage.workspace = true
13+
categories.workspace = true
1914
keywords = ["volga", "server", "https", "tls"]
2015

2116
[dependencies]

volga-dev-cert/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Volga Development Certificates
22
A Rust library for generating self-signed TLS certificates for local development.
33

4-
[![latest](https://img.shields.io/badge/latest-0.7.1-blue)](https://crates.io/crates/volga)
4+
[![latest](https://img.shields.io/badge/latest-0.7.2-blue)](https://crates.io/crates/volga)
55
[![latest](https://img.shields.io/badge/rustc-1.90+-964B00)](https://crates.io/crates/volga)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-violet.svg)](https://github.com/RomanEmreis/volga/blob/main/LICENSE)
77
[![Build](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml/badge.svg)](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml)

volga-di/Cargo.toml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
[package]
22
name = "volga-di"
3-
version = "0.7.1"
4-
edition = "2024"
5-
rust-version = "1.90.0"
6-
authors = ["Roman Emreis <roman.emreis@outlook.com>"]
7-
license = "MIT"
8-
repository = "https://github.com/RomanEmreis/volga"
9-
description = "Dependency Injection tools for Volga Web Framework"
10-
documentation = "https://docs.rs/volga"
3+
version = "0.7.2"
114
readme = "README.md"
12-
homepage = "https://romanemreis.github.io/volga-docs"
13-
categories = [
14-
"web-programming::http-server",
15-
"web-programming::websocket",
16-
"network-programming",
17-
"asynchronous",
18-
]
5+
description = "Dependency Injection tools for Volga Web Framework"
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
authors.workspace = true
9+
license.workspace = true
10+
repository.workspace = true
11+
documentation.workspace = true
12+
homepage.workspace = true
13+
categories.workspace = true
1914
keywords = ["volga", "container", "dependency", "injection", "di"]
2015

2116
[dependencies]
22-
http = "1.3.1"
17+
http = "1.4.0"
2318

2419
[features]
2520
default = []

volga-di/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Volga DI
22
A standalone, flexible, and easy-to-configure DI container.
33

4-
[![latest](https://img.shields.io/badge/latest-0.7.1-blue)](https://crates.io/crates/volga)
4+
[![latest](https://img.shields.io/badge/latest-0.7.2-blue)](https://crates.io/crates/volga)
55
[![latest](https://img.shields.io/badge/rustc-1.90+-964B00)](https://crates.io/crates/volga)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-violet.svg)](https://github.com/RomanEmreis/volga/blob/main/LICENSE)
77
[![Build](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml/badge.svg)](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml)
@@ -14,12 +14,12 @@ A standalone, flexible, and easy-to-configure DI container.
1414
#### Standalone
1515
```toml
1616
[dependencies]
17-
volga-di = "0.7.1"
17+
volga-di = "0.7.2"
1818
```
1919
#### Part of Volga Web Framework
2020
```toml
2121
[dependencies]
22-
volga = { version = "0.7.1", features = ["di"] }
22+
volga = { version = "0.7.2", features = ["di"] }
2323
```
2424

2525
### Example

volga-macros/Cargo.toml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
11
[package]
22
name = "volga-macros"
3-
version = "0.7.1"
4-
edition = "2024"
5-
rust-version = "1.90.0"
6-
authors = ["Roman Emreis <roman.emreis@outlook.com>"]
7-
license = "MIT"
8-
repository = "https://github.com/RomanEmreis/volga"
9-
description = "Macros for Volga Web Framework"
10-
documentation = "https://docs.rs/volga"
3+
version = "0.7.2"
114
readme = "README.md"
12-
homepage = "https://romanemreis.github.io/volga-docs"
13-
categories = [
14-
"web-programming::http-server",
15-
"web-programming::websocket",
16-
"network-programming",
17-
"asynchronous",
18-
]
5+
description = "Macros for Volga Web Framework"
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
authors.workspace = true
9+
license.workspace = true
10+
repository.workspace = true
11+
documentation.workspace = true
12+
homepage.workspace = true
13+
categories.workspace = true
1914
keywords = ["volga", "http", "web", "framework"]
2015

2116
[lib]
2217
proc-macro = true
2318

2419
[dependencies]
25-
quote = "1.0.41"
26-
syn = { version = "2.0.109", features = ["full"] }
20+
quote = "1.0.42"
21+
syn = { version = "2.0.111", features = ["full"] }
2722
proc-macro2 = "1.0.103"
2823

2924
[features]

volga-macros/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Volga Macros
22
Macros library for Volga Web Framework
33

4-
[![latest](https://img.shields.io/badge/latest-0.7.1-blue)](https://crates.io/crates/volga)
4+
[![latest](https://img.shields.io/badge/latest-0.7.2-blue)](https://crates.io/crates/volga)
55
[![latest](https://img.shields.io/badge/rustc-1.90+-964B00)](https://crates.io/crates/volga)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-violet.svg)](https://github.com/RomanEmreis/volga/blob/main/LICENSE)
77
[![Build](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml/badge.svg)](https://github.com/RomanEmreis/volga/actions/workflows/rust.yml)
@@ -12,6 +12,6 @@ Macros library for Volga Web Framework
1212
## Dependencies
1313
```toml
1414
[dependencies]
15-
volga = { version = "0.7.1", features = ["macros"] }
15+
volga = { version = "0.7.2", features = ["macros"] }
1616
```
1717

volga/Cargo.toml

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
[package]
22
name = "volga"
3-
version = "0.7.1"
4-
edition = "2024"
5-
rust-version = "1.90.0"
6-
authors = ["Roman Emreis <roman.emreis@outlook.com>"]
7-
license = "MIT"
8-
repository = "https://github.com/RomanEmreis/volga"
3+
version = "0.7.2"
4+
readme = "../README.md"
95
description = "Easy & Fast Web Framework for Rust"
10-
documentation = "https://docs.rs/volga"
11-
readme = "README.md"
12-
homepage = "https://romanemreis.github.io/volga-docs"
13-
categories = [
14-
"web-programming::http-server",
15-
"web-programming::websocket",
16-
"network-programming",
17-
"asynchronous",
18-
]
6+
edition.workspace = true
7+
rust-version.workspace = true
8+
authors.workspace = true
9+
license.workspace = true
10+
repository.workspace = true
11+
documentation.workspace = true
12+
homepage.workspace = true
13+
categories.workspace = true
1914
keywords = ["async", "server", "http", "web", "framework"]
2015

2116
[dependencies]
2217
# required
23-
bytes = "1.10.1"
18+
bytes = "1.11.0"
2419
futures-util = { version = "0.3.31", default-features = false, features = ["alloc"] }
2520
http-body-util = "0.1.3"
2621
itoa = "1.0.15"
27-
indexmap = "2.12.0"
22+
indexmap = "2.12.1"
2823
memchr = "2.7.6"
2924
mime = "0.3.17"
3025
mime_guess = "2.0.5"
@@ -37,25 +32,25 @@ serde_urlencoded = "0.7.1"
3732
smallvec = "1.15.1"
3833

3934
# optional
40-
async-compression = { version = "0.4.32", features = ["tokio"], optional = true }
35+
async-compression = { version = "0.4.34", features = ["tokio"], optional = true }
4136
base64 = { version = "0.22.1", optional = true }
4237
chrono = { version = "0.4.42", optional = true }
4338
cookie = { version = "0.18.1", features = ["percent-encode"], optional = true }
4439
jsonwebtoken = { version = "10.2.0", features = ["rust_crypto"], optional = true }
4540
handlebars = { version = "6.3.2", optional = true }
4641
httpdate = { version = "1.0.3", optional = true }
47-
hyper = { version = "1.7.0", features = ["server"], optional = true }
48-
hyper-util = { version = "0.1.17", features = ["server", "server-auto", "server-graceful", "service", "tokio"], optional = true }
42+
hyper = { version = "1.8.1", features = ["server"], optional = true }
43+
hyper-util = { version = "0.1.18", features = ["server", "server-auto", "server-graceful", "service", "tokio"], optional = true }
4944
multer = { version = "3.1.0", optional = true }
5045
sha1 = { version = "0.10.6", optional = true }
5146
tokio-rustls = { version = "0.26.4", default-features = false, features = ["tls12", "ring"], optional = true }
5247
tokio-tungstenite = { version = "0.28.0", optional = true }
5348
tracing = { version = "0.1.41", default-features = false, optional = true }
5449

5550
# volga
56-
volga-dev-cert = { path = "../volga-dev-cert", version = "0.7.1", optional = true }
57-
volga-di = { path = "../volga-di", version = "0.7.1", optional = true }
58-
volga-macros = { path = "../volga-macros", version = "0.7.1", optional = true }
51+
volga-dev-cert = { path = "../volga-dev-cert", version = "0.7.2", optional = true }
52+
volga-di = { path = "../volga-di", version = "0.7.2", optional = true }
53+
volga-macros = { path = "../volga-macros", version = "0.7.2", optional = true }
5954

6055
[dev-dependencies]
6156
base64 = { version = "0.22.1" }

volga/README.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)