From 33a94ca7d5dbff28cb59ffc7542aca7a613ef0b4 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 2 Jun 2020 16:00:26 -0700 Subject: [PATCH] just one cargo feature for tracing/log --- crates/wiggle/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/wiggle/Cargo.toml b/crates/wiggle/Cargo.toml index b376d8d4b9..838e2a42f5 100644 --- a/crates/wiggle/Cargo.toml +++ b/crates/wiggle/Cargo.toml @@ -30,4 +30,10 @@ proptest = "0.9" # crate unless they want it. wiggle_metadata = ['witx', "wiggle-macro/wiggle_metadata"] +# The `tracing` crate can use the `log` ecosystem of backends with this +# non-default feature. We don't need to provide this by default, but its +# useful for users that don't want to use `tracing-subscriber` to get +# the logs out of wiggle-generated libraries. +tracing_log = [ "tracing/log" ] + default = ["wiggle_metadata" ]