Skip to content

Commit

Permalink
Get ready for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Mar 8, 2024
1 parent e3282fb commit ed86001
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
name = "to-arraystring"
version = "0.1.0"
edition = "2021"

license = "MIT"
description = "A no-alloc ToString, for bool/integer/float types"
repository = "https://github.com/GnomedDev/to-arraystring"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# to-arraystring

A no-std version of ToString implemented for integer types formatting into an ArrayString.
A no-std version of ToString implemented for bool/integer/float types formatting into an ArrayString.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! A no-alloc version of [`alloc::string::ToString`] implemented for integer types formatting into an [`ArrayString`].
//! A no-alloc version of [`alloc::string::ToString`] implemented for bool/integer/float types formatting into an [`ArrayString`].
#![no_std]
#![warn(clippy::pedantic)]

Expand All @@ -9,7 +9,7 @@ use macros::{gen_fmt_to_buf, gen_impl};
mod erased;
mod macros;

/// A no-alloc version of [`alloc::string::ToString`] implemented for integer types formatting into an [`ArrayString`].
/// A no-alloc version of [`alloc::string::ToString`] implemented for bool/integer/float types formatting into an [`ArrayString`].
pub trait ToArrayString: Copy {
type ArrayString: erased::ArrayStringErased;
fn to_arraystring(self) -> Self::ArrayString;
Expand Down

0 comments on commit ed86001

Please sign in to comment.