Skip to content

Commit

Permalink
feat:unicode changed api, added feature
Browse files Browse the repository at this point in the history
  • Loading branch information
feefladder committed Feb 7, 2024
1 parent 16e6438 commit 242545b
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 155 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ with-juniper-support = ["juniper"]
with-postgres-support = ["postgres-types", "byteorder", "bytes"]
with-serde-support = ["serde", "serde_derive", "num/serde"]

with-unicode = []

[dev-dependencies]
criterion = "0.4"
rand = "0.8.5"
Expand Down
4 changes: 3 additions & 1 deletion src/fraction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ pub use self::sign::Sign;
pub mod approx;

pub mod display;
mod unicode_fromto_str;

#[cfg(feature = "with-unicode")]
mod unicode_str_io;

#[cfg(feature = "with-juniper-support")]
pub mod juniper_support;
Expand Down
Loading

0 comments on commit 242545b

Please sign in to comment.