Remove actix feature flags in althea_types
The feature itself was removed in a previous commit but I missed the
actual feature flags.
@@ -13,9 +13,6 @@ use std::net::Ipv4Addr;
use std::str::FromStr;
use std::time::Duration;
-#[cfg(feature = "actix")]
-use actix::Message;
-
/// This is how nodes are identified.
#[derive(Debug, Serialize, Deserialize, Clone, Copy)]
pub struct Identity {
@@ -279,11 +276,6 @@ pub struct ExitClientDetails {
pub client_internal_ip: IpAddr,
}
-#[cfg(feature = "actix")]
-impl Message for Identity {
- type Result = ();
-}
-
/// This is all the data we need to give a neighbor to open a wg connection
/// this is also known as a "hello" packet or message
#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Hash, Clone, Copy)]
@@ -293,11 +285,6 @@ pub struct LocalIdentity {
pub global: Identity,
}
-#[cfg(feature = "actix")]
-impl Message for LocalIdentity {
- type Result = ();
-}
-
/// This is all the data a light client needs to open a light client tunnel
#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Hash, Clone, Copy)]
pub struct LightClientLocalIdentity {
@@ -313,11 +300,6 @@ pub struct LightClientLocalIdentity {
pub price: u128,
}
-#[cfg(feature = "actix")]
-impl Message for LightClientLocalIdentity {
- type Result = ();
-}
-
/// This represents a generic payment that may be to or from us
/// when completed it contains a txid from a published transaction
/// that should be validated against the blockchain
