mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-11 23:25:22 +00:00
Add format
and cformat
modules from RustPython
This commit is contained in:
parent
947fb53d0b
commit
263f96fe7b
4 changed files with 2272 additions and 1 deletions
|
@ -8,8 +8,10 @@ repository = "https://github.com/RustPython/RustPython"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
bitflags = "2.2.1"
|
||||||
|
itertools = "0.10.5"
|
||||||
|
num-bigint = { workspace = true }
|
||||||
num-traits = { workspace = true }
|
num-traits = { workspace = true }
|
||||||
|
|
||||||
hexf-parse = "0.2.1"
|
hexf-parse = "0.2.1"
|
||||||
lexical-parse-float = { version = "0.8.0", features = ["format"] }
|
lexical-parse-float = { version = "0.8.0", features = ["format"] }
|
||||||
unic-ucd-category = "0.9"
|
unic-ucd-category = "0.9"
|
||||||
|
|
1044
literal/src/cformat.rs
Normal file
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
|
@ -1,3 +1,4 @@
|
||||||
|
pub mod cformat;
|
||||||
pub mod char;
|
pub mod char;
|
||||||
pub mod escape;
|
pub mod escape;
|
||||||
pub mod float;
|
pub mod float;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue