diff --git a/.github/workflows/auto_approve.yml b/.github/workflows/auto_approve.yml index ebc420b9..ca594ad3 100644 --- a/.github/workflows/auto_approve.yml +++ b/.github/workflows/auto_approve.yml @@ -12,7 +12,7 @@ on: jobs: auto_approve: if: | - github.event.pull_request.user.login == 'kana-rus' && + github.event.pull_request.user.login == 'kanarus' && !github.event.pull_request.draft permissions: pull-requests: write diff --git a/benches/Cargo.toml b/benches/Cargo.toml index b4906f0a..388ad8db 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" authors = ["kanarus "] [features] -DEBUG = ["ohkami/DEBUG", "ohkami/graceful"] +DEBUG = ["ohkami/DEBUG"] # `--no-default-features` when running `bin/` default = ["DEBUG"] @@ -24,15 +24,4 @@ hashbrown = { version = "0.14.5", features = ["raw", "inline-more"] } [dev-dependencies] rand = "0.8.5" -rand_chacha = "0.3.1" - -[profile.release] -opt-level = 3 -debug = false -debug-assertions = false -lto = true -panic = "abort" -incremental = false -codegen-units = 1 -rpath = false -strip = false \ No newline at end of file +rand_chacha = "0.3.1" \ No newline at end of file diff --git a/benches_rt/tokio/Cargo.toml b/benches_rt/tokio/Cargo.toml index c75376a2..a2d91ab7 100644 --- a/benches_rt/tokio/Cargo.toml +++ b/benches_rt/tokio/Cargo.toml @@ -10,8 +10,7 @@ ohkami = { path = "../../ohkami", default-features = false, features = ["rt_tok tokio = { version = "1", features = ["full"] } [features] -ip = ["ohkami/ip"] -graceful = ["ohkami/graceful"] +ip = ["ohkami/ip"] [profile.release] opt-level = 3 diff --git a/ohkami/Cargo.toml b/ohkami/Cargo.toml index 9dc43d0f..835061b1 100644 --- a/ohkami/Cargo.toml +++ b/ohkami/Cargo.toml @@ -18,7 +18,7 @@ features = ["rt_tokio", "nightly", "sse", "ws"] [dependencies] -ohkami_lib = { version = "=0.2.5", path = "../ohkami_lib" } +ohkami_lib = { version = "=0.2.6", path = "../ohkami_lib" } ohkami_macros = { version = "=0.8.0", path = "../ohkami_macros" } tokio = { version = "1", optional = true, features = ["rt", "net", "time"] } diff --git a/ohkami/src/ohkami/mod.rs b/ohkami/src/ohkami/mod.rs index daa5d843..ddbcef06 100644 --- a/ohkami/src/ohkami/mod.rs +++ b/ohkami/src/ohkami/mod.rs @@ -9,12 +9,11 @@ pub(crate) mod router; pub use build::{Route, Routes}; use crate::fang::Fangs; -use ohkami_lib::signal; use std::sync::Arc; use router::TrieRouter; #[cfg(feature="__rt_native__")] -use crate::{__rt__, Session}; +use {crate::{__rt__, Session}, ohkami_lib::signal}; /// # Ohkami - a robust wolf who serves your web app /// diff --git a/ohkami_lib/Cargo.toml b/ohkami_lib/Cargo.toml index 973287c9..849e864a 100644 --- a/ohkami_lib/Cargo.toml +++ b/ohkami_lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ohkami_lib" -version = "0.2.5" +version = "0.2.6" edition = "2021" authors = ["kanarus "] description = "Internal library for Ohkami - intuitive and declarative web framework"