Skip to content
Rust crate for parsing/formatting Python literals
Branch: master
Clone or download
Latest commit ec31100 Nov 22, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Use num-bigint, num-complex, and num-traits separately Sep 1, 2018
.gitignore Initial version Feb 9, 2018
.travis.yml Fix coverage testing in CI Nov 21, 2018
Cargo.toml Release 0.2.0 Sep 1, 2018
LICENSE-APACHE Initial version Feb 9, 2018
LICENSE-MIT Initial version Feb 9, 2018
README.md Release 0.2.0 Sep 1, 2018
codecov.yml Adjust coverage patch status threshold May 10, 2018

README.md

py_literal

Build status Coverage Dependencies status Crate Documentation

This is a pure-Rust crate for parsing/formatting Python literals. See the documentation for more information.

This crate is a work-in-progress. The goal is for the parser to support everything ast.literal_eval() does, but it supports only a subset. See the docs for the FromStr implementation for Value for details.

Releases

  • 0.2.0

    • Updated num-* dependencies to 0.2.
    • Switched from depending on all of num to depending on the individual num-* crates.
  • 0.1.1

    • Improved crate metadata and documentation (no functional changes).
  • 0.1.0

    • Initial release.

Contributing

Please feel free to create issues and submit PRs. PRs adding more tests would be especially appreciated.

License

Copyright 2018 Jim Turner

Licensed under the Apache License, Version 2.0, or the MIT license, at your option. You may not use this project except in compliance with those terms.

You can’t perform that action at this time.