equal
deleted
inserted
replaced
13 utils::is_name_illegal |
13 utils::is_name_illegal |
14 }; |
14 }; |
15 #[cfg(feature = "official-server")] |
15 #[cfg(feature = "official-server")] |
16 use openssl::sha::sha1; |
16 use openssl::sha::sha1; |
17 use std::fmt::{Formatter, LowerHex}; |
17 use std::fmt::{Formatter, LowerHex}; |
|
18 use log::*; |
18 |
19 |
19 #[derive(PartialEq)] |
20 #[derive(PartialEq)] |
20 struct Sha1Digest([u8; 20]); |
21 struct Sha1Digest([u8; 20]); |
21 |
22 |
22 impl LowerHex for Sha1Digest { |
23 impl LowerHex for Sha1Digest { |