Crates.io | requirements |
lib.rs | requirements |
version | 0.3.0 |
source | src |
created_at | 2020-04-04 20:07:45.733846 |
updated_at | 2020-04-11 18:30:45.670158 |
description | Python PIP requirements.txt parser |
homepage | |
repository | https://github.com/batisteo/requirements |
max_upload_size | |
id | 226384 |
size | 28,780 |
Fast parser of Python requirement files
both .txt
or .in
.
Example:
use requirements;
fn main() {
let content = "Django>=3.0.0";
let reqs = requirements::parse_str(&content).unwrap();
for req in reqs.into_iter() {
println!("{:?}", req);
}
}
This project is Free Software and available under the MIT license. See
the LICENSE
file for more details.