Skip to content

Commit 5223a67

Browse files
authored
Update README example Cargo.toml (#60)
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.
1 parent a03ff22 commit 5223a67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ fn main() {
9595
```toml
9696
[dependencies]
9797
opentelemetry = "0.20"
98+
opentelemetry_sdk = "0.20"
9899
opentelemetry-stdout = { version = "0.1.0", features = ["trace"] }
99100
tracing = "0.1"
100101
tracing-opentelemetry = "0.21"

0 commit comments

Comments
 (0)