Skip to content

batisteo/requirements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.