From c7bcb9e553c9eaea307bdbec0ca9f6d1d31051c9 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sat, 28 Sep 2019 23:11:48 +0300 Subject: [PATCH] Reexport debug-tracing feature from main Cargo.toml Main crate's feature didn't enable the same feature in the workspace subcrates. --- Cargo.lock | 28 ++++++++++++++-------------- Cargo.toml | 9 +++------ 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 66f6d80b..dd3fbd7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -218,8 +218,8 @@ name = "debug_printer" version = "0.0.1" dependencies = [ "libc 0.2.59 (registry+https://github.com/rust-lang/crates.io-index)", - "melib 0.3.1", - "ui 0.3.1", + "melib 0.3.2", + "ui 0.3.2", ] [[package]] @@ -495,19 +495,19 @@ dependencies = [ [[package]] name = "meli" -version = "0.3.1" +version = "0.3.2" dependencies = [ "crossbeam 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", - "melib 0.3.1", + "melib 0.3.2", "nix 0.14.1 (registry+https://github.com/rust-lang/crates.io-index)", "signal-hook 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", - "ui 0.3.1", + "ui 0.3.2", "xdg 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "melib" -version = "0.3.1" +version = "0.3.2" dependencies = [ "bincode 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -525,7 +525,7 @@ dependencies = [ "serde 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "text_processing 0.3.1", + "text_processing 0.3.2", "uuid 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "xdg 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1081,15 +1081,15 @@ dependencies = [ [[package]] name = "testing" -version = "0.3.1" +version = "0.3.2" dependencies = [ - "melib 0.3.1", - "text_processing 0.3.1", + "melib 0.3.2", + "text_processing 0.3.2", ] [[package]] name = "text_processing" -version = "0.3.1" +version = "0.3.2" dependencies = [ "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1114,14 +1114,14 @@ dependencies = [ [[package]] name = "ui" -version = "0.3.1" +version = "0.3.2" dependencies = [ "bincode 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.59 (registry+https://github.com/rust-lang/crates.io-index)", "linkify 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "melib 0.3.1", + "melib 0.3.2", "mime_apps 0.2.0 (git+https://git.meli.delivery/meli/mime_apps)", "nom 3.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "notify 4.0.12 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1130,7 +1130,7 @@ dependencies = [ "serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "text_processing 0.3.1", + "text_processing 0.3.2", "toml 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 168a6028..612060c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,9 +15,6 @@ signal-hook = "0.1.10" nix = "*" melib = { path = "melib", version = "*" } ui = { path = "ui", version = "*" } -#enable for debug tracing logs -#melib = { path = "melib", version = "*", features=["debug-tracing",] } -#ui = { path = "ui", version = "*", features=["debug-tracing",] } [profile.release] lto = true @@ -28,7 +25,7 @@ members = ["melib", "ui", "debug_printer", "testing", "text_processing"] [features] default = [] + # Print tracing logs as meli runs in stderr -# -# enable for debug tracing logs -# debug-tracing = [] +# enable for debug tracing logs: build with --features=debug-tracing +debug-tracing = ["melib/debug-tracing", "ui/debug-tracing"]