diff --git a/Cargo.toml b/Cargo.toml index e3268bd..37985e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,4 +23,4 @@ jsonwebtoken = "7.2.0" chrono = { version = "0.4", features = ["serde"] } humantime = "2.1.0" tokio = "1" -figment = { version = "0.10.6", features = ["toml", "env"] } \ No newline at end of file +figment = { version = "0.10.6", features = ["toml", "env"] } diff --git a/api.yml b/api.yml index fdef762..ccbbf92 100644 --- a/api.yml +++ b/api.yml @@ -434,4 +434,3 @@ paths: responses: '200': description: '' - diff --git a/src/dns/client.rs b/src/dns/client.rs index e914b26..bf085ae 100644 --- a/src/dns/client.rs +++ b/src/dns/client.rs @@ -53,4 +53,4 @@ where // This is from the future_utils crate, we simply reuse the reexport from Rocket rocket::futures::FutureExt::poll_unpin(&mut self.0, cx).map_err(ClientError::from) } -} \ No newline at end of file +} diff --git a/src/dns/dns_connector.rs b/src/dns/dns_connector.rs index 87f7578..e27a9b1 100644 --- a/src/dns/dns_connector.rs +++ b/src/dns/dns_connector.rs @@ -275,4 +275,4 @@ impl ZoneConnector for DnsConnectorClient { Ok(()) } -} \ No newline at end of file +} diff --git a/src/dns/mod.rs b/src/dns/mod.rs index 6abeca3..c1e2c65 100644 --- a/src/dns/mod.rs +++ b/src/dns/mod.rs @@ -14,4 +14,4 @@ pub use trust_dns_proto::rr::Name; // Reexport module types pub use connector::{RecordConnector, ZoneConnector, ConnectorError}; pub use dns_connector::{DnsConnectorClient, DnsConnectorError}; -pub use client::DnsClient; \ No newline at end of file +pub use client::DnsClient; diff --git a/src/models/auth.rs b/src/models/auth.rs index 05fca5e..b0a63b7 100644 --- a/src/models/auth.rs +++ b/src/models/auth.rs @@ -60,4 +60,4 @@ impl AuthClaims { pub fn encode(self, secret: &str) -> JwtResult { encode(&Header::default(), &self, &EncodingKey::from_secret(secret.as_ref())) } -} \ No newline at end of file +} diff --git a/src/models/class.rs b/src/models/class.rs index 7cb45d9..3eea893 100644 --- a/src/models/class.rs +++ b/src/models/class.rs @@ -37,4 +37,4 @@ impl From for dns::DNSClass { DNSClass::OPT(v) => dns::DNSClass::OPT(v), } } -} \ No newline at end of file +} diff --git a/src/models/mod.rs b/src/models/mod.rs index 67a95b8..5d1b2bd 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -16,4 +16,4 @@ pub use name::{AbsoluteName, SerdeName}; pub use user::{LocalUser, UserInfo, Role, UserZone, User, CreateUserRequest}; pub use rdata::RData; pub use record::{Record, RecordList, ParseRecordList, RecordListParseError, UpdateRecordsRequest}; -pub use zone::{Zone, AddZoneMemberRequest, CreateZoneRequest}; \ No newline at end of file +pub use zone::{Zone, AddZoneMemberRequest, CreateZoneRequest}; diff --git a/src/models/name.rs b/src/models/name.rs index 11438e9..1ebc3a7 100644 --- a/src/models/name.rs +++ b/src/models/name.rs @@ -75,4 +75,4 @@ impl AbsoluteName { pub fn into_inner(self) -> Name { self.0.0 } -} \ No newline at end of file +} diff --git a/src/models/record.rs b/src/models/record.rs index 8e51efd..1027dae 100644 --- a/src/models/record.rs +++ b/src/models/record.rs @@ -119,4 +119,3 @@ impl ParseRecordList for RecordList { return Ok(records) } } - diff --git a/src/models/user.rs b/src/models/user.rs index bf375cd..a52dbc9 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -246,4 +246,4 @@ impl LocalUser { username: client_localuser.username, }) } -} \ No newline at end of file +} diff --git a/src/models/zone.rs b/src/models/zone.rs index afca690..4285352 100644 --- a/src/models/zone.rs +++ b/src/models/zone.rs @@ -90,4 +90,4 @@ impl Zone { }; Ok(()) } -} \ No newline at end of file +}