Browse Source

Enable tracing subscriber for C and C++ node APIs by default

tags/v0.2.0-candidate
Philipp Oppermann 2 years ago
parent
commit
df17e2b2cf
Failed to extract signature
2 changed files with 9 additions and 2 deletions
  1. +4
    -0
      apis/c++/node/Cargo.toml
  2. +5
    -2
      apis/c/node/Cargo.toml

+ 4
- 0
apis/c++/node/Cargo.toml View File

@@ -8,6 +8,10 @@ edition = "2021"
[lib]
crate-type = ["staticlib"]

[features]
default = ["tracing-subscriber"]
tracing-subscriber = ["dora-node-api/tracing-subscriber"]

[dependencies]
cxx = "1.0.73"
dora-node-api = { workspace = true }


+ 5
- 2
apis/c/node/Cargo.toml View File

@@ -9,11 +9,14 @@ license = "Apache-2.0"
[lib]
crate-type = ["staticlib"]

[features]
default = ["tracing-subscriber"]
tracing-subscriber = ["dora-node-api/tracing-subscriber"]

[dependencies]
eyre = "0.6.8"
flume = "0.10.14"
tracing = "0.1.33"

[dependencies.dora-node-api]
default-features = false
path = "../../rust/node"
workspace = true

Loading…
Cancel
Save