From fbc07fb933a1f806fc1409a7eea872156a4c1c5c Mon Sep 17 00:00:00 2001 From: Igor Cota Date: Tue, 13 Aug 2024 09:08:45 +0200 Subject: [PATCH] Pin 'time' to specific version --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- rust/Cargo.lock | 41 +++++++++++++++++++++++++++++------------ rust/Cargo.toml | 3 ++- rust/rust-toolchain | 4 ++++ 5 files changed, 40 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48fbdf5..2ca32a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.6 + +* Pinned 'time' to a specific version + ## 0.0.5 * Added rust-toolchain file diff --git a/pubspec.yaml b/pubspec.yaml index b515256..8dfc9ad 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: tor description: A multi-platform Flutter plugin for managing a Tor proxy. Based on arti. -version: 0.0.5 +version: 0.0.6 homepage: https://github.com/Foundation-Devices/tor platforms: diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 58c5597..b17e38a 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -837,10 +837,11 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ + "powerfmt", "serde", ] @@ -878,7 +879,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c173dfcd5b92893ab05a8efb18b9522db4db6e0b93db5740f397573c027ce1e" dependencies = [ "derive-deftly-macros", - "heck 0.4.1", + "heck 0.5.0", ] [[package]] @@ -887,14 +888,14 @@ version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "216fa20211bcd18cc359b75413bfb6cf89f62568fa27bc5fed3778a7a16e17af" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "indexmap 2.0.0", "itertools 0.12.0", "proc-macro-crate", "proc-macro2", "quote", "sha3", - "strum 0.25.0", + "strum 0.26.3", "syn 2.0.32", "void", ] @@ -1933,6 +1934,12 @@ dependencies = [ "zeroize", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-integer" version = "0.1.45" @@ -2287,6 +2294,12 @@ dependencies = [ "thiserror", ] +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -3096,12 +3109,14 @@ dependencies = [ [[package]] name = "time" -version = "0.3.28" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", + "num-conv", + "powerfmt", "serde", "time-core", "time-macros", @@ -3109,16 +3124,17 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.14" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ + "num-conv", "time-core", ] @@ -3246,7 +3262,7 @@ dependencies = [ [[package]] name = "tor" -version = "0.0.5" +version = "0.0.6" dependencies = [ "anyhow", "arti", @@ -3255,6 +3271,7 @@ dependencies = [ "lazy_static", "log", "rlimit", + "time", "tokio", "tor-config", "tor-rtcompat", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index effbb87..06c19f7 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "tor" -version = "0.0.5" +version = "0.0.6" authors = ["Igor Cota "] edition = "2021" @@ -22,6 +22,7 @@ log = "0.4.20" #android_log-sys = "0.3.1" rlimit = "0.10.1" anyhow = "1.0.79" +time = "0.3.36" [build-dependencies] cbindgen = "= 0.24.3" diff --git a/rust/rust-toolchain b/rust/rust-toolchain index 628740b..869c5f3 100644 --- a/rust/rust-toolchain +++ b/rust/rust-toolchain @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2024 Foundation Devices Inc. +# +# SPDX-License-Identifier: GPL-3.0-or-later + [toolchain] channel = "1.79.0"