From b5aba5f4bd40d88f10ce0ccd298f6eec61bc98e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E5=BE=8B=E7=BA=AF?= Date: Sun, 8 Sep 2024 04:33:02 +0800 Subject: [PATCH] fix(deps)!: bump time and num_threads crates (#104) (#105) --- Cargo.lock | 20 ++++++++++++++++---- Cargo.toml | 3 ++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e25d17e..df28ac2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,6 +86,7 @@ version = "0.1.8-alpha.2" dependencies = [ "printpdf", "pyo3", + "time", ] [[package]] @@ -190,6 +191,15 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + [[package]] name = "once_cell" version = "1.19.0" @@ -410,13 +420,15 @@ checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", + "libc", "num-conv", + "num_threads", "powerfmt", "serde", "time-core", @@ -431,9 +443,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", diff --git a/Cargo.toml b/Cargo.toml index 4b6d99c..a82a913 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,5 @@ crate-type = ["cdylib"] [dependencies] printpdf = "0.7.0" -pyo3 = { version = "0.19.2", features = ["abi3-py39"] } \ No newline at end of file +pyo3 = { version = "0.19.2", features = ["abi3-py39"] } +time = { version = "0.3.36", features = ["formatting", "macros", "local-offset"] } \ No newline at end of file