Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Apr 12, 2024
1 parent fb5f251 commit 0495f87
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 5 deletions.
5 changes: 4 additions & 1 deletion glide-core/src/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**
/*
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/

#![deny(unsafe_op_in_unsafe_fn)]

mod types;

use crate::scripts_container::get_script;
Expand Down
5 changes: 4 additions & 1 deletion glide-core/src/client/reconnecting_connection.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**
/*
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/

#![deny(unsafe_op_in_unsafe_fn)]

use super::{NodeAddress, TlsMode};
use crate::retry_strategies::RetryStrategy;
use futures_intrusive::sync::ManualResetEvent;
Expand Down
5 changes: 4 additions & 1 deletion glide-core/src/client/standalone_client.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**
/*
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/

#![deny(unsafe_op_in_unsafe_fn)]

use super::get_redis_connection_info;
use super::reconnecting_connection::ReconnectingConnection;
use super::{ConnectionRequest, NodeAddress, TlsMode};
Expand Down
2 changes: 2 additions & 0 deletions glide-core/src/client/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/

#![deny(unsafe_op_in_unsafe_fn)]

use std::time::Duration;

#[cfg(feature = "socket-layer")]
Expand Down
5 changes: 4 additions & 1 deletion glide-core/src/client/value_conversion.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**
/*
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/

#![deny(unsafe_op_in_unsafe_fn)]

use redis::{
cluster_routing::Routable, from_owned_redis_value, Cmd, ErrorKind, RedisResult, Value,
};
Expand Down
2 changes: 2 additions & 0 deletions glide-core/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/

#![deny(unsafe_op_in_unsafe_fn)]

use redis::RedisError;

#[repr(C)]
Expand Down
5 changes: 4 additions & 1 deletion glide-core/src/request_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**
/*
* Copyright GLIDE-for-Redis Project Contributors - SPDX Identifier: Apache-2.0
*/

#![deny(unsafe_op_in_unsafe_fn)]

use redis::{cmd, Cmd};

#[cfg(feature = "socket-layer")]
Expand Down

0 comments on commit 0495f87

Please sign in to comment.