Skip to content

Commit

Permalink
Update README example Cargo.toml (#60)
Browse files Browse the repository at this point in the history
The `Cargo.toml` is missing the `opentelemetry_sdk` dependency to get
the `Basic Usage` example working.

## Motivation

Ensure new users to tracing-otel can get up and running easily with the
provided example.

## Solution

Update the `Cargo.toml` to the correct set of deps used in the README
example.
  • Loading branch information
rthomas authored Sep 27, 2023
1 parent a03ff22 commit 5223a67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ fn main() {
```toml
[dependencies]
opentelemetry = "0.20"
opentelemetry_sdk = "0.20"
opentelemetry-stdout = { version = "0.1.0", features = ["trace"] }
tracing = "0.1"
tracing-opentelemetry = "0.21"
Expand Down

0 comments on commit 5223a67

Please sign in to comment.