Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiemontese committed Nov 28, 2024
1 parent 6be778a commit 5961644
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.9.0] - 2024-11-25

### Added

- New `event_with_options!` macro, [see the original repo](https://github.com/mcasper/dogstatsd-rs) for more details

### Changed

- Bump `dogstatsd` to 0.12
- Bumped MSRV to 1.74
- `event!` macro can now accept `EventOptions` as last argument before tags, [see the original repo](https://github.com/mcasper/dogstatsd-rs) for more details

---

Expand Down
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@
//! service_check!("test", ServiceStatus::OK, ServiceCheckOptions::default());
//! # event!("test", "test event");
//! event!("test", "test event"; "some" => "data");
//! # event_with_options!("test", "test event", EventOptions::new());
//! event_with_options!("test", "test event", EventOptions::new(); "some" => "data");
//! # event!("test", "test event", None);
//! # event!("test", "test event", EventOptions::new());
//! # event!("test", "test event", EventOptions::new(); "some" => "data");
//! ```
//!
//! This is an example of a custom metric, in this case based on an enum type, but it can really be
Expand Down

0 comments on commit 5961644

Please sign in to comment.