Registry / utility / pep508-rs

pep508-rs

JSON →
library0.9.2rscratesunverified

A library for parsing and handling Python dependency specifiers as defined in PEP 508.

# Cargo.toml [dependencies] pep508_rs = "0.9.2"
INSTALL
IMPORT
SIG · PEP508-RS
P
pep508-rs
utilityrustv0.9.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Requirement
use pep508_rs::Requirement;

Parse a PEP 508 dependency specifier.

use pep508_rs::Requirement; fn main() { let req: Requirement = "requests>=2.0".parse().unwrap(); println!("Parsed requirement: {:?}", req); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
pep508-rs — cargo add pep508-rs · libregistry