Skip to content

Commit

Permalink
feat: implement types for rust_decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Oct 10, 2023
1 parent 905abe2 commit 266f26b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/types/src/externals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ mod relative_path_feature {
impl_string_format!(relative_path::RelativePathBuf, "path");
}

#[cfg(feature = "rust_decimal")]
mod rust_decimal_feature {
use super::*;

impl_string_format!(rust_decimal::Decimal, "decimal");
}

#[cfg(feature = "semver")]
mod semver_feature {
use super::*;
Expand Down

0 comments on commit 266f26b

Please sign in to comment.