Add format and cformat modules from RustPython

This commit is contained in:
Micha Reiser 2023-05-12 10:39:14 +02:00
parent 947fb53d0b
commit 263f96fe7b
No known key found for this signature in database
4 changed files with 2272 additions and 1 deletions

View file

@ -8,8 +8,10 @@ repository = "https://github.com/RustPython/RustPython"
license = "MIT"
[dependencies]
bitflags = "2.2.1"
itertools = "0.10.5"
num-bigint = { workspace = true }
num-traits = { workspace = true }
hexf-parse = "0.2.1"
lexical-parse-float = { version = "0.8.0", features = ["format"] }
unic-ucd-category = "0.9"

1044
literal/src/cformat.rs Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,4 @@
pub mod cformat;
pub mod char;
pub mod escape;
pub mod float;