3 releases (breaking)

0.3.0 Apr 11, 2020
0.2.0 Apr 10, 2020
0.1.0 Apr 4, 2020

#6 in #pip

24 downloads per month

MIT license

12KB
247 lines

requirements

Fast parser of Python requirement files both .txt or .in.

Usage

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);
    }
}

License

This project is Free Software and available under the MIT license. See the LICENSE file for more details.

Dependencies

~6–14MB
~172K SLoC