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

View file

@ -4,14 +4,13 @@ version = "0.2.0"
description = "Common literal handling utilities mostly useful for unparse and repr."
authors = ["RustPython Team"]
edition = "2021"
repository = "https://github.com/RustPython/RustPython"
repository = "https://github.com/RustPython/Parser/"
license = "MIT"
[dependencies]
num-traits = { workspace = true }
hexf-parse = "0.2.1"
lexical-parse-float = { version = "0.8.0", features = ["format"] }
num-traits = { workspace = true }
unic-ucd-category = "0.9"
[dev-dependencies]