Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/de.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use addr::{SocketAddr, SocketAddrV4, SocketAddrV6};
use crate::addr::{SocketAddr, SocketAddrV4, SocketAddrV6};
use crate::ip::{IpAddr, Ipv4Addr, Ipv6Addr};
use core::{fmt, str};
use ip::{IpAddr, Ipv4Addr, Ipv6Addr};
use serde::de::{Deserialize, Deserializer, EnumAccess, Error, Unexpected, VariantAccess, Visitor};

macro_rules! variant_identifier {
Expand Down
4 changes: 2 additions & 2 deletions src/ser.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use serde::ser::{Error, Serialize, Serializer};

use addr::{SocketAddr, SocketAddrV4, SocketAddrV6};
use ip::{IpAddr, Ipv4Addr, Ipv6Addr};
use crate::addr::{SocketAddr, SocketAddrV4, SocketAddrV6};
use crate::ip::{IpAddr, Ipv4Addr, Ipv6Addr};

use core::fmt::{self, write, Write};

Expand Down