Skip to content

Commit

Permalink
fix to pass CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarus committed Sep 2, 2024
1 parent ec440ee commit 2cf3d1d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 2 additions & 13 deletions benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
authors = ["kanarus <[email protected]>"]

[features]
DEBUG = ["ohkami/DEBUG", "ohkami/graceful"]
DEBUG = ["ohkami/DEBUG"]
# `--no-default-features` when running `bin/`
default = ["DEBUG"]

Expand All @@ -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
rand_chacha = "0.3.1"
3 changes: 1 addition & 2 deletions benches_rt/tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ohkami/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
3 changes: 1 addition & 2 deletions ohkami/src/ohkami/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down
2 changes: 1 addition & 1 deletion ohkami_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ohkami_lib"
version = "0.2.5"
version = "0.2.6"
edition = "2021"
authors = ["kanarus <[email protected]>"]
description = "Internal library for Ohkami - intuitive and declarative web framework"
Expand Down

0 comments on commit 2cf3d1d

Please sign in to comment.