From 7f1b33a567c9f3dca36bc4b3c42500ee49b28dda Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 3 Jan 2021 19:20:35 +0900 Subject: [PATCH] Add tracing crate to dependences --- Cargo.lock | 15 +++++++++++++++ Cargo.toml | 1 + plume-common/Cargo.toml | 1 + plume-models/Cargo.toml | 1 + 4 files changed, 18 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 70be0aef..46e6bef3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2598,6 +2598,7 @@ dependencies = [ "serde 1.0.118 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.61 (registry+https://github.com/rust-lang/crates.io-index)", "shrinkwraprs 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", "validator 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "validator_derive 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "webfinger 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2646,6 +2647,7 @@ dependencies = [ "shrinkwraprs 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "syntect 4.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2704,6 +2706,7 @@ dependencies = [ "serde_json 1.0.61 (registry+https://github.com/rust-lang/crates.io-index)", "shrinkwraprs 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "tantivy 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)", "url 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "walkdir 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "webfinger 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4179,9 +4182,20 @@ dependencies = [ "cfg-if 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", "pin-project-lite 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tracing-attributes 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)", "tracing-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "tracing-attributes" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 1.0.56 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "tracing-core" version = "0.1.17" @@ -5071,6 +5085,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f" "checksum tower-service 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860" "checksum tracing 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)" = "9f47026cdc4080c07e49b37087de021820269d996f581aac150ef9e5583eefe3" +"checksum tracing-attributes 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "80e0ccfc3378da0cce270c946b676a376943f5cd16aeba64568e7939806f4ada" "checksum tracing-core 0.1.17 (registry+https://github.com/rust-lang/crates.io-index)" = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f" "checksum tracing-futures 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c" "checksum traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" diff --git a/Cargo.toml b/Cargo.toml index b91c1a79..64a50f03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,7 @@ shrinkwraprs = "0.2.1" validator = "0.8" validator_derive = "0.8" webfinger = "0.4.1" +tracing = "0.1.22" [[bin]] name = "plume" diff --git a/plume-common/Cargo.toml b/plume-common/Cargo.toml index 842121c9..e688182b 100644 --- a/plume-common/Cargo.toml +++ b/plume-common/Cargo.toml @@ -23,6 +23,7 @@ shrinkwraprs = "0.3.0" syntect = "4.5.0" tokio = "0.1.22" regex-syntax = { version = "0.6.17", default-features = false, features = ["unicode-perl"] } +tracing = "0.1.22" [dependencies.chrono] features = ["serde"] diff --git a/plume-models/Cargo.toml b/plume-models/Cargo.toml index 74ac134a..3b4e5501 100644 --- a/plume-models/Cargo.toml +++ b/plume-models/Cargo.toml @@ -32,6 +32,7 @@ shrinkwraprs = "0.2.1" diesel-derive-newtype = "0.1.2" glob = "0.3.0" lindera-tantivy = { version = "0.1.3", optional = true } +tracing = "0.1.22" [dependencies.chrono] features = ["serde"]