Add format and cformat modules from RustPython (#24)

* Add `format` and `cformat` modules from `RustPython`

* Introduce `rustpython-format` crate

* Remove unused dependencies
This commit is contained in:
Micha Reiser 2023-05-12 11:27:05 +02:00 committed by GitHub
parent 947fb53d0b
commit a983f4383f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 2297 additions and 15 deletions

1044
format/src/cformat.rs Normal file

File diff suppressed because it is too large Load diff

1224
format/src/format.rs Normal file

File diff suppressed because it is too large Load diff

4
format/src/lib.rs Normal file
View file

@ -0,0 +1,4 @@
pub mod cformat;
mod format;
pub use crate::format::*;