Skip to content

Commit b3616e1

Browse files
committed
fix: ntex references
1 parent da887c7 commit b3616e1

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

codegen/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ mod shuttle_main;
2323
/// | ----------------- | -------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------------------- |
2424
/// | `ShuttleActixWeb` | [shuttle-actix-web](https://crates.io/crates/shuttle-actix-web)| [actix-web](https://docs.rs/actix-web/4.3) | 4.3 | [GitHub](https://github.com/shuttle-hq/shuttle-examples/tree/main/actix-web/hello-world)|
2525
/// | `ShuttleAxum` | [shuttle-axum](https://crates.io/crates/shuttle-axum) | [axum](https://docs.rs/axum/0.7) | 0.7 | [GitHub](https://github.com/shuttle-hq/shuttle-examples/tree/main/axum/hello-world) |
26+
/// | `ShuttleNtex` | [shuttle-ntex](https://crates.io/crates/shuttle-ntex) | [ntex](https://docs.rs/ntex/1.2) | 1.2 | [GitHub](https://github.com/shuttle-hq/shuttle-examples/tree/main/ntex/hello-world) |
2627
/// | `ShuttlePoem` | [shuttle-poem](https://crates.io/crates/shuttle-poem) | [poem](https://docs.rs/poem/2.0) | 2.0 | [GitHub](https://github.com/shuttle-hq/shuttle-examples/tree/main/poem/hello-world) |
2728
/// | `ShuttleRocket` | [shuttle-rocket](https://crates.io/crates/shuttle-rocket) | [rocket](https://docs.rs/rocket/0.5) | 0.5 | [GitHub](https://github.com/shuttle-hq/shuttle-examples/tree/main/rocket/hello-world) |
2829
/// | `ShuttleSalvo` | [shuttle-salvo](https://crates.io/crates/shuttle-salvo) | [salvo](https://docs.rs/salvo/0.63) | 0.63 | [GitHub](https://github.com/shuttle-hq/shuttle-examples/tree/main/salvo/hello-world) |

scripts/patches.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ shuttle-qdrant = { path = "BASE/resources/qdrant" }
1212
shuttle-shared-db = { path = "BASE/resources/shared-db" }
1313
shuttle-turso = { path = "BASE/resources/turso" }
1414

15-
shuttle-axum = { path = "BASE/services/shuttle-axum" }
1615
shuttle-actix-web = { path = "BASE/services/shuttle-actix-web" }
16+
shuttle-axum = { path = "BASE/services/shuttle-axum" }
17+
shuttle-ntex = { path = "BASE/services/shuttle-ntex" }
1718
shuttle-poem = { path = "BASE/services/shuttle-poem" }
1819
shuttle-rocket = { path = "BASE/services/shuttle-rocket" }
1920
shuttle-salvo = { path = "BASE/services/shuttle-salvo" }

services/shuttle-ntex/Cargo.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shuttle-ntex"
3-
version = "0.1.0"
3+
version = "0.43.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
description = "Service implementation to run a Ntex webserver on shuttle"
@@ -9,9 +9,6 @@ keywords = ["shuttle-service", "ntex"]
99
[workspace]
1010

1111
[dependencies]
12-
ntex = { version = "1.2.1"}
13-
shuttle-runtime = { path = "../../runtime", version = "0.43.0", default-features = false }
12+
ntex = { version = "1.2.1", features = ["tokio"] }
1413
num_cpus = "1.16.0"
15-
16-
[dev-dependencies]
17-
tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] }
14+
shuttle-runtime = { path = "../../runtime", version = "0.43.0", default-features = false }

0 commit comments

Comments
 (0)