Skip to content

Commit

Permalink
version bump, clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ddboline committed Nov 2, 2023
1 parent 9935f45 commit a44dedd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "security_log_analysis_rust"
version = "0.11.0"
version = "0.11.1"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand All @@ -16,8 +16,8 @@ Analyze Auth Logs."""
anyhow = "1.0"
authorized_users = { git = "https://github.com/ddboline/auth_server_rust.git", tag="0.11.0"}
aws-config = "0.56"
aws-sdk-s3 = "0.31"
aws-sdk-ses = "0.31"
aws-sdk-s3 = "0.34"
aws-sdk-ses = "0.34"
bytes = "1.0"
cached = {version="0.46", features=["async", "async_tokio_rt_multi_thread"]}
chrono = "0.4"
Expand All @@ -40,7 +40,7 @@ itertools = "0.11"
log = "0.4"
maplit = "1.0"
parking_lot = "0.12"
polars = {version="0.33", features=["temporal", "parquet", "lazy"]}
polars = {version="0.34", features=["temporal", "parquet", "lazy"]}
postgres_query = {git = "https://github.com/ddboline/rust-postgres-query", tag = "0.3.5", features=["deadpool"]}
postgres-types = {version="0.2", features=["with-time-0_3", "with-uuid-1", "with-serde_json-1"]}
rand = "0.8"
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#![allow(clippy::cast_possible_truncation)]
#![allow(clippy::cast_possible_wrap)]
#![allow(clippy::case_sensitive_file_extension_comparisons)]
#![allow(clippy::ignored_unit_patterns)]

pub mod config;
pub mod errors;
Expand Down
2 changes: 1 addition & 1 deletion src/logged_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl LoggedUser {
.and(cookie("jwt"))
.and_then(|id: Uuid, user: Self| async move {
user.verify_session_id(id)
.map(|_| user)
.map(|()| user)
.map_err(rweb::reject::custom)
})
}
Expand Down
1 change: 1 addition & 0 deletions src/security_log_element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub fn index_body(data: StackString, config: Config) -> String {
dioxus_ssr::render(&app)
}

#[allow(clippy::ignored_unit_patterns)]
#[inline_props]
fn index_element(cx: Scope, data: StackString, config: Config) -> Element {
let maps_script = config.maps_api_key.as_ref().map(|map_api_key| {
Expand Down

0 comments on commit a44dedd

Please sign in to comment.