Skip to content

Commit 012528a

Browse files
committed
Add badges to README
1 parent 2aef356 commit 012528a

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
tool: protoc
2222
- name: Checkout
2323
uses: actions/checkout@v2
24-
- name: get version
24+
- name: Get version
2525
run: echo PACKAGE_VERSION=$(sed -nE 's/^\s*version = "(.*?)"/\1/p' Cargo.toml) >> $GITHUB_ENV
26-
- name: check published version
26+
- name: Check published version
2727
run: echo PUBLISHED_VERSION=$(cargo search kcl --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -) >> $GITHUB_ENV
2828
- name: cargo login
2929
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
@@ -34,7 +34,7 @@ jobs:
3434
cargo package
3535
echo "We will publish:" $PACKAGE_VERSION
3636
echo "This is current latest:" $PUBLISHED_VERSION
37-
- name: Publish KCL
37+
- name: Publish
3838
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
3939
run: |
4040
echo "# Cargo Publish"

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![crates-badge]](https://crates.io/crates/ddtrace)
2+
[![docs-badge]](https://docs.rs/ddtrace)
3+
[![Crates.io](https://img.shields.io/crates/l/ddtrace)](LICENSE)
4+
15
Datadog tracing and log correlation for Rust services.
26

37
Datadog has official support for Python, which includes various SDKs and
@@ -160,3 +164,6 @@ fn get_http_client() -> ClientWithMiddleware {
160164
.build()
161165
}
162166
```
167+
168+
[crates-badge]: https://img.shields.io/crates/v/ddtrace.svg
169+
[docs-badge]: https://docs.rs/ddtrace/badge.svg

0 commit comments

Comments
 (0)