mirror of
https://github.com/DNSCrypt/encrypted-dns-server.git
synced 2024-06-11 05:16:04 +02:00
Serialization now requires the Copy trait
This commit is contained in:
parent
f2e4fe5eb0
commit
641ba88ab1
|
@ -22,7 +22,7 @@ fn now() -> u32 {
|
|||
.as_secs() as _
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Default, Copy, Clone, Serialize, Deserialize)]
|
||||
#[repr(C, packed)]
|
||||
pub struct DNSCryptCertInner {
|
||||
resolver_pk: [u8; 32],
|
||||
|
|
Loading…
Reference in New Issue