[package] name = "python-parser" version = "0.2.0" authors = ["Valentin Lorentz "] license = "GPL-3.0+" description = "A complete Python parser based on nom." documentation = "https://docs.rs/python-parser" repository = "https://github.com/ProgVal/rust-python-parser" [features] default = ["bigint", "wtf8", "unicode-names"] bigint = ["num-traits", "num-bigint"] unicode-names = ["unicode_names2"] [[bin]] name = "prettyprint" path = "src/main.rs" [dependencies] nom = "^4.0" nom_locate = "^0.3.0" unicode-xid = "^0.1" unicode_names2 = { version="^0.2.1", optional=true } num-traits = { version="^0.2.4", optional=true } num-bigint = { version="^0.2.0", optional=true } wtf8 = { version="^0.0.3", optional=true } [dev-dependencies] pretty_assertions = "^0.4"