Skip to content

Commit

Permalink
fix: ntex references
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 committed Apr 2, 2024
1 parent da887c7 commit b3616e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ mod shuttle_main;
/// | ----------------- | -------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------- | --------------------------------------------------------------------------------------- |
/// | `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)|
/// | `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) |
/// | `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) |
/// | `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) |
/// | `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) |
/// | `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) |
Expand Down
3 changes: 2 additions & 1 deletion scripts/patches.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ shuttle-qdrant = { path = "BASE/resources/qdrant" }
shuttle-shared-db = { path = "BASE/resources/shared-db" }
shuttle-turso = { path = "BASE/resources/turso" }

shuttle-axum = { path = "BASE/services/shuttle-axum" }
shuttle-actix-web = { path = "BASE/services/shuttle-actix-web" }
shuttle-axum = { path = "BASE/services/shuttle-axum" }
shuttle-ntex = { path = "BASE/services/shuttle-ntex" }
shuttle-poem = { path = "BASE/services/shuttle-poem" }
shuttle-rocket = { path = "BASE/services/shuttle-rocket" }
shuttle-salvo = { path = "BASE/services/shuttle-salvo" }
Expand Down
9 changes: 3 additions & 6 deletions services/shuttle-ntex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shuttle-ntex"
version = "0.1.0"
version = "0.43.0"
edition = "2021"
license = "Apache-2.0"
description = "Service implementation to run a Ntex webserver on shuttle"
Expand All @@ -9,9 +9,6 @@ keywords = ["shuttle-service", "ntex"]
[workspace]

[dependencies]
ntex = { version = "1.2.1"}
shuttle-runtime = { path = "../../runtime", version = "0.43.0", default-features = false }
ntex = { version = "1.2.1", features = ["tokio"] }
num_cpus = "1.16.0"

[dev-dependencies]
tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] }
shuttle-runtime = { path = "../../runtime", version = "0.43.0", default-features = false }

0 comments on commit b3616e1

Please sign in to comment.