From 6075924cd4fbcca0108d3ec3c24dc1c6a660e67a Mon Sep 17 00:00:00 2001 From: Kurt Wolf Date: Tue, 28 Nov 2023 23:53:39 -0500 Subject: [PATCH] bump rust_decimal --- libninja/src/rust.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libninja/src/rust.rs b/libninja/src/rust.rs index f3cc6a7..eaafb7c 100644 --- a/libninja/src/rust.rs +++ b/libninja/src/rust.rs @@ -252,10 +252,12 @@ fn bump_version_and_update_deps(extras: &Extras, opts: &OutputOptions) -> anyhow if extras.currency { manifest.dependencies.entry("rust_decimal".to_string()) .or_insert(cargo_toml::Dependency::Detailed(cargo_toml::DependencyDetail { - version: Some("1.28.1".to_string()), + version: Some("1.33".to_string()), features: vec!["serde-with-str".to_string()], ..cargo_toml::DependencyDetail::default() })); + manifest.dependencies.entry("rust_decimal_macros".to_string()) + .or_insert(cargo_toml::Dependency::Simple("1.33".to_string())); } if extras.date_serialization { manifest.dependencies.entry("chrono".to_string())