7 unstable releases (3 breaking)
|0.4.0||Apr 7, 2021|
|0.3.0||Jan 20, 2021|
|0.2.2||Feb 23, 2020|
|0.2.1||Sep 24, 2019|
|0.1.1||Apr 22, 2018|
#394 in Parser implementations
27,225 downloads per month
Used in 36 crates (4 directly)
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
ast.literal_eval() does, but it supports only a subset. See the
docs for the
FromStr implementation for
Value for details.
- Disabled default features of
- Bumped required Rust version to 1.42.
2.0, by @nagisa.
- Updated to the new style of
source, and removed the non-default implementations of
- Bumped required Rust version to 1.33.
num-*dependencies to 0.2.
- Switched from depending on all of
numto depending on the individual
- Improved crate metadata and documentation (no functional changes).
- Initial release.
Please feel free to create issues and submit PRs. PRs adding more tests would be especially appreciated.
Copyright 2018–2021 Jim Turner and
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.