Browse Source

Add debug-tracing feature to all crates

The feature needs to be defined in all manifests in order to be enabled
in all crates.
tags/pre-alpha-0.3.1
Manos Pitsidianakis 6 months ago
parent
commit
5a53020f3d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: 73627C2F690DF710
3 changed files with 14 additions and 2 deletions
  1. +1
    -0
      melib/Cargo.toml
  2. +7
    -2
      testing/Cargo.toml
  3. +6
    -0
      ui/Cargo.toml

+ 1
- 0
melib/Cargo.toml View File

@@ -29,6 +29,7 @@ libc = {version = "0.2.59", features = ["extra_traits",]}
[features]
default = ["unicode_algorithms", "imap_backend", "maildir_backend", "mbox_backend"]

debug-tracing = []
unicode_algorithms = ["text_processing"]
imap_backend = ["native-tls"]
maildir_backend = ["notify", "notify-rust", "memmap"]


+ 7
- 2
testing/Cargo.toml View File

@@ -16,7 +16,12 @@ path = "src/linebreak.rs"
name = "imapconn"
path = "src/imap_conn.rs"


[dependencies]
melib = { path = "../melib", version = "*" }
melib = { path = "../melib", version = "*", features = ["debug-tracing"] }
text_processing = { path = "../text_processing", version = "*" }

[features]
default = []

# Print tracing logs as meli runs
debug-tracing = []

+ 6
- 0
ui/Cargo.toml View File

@@ -25,3 +25,9 @@ uuid = { version = "0.6", features = ["serde", "v4"] }
unicode-segmentation = "1.2.1" # >:c
text_processing = { path = "../text_processing", version = "*" }
libc = {version = "0.2.59", features = ["extra_traits",]}

[features]
default = []

# Print tracing logs as meli runs
debug-tracing = []

Loading…
Cancel
Save