Skip to content

Commit

Permalink
Bump itoa to v1 (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobarbolini authored Oct 29, 2022
1 parent 1fff812 commit 81ace85
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions docs/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 maud/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ axum = ["axum-core", "http"]

[dependencies]
maud_macros = { version = "0.24.0", path = "../maud_macros" }
itoa = { version = "0.4.8", default-features = false, features = ["i128"] }
itoa = "1"
rocket = { version = ">= 0.3, < 0.5", optional = true }
futures-util = { version = "0.3.0", optional = true, default-features = false }
actix-web-dep = { package = "actix-web", version = "4", optional = true, default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion maud/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ macro_rules! impl_render_with_itoa {
$(
impl Render for $ty {
fn render_to(&self, w: &mut String) {
let _ = itoa::fmt(w, *self);
w.push_str(itoa::Buffer::new().format(*self));
}
}
)*
Expand Down

0 comments on commit 81ace85

Please sign in to comment.