Skip to content

Commit

Permalink
Merge pull request #51 from ngyn-rs/dev
Browse files Browse the repository at this point in the history
chore(release): v0.2.6
  • Loading branch information
elcharitas authored Nov 4, 2023
2 parents 463cd52 + e016500 commit 0c531db
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 32 deletions.
38 changes: 19 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ngyn"
version = "0.2.5"
version = "0.2.6"
edition = "2021"
description = "Modular backend framework for web applications"
license = "MIT"
Expand All @@ -11,8 +11,8 @@ path = "src/lib.rs"
[dependencies]
async-std = { version = "1.6.0", features = ["attributes"] }
nject = "0.3.0"
ngyn_macros = { path = "../macros", version = "0.2.5" }
ngyn_shared = { path = "../shared", version = "0.2.5" }
ngyn_macros = { path = "../macros", version = "0.2.6" }
ngyn_shared = { path = "../shared", version = "0.2.6" }
tide = { version = "0.16.0", optional = true }
vercel_runtime = { version = "1.1.0", optional = true }

Expand Down
1 change: 1 addition & 0 deletions crates/core/src/app/factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ impl NgynFactory<crate::platforms::VercelApplication> {
}

impl<Application: NgynEngine> NgynFactory<Application> {
#[allow(dead_code)]
/// The `create` method takes a generic parameter `AppModule` that implements the `NgynModule` trait.
/// It returns an instance of `NgynEngine`.
///
Expand Down
4 changes: 1 addition & 3 deletions crates/core/src/platforms/vercel.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use ngyn_shared::HttpMethod;
use ngyn_shared::{Handler, HttpMethod, NgynEngine};
use vercel_runtime::{Body, Error, Request, Response};

use super::{Handler, NgynEngine};

pub struct VercelApplication {
routes: Vec<(String, HttpMethod, Box<dyn Handler>)>,
}
Expand Down
4 changes: 2 additions & 2 deletions crates/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ngyn_macros"
version = "0.2.5"
version = "0.2.6"
edition = "2021"
description = "Modular backend framework for web applications"
license = "MIT"
Expand All @@ -9,7 +9,7 @@ license = "MIT"
nject = "0.3.0"
syn = "2.0.29"
quote = "1.0.33"
ngyn_shared = { path = "../shared", version = "0.2.5" }
ngyn_shared = { path = "../shared", version = "0.2.6" }

[lib]
path = "src/lib.rs"
Expand Down
2 changes: 1 addition & 1 deletion crates/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ngyn_shared"
version = "0.2.5"
version = "0.2.6"
edition = "2021"
description = "Modular backend framework for web applications"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2021"
[dependencies]
async-std = { version = "1.6.0", features = ["attributes"] }
nject = "0.3.0"
ngyn = { version = "0.2.5" }
ngyn = { version = "0.2.6" }
4 changes: 2 additions & 2 deletions examples/vercel_app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vercel_app"
version = "0.2.5"
version = "0.2.6"
edition = "2021"

[[bin]]
Expand All @@ -14,6 +14,6 @@ path = "src/lib.rs"

[dependencies]
nject = "0.3.0"
ngyn = { version = "0.2.5", features = ["vercel"] }
ngyn = { version = "0.2.6", features = ["vercel"] }
tokio = { version = "1.32.0", features = ["full"] }
vercel_runtime = { version = "1.1.0" }
2 changes: 1 addition & 1 deletion examples/weather_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ edition = "2021"
async-std = { version = "1", features = ["attributes", "tokio1"] }
dotenv = "0.15.0"
nject = "0.3.0"
ngyn = { path = "../../crates/core", version = "0.2.5", features = ["tide"] }
ngyn = { path = "../../crates/core", version = "0.2.6", features = ["tide"] }
ureq = { version = "2.8.0" }

0 comments on commit 0c531db

Please sign in to comment.