Skip to content
Open
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
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ pub enum DnsStamp {
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct DnsCrypt {
/// server properties
props: Props,
pub props: Props,
/// addr is the IP address, as a string, with a port number if the server
/// is not accessible over the standard port for the protocol (443).
addr: SocketAddr,
pub addr: SocketAddr,
/// pk is the DNSCrypt provider’s Ed25519 public key, as 32 raw bytes.
pk: [u8; 32],
pub pk: [u8; 32],
/// providerName is the DNSCrypt provider name.
provider_name: String,
pub provider_name: String,
}

/// DoH configuration parsed from a dnsstamp
Expand Down