udp: replace dependency "chrono" with "time"

This commit is contained in:
Joakim Frostegård 2022-03-20 19:57:44 +01:00
parent 6197d120a6
commit 83987563ec
3 changed files with 28 additions and 5 deletions

24
Cargo.lock generated
View file

@ -188,7 +188,6 @@ dependencies = [
"aquatic_toml_config",
"aquatic_udp_protocol",
"cfg-if",
"chrono",
"crossbeam-channel",
"hex",
"log",
@ -202,6 +201,7 @@ dependencies = [
"signal-hook",
"slab",
"socket2 0.4.4",
"time 0.3.7",
"tinytemplate",
]
@ -508,7 +508,7 @@ dependencies = [
"libc",
"num-integer",
"num-traits",
"time",
"time 0.1.43",
"winapi 0.3.9",
]
@ -1416,6 +1416,15 @@ dependencies = [
"libc",
]
[[package]]
name = "num_threads"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aba1801fb138d8e85e11d0fc70baf4fe1cdfffda7c6cd34a854905df588e5ed0"
dependencies = [
"libc",
]
[[package]]
name = "number_prefix"
version = "0.4.0"
@ -2044,6 +2053,17 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "time"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "004cbc98f30fa233c61a38bc77e96a9106e65c88f2d3bef182ae952027e5753d"
dependencies = [
"itoa 1.0.1",
"libc",
"num_threads",
]
[[package]]
name = "tinytemplate"
version = "1.2.1"