Registry / utility / texting-robots

texting-robots

JSON →
library0.2.2rscratesunverified

A Rust native `robots.txt` parser with thorough unit testing.

# Cargo.toml [dependencies] texting_robots = "0.2.2"
INSTALL
IMPORT
SIG · TEXTING-ROBOTS
T
texting-robots
utilityrustv0.2.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.

Robot
use texting_robots::Robot;

Parses a robots.txt string and checks URL access.

use texting_robots::Robot; fn main() { let robot = Robot::new("User-agent: *\nDisallow: /private/", "MyBot").unwrap(); println!("{}", robot.allowed("/public/")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
texting-robots — cargo add texting-robots · libregistry