Skip to content

Commit

Permalink
stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Jan 30, 2025
1 parent 207cac4 commit 825e32e
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cargo-features = ["profile-rustflags"]
# cargo-features = ["profile-rustflags"]

[workspace]
members = [
Expand Down Expand Up @@ -37,4 +37,4 @@ strip = "debuginfo"

[profile.coverage]
inherits = "dev"
rustflags = ["-Cinstrument-coverage"]
# rustflags = ["-Cinstrument-coverage"]
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2024-07-09
1.84.0
1 change: 0 additions & 1 deletion warpgate-admin/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(decl_macro, proc_macro_hygiene)]
pub mod api;
use poem::{EndpointExt, IntoEndpoint, Route};
use poem_openapi::OpenApiService;
Expand Down
1 change: 0 additions & 1 deletion warpgate-admin/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(type_alias_impl_trait, try_blocks)]
mod api;
use poem_openapi::OpenApiService;
use regex::Regex;
Expand Down
8 changes: 4 additions & 4 deletions warpgate-common/src/config/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ pub(crate) fn _default_postgres_listen() -> ListenEndpoint {

#[inline]
pub(crate) fn _default_retention() -> Duration {
Duration::SECOND * 60 * 60 * 24 * 7
Duration::from_secs(60 * 60 * 24 * 7)
}

#[inline]
pub(crate) fn _default_session_max_age() -> Duration {
Duration::SECOND * 60 * 30
Duration::from_secs(60 * 30)
}

#[inline]
pub(crate) fn _default_cookie_max_age() -> Duration {
Duration::SECOND * 60 * 60 * 24
Duration::from_secs(60 * 60 * 24)
}

#[inline]
Expand All @@ -83,5 +83,5 @@ pub(crate) fn _default_ssh_keys_path() -> String {
}

pub(crate) fn _default_ssh_inactivity_timeout() -> Duration {
Duration::SECOND * 60 * 5
Duration::from_secs(60 * 5)
}
1 change: 0 additions & 1 deletion warpgate-common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(duration_constants)]
pub mod auth;
mod config;
pub mod consts;
Expand Down
1 change: 0 additions & 1 deletion warpgate-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(duration_constants, try_blocks)]
pub mod consts;
mod data;
mod state;
Expand Down
1 change: 0 additions & 1 deletion warpgate-protocol-http/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(type_alias_impl_trait, try_blocks)]
pub mod api;
mod catchall;
mod common;
Expand Down
1 change: 0 additions & 1 deletion warpgate-protocol-http/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(type_alias_impl_trait, try_blocks)]
use poem_openapi::OpenApiService;
use regex::Regex;
use warpgate_protocol_http::api;
Expand Down
1 change: 0 additions & 1 deletion warpgate-protocol-mysql/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(type_alias_impl_trait, try_blocks)]
mod client;
mod common;
mod error;
Expand Down
1 change: 0 additions & 1 deletion warpgate-protocol-postgres/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(type_alias_impl_trait, try_blocks)]
mod client;
mod common;
mod error;
Expand Down
1 change: 0 additions & 1 deletion warpgate-protocol-ssh/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(type_alias_impl_trait, try_blocks)]
mod client;
mod common;
mod compat;
Expand Down
1 change: 0 additions & 1 deletion warpgate/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![feature(type_alias_impl_trait)]
mod commands;
mod config;
mod logging;
Expand Down

0 comments on commit 825e32e

Please sign in to comment.