Reexport debug-tracing feature from main Cargo.toml

Main crate's feature didn't enable the same feature in the workspace
subcrates.
This commit is contained in:
Manos Pitsidianakis 2019-09-28 23:11:48 +03:00
parent b7edec0274
commit c7bcb9e553
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710
2 changed files with 17 additions and 20 deletions

28
Cargo.lock generated
View File

@ -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)",

View File

@ -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"]