Skip to content

Commit

Permalink
fix snake_case bug
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Oct 13, 2023
1 parent 07b6a29 commit efd02cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.19.0-rc3]
### Changed
- Dogstatsd payload generation uses snake-case.

## [0.19.0-rc2]
### Changed
- Dogstatsd payload generation now takes range configuration, allows constant settings.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion lading/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lading"
version = "0.19.0-rc2"
version = "0.19.0-rc3"
authors = ["Brian L. Troutwine <[email protected]>", "George Hahn <[email protected]"]
edition = "2021"
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions lading_payload/src/dogstatsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ pub struct ValueConf {

/// Range expression for configuration
#[derive(Debug, Deserialize, Clone, PartialEq, Copy)]
#[serde(rename_all = "snake_case")]
pub enum ConfRange<T>
where
T: PartialEq + cmp::PartialOrd + Clone + Copy,
Expand Down

0 comments on commit efd02cc

Please sign in to comment.