Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 132 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ fuel-types = "0.62"
fuel-tx = "0.62"
fuel-vm = "0.62"

# Dependencies for Fuel Telemetry
fuel-telemetry = "0.1"

# Dependencies from the `forc-wallet` repository:
forc-wallet = "0.15"

Expand Down
3 changes: 2 additions & 1 deletion forc-plugins/forc-publish/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ pub struct Opt {

#[tokio::main]
async fn main() {
init_tracing_subscriber(TracingSubscriberOptions::default());
let tracing_options = TracingSubscriberOptions::default();
init_tracing_subscriber(tracing_options.clone());

if let Err(err) = run().await {
println!();
Expand Down
5 changes: 5 additions & 0 deletions forc-tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ homepage.workspace = true
license.workspace = true
repository.workspace = true

[features]
default = []
telemetry = ["dep:fuel-telemetry"]

[dependencies]
ansiterm.workspace = true
fuel-telemetry = { workspace = true, optional = true }
regex.workspace = true
tracing.workspace = true
tracing-subscriber = { workspace = true, features = ["ansi", "env-filter", "json"] }
Expand Down
Loading
Loading