From 6e1dc612cc9c5cf81fa5d501813f76ee9b4b7bbc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 3 Feb 2022 19:06:59 +0000 Subject: [PATCH] tor-error: Add as a ddpendency to many crates Doing this here makes it easier when I rebase/reorder things --- Cargo.lock | 5 +++++ crates/arti-client/Cargo.toml | 1 + crates/tor-chanmgr/Cargo.toml | 1 + crates/tor-circmgr/Cargo.toml | 1 + crates/tor-dirmgr/Cargo.toml | 1 + crates/tor-persist/Cargo.toml | 1 + 6 files changed, 10 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index edf62be7f..87ae67760 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -136,6 +136,7 @@ dependencies = [ "tor-circmgr", "tor-config", "tor-dirmgr", + "tor-error", "tor-persist", "tor-proto", "tor-rtcompat", @@ -2931,6 +2932,7 @@ dependencies = [ "hex-literal", "postage", "thiserror", + "tor-error", "tor-linkspec", "tor-llcrypto", "tor-proto", @@ -2967,6 +2969,7 @@ dependencies = [ "thiserror", "tor-chanmgr", "tor-config", + "tor-error", "tor-guardmgr", "tor-linkspec", "tor-llcrypto", @@ -3061,6 +3064,7 @@ dependencies = [ "tor-config", "tor-consdiff", "tor-dirclient", + "tor-error", "tor-llcrypto", "tor-netdir", "tor-netdoc", @@ -3215,6 +3219,7 @@ dependencies = [ "serde_json", "tempfile", "thiserror", + "tor-error", ] [[package]] diff --git a/crates/arti-client/Cargo.toml b/crates/arti-client/Cargo.toml index 7329b56a0..13dc52e0c 100644 --- a/crates/arti-client/Cargo.toml +++ b/crates/arti-client/Cargo.toml @@ -29,6 +29,7 @@ tor-circmgr = { path="../tor-circmgr", version = "0.0.4"} tor-config = { path="../tor-config", version = "0.0.4"} tor-chanmgr = { path="../tor-chanmgr", version = "0.0.4"} tor-dirmgr = { path="../tor-dirmgr", version = "0.0.4"} +tor-error = { path="../tor-error", version = "0.0.1" } tor-persist = { path="../tor-persist", version = "0.0.3"} tor-proto = { path="../tor-proto", version = "0.0.4"} tor-rtcompat = { path="../tor-rtcompat", version = "0.0.4"} diff --git a/crates/tor-chanmgr/Cargo.toml b/crates/tor-chanmgr/Cargo.toml index e4328c867..392921bbf 100644 --- a/crates/tor-chanmgr/Cargo.toml +++ b/crates/tor-chanmgr/Cargo.toml @@ -13,6 +13,7 @@ repository="https://gitlab.torproject.org/tpo/core/arti.git/" [features] [dependencies] +tor-error = { path="../tor-error", version = "0.0.1"} tor-rtcompat = { path="../tor-rtcompat", version = "0.0.4"} tor-proto = { path="../tor-proto", version = "0.0.4"} tor-linkspec = { path="../tor-linkspec", version = "0.0.3"} diff --git a/crates/tor-circmgr/Cargo.toml b/crates/tor-circmgr/Cargo.toml index 44c172ff6..48bf37f4d 100644 --- a/crates/tor-circmgr/Cargo.toml +++ b/crates/tor-circmgr/Cargo.toml @@ -20,6 +20,7 @@ experimental-api = [] [dependencies] tor-chanmgr = { path="../tor-chanmgr", version = "0.0.4"} tor-config = { path="../tor-config", version = "0.0.4"} +tor-error = { path="../tor-error", version = "0.0.1"} tor-guardmgr = { path="../tor-guardmgr", version = "0.0.5"} tor-netdir = { path="../tor-netdir", version = "0.0.4"} tor-netdoc = { path="../tor-netdoc", version = "0.0.4"} diff --git a/crates/tor-dirmgr/Cargo.toml b/crates/tor-dirmgr/Cargo.toml index 08103ceb8..91dae4508 100644 --- a/crates/tor-dirmgr/Cargo.toml +++ b/crates/tor-dirmgr/Cargo.toml @@ -24,6 +24,7 @@ tor-circmgr = { path = "../tor-circmgr", version = "0.0.4"} tor-config = { path = "../tor-config", version = "0.0.4"} tor-consdiff = { path = "../tor-consdiff", version = "0.0.3"} tor-dirclient = { path = "../tor-dirclient", version = "0.0.4"} +tor-error = { path="../tor-error", version = "0.0.1"} tor-netdir = { path = "../tor-netdir", version = "0.0.4"} tor-netdoc = { path = "../tor-netdoc", version = "0.0.4"} tor-llcrypto = { path = "../tor-llcrypto", version = "0.0.3"} diff --git a/crates/tor-persist/Cargo.toml b/crates/tor-persist/Cargo.toml index 9dd127556..8f918f23d 100644 --- a/crates/tor-persist/Cargo.toml +++ b/crates/tor-persist/Cargo.toml @@ -20,6 +20,7 @@ serde = { version = "1.0.103", features = ["derive"] } serde_json = "1.0.50" sanitize-filename = "0.3.0" thiserror = "1" +tor-error = { path="../tor-error", version = "0.0.1" } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] fslock = { version = "0.2.0" }