Docs.rs
robotstxt-with-cache-0.4.0
robotstxt-with-cache 0.4.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
let4be
Dependencies
Versions
45.28%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module matcher
robotstxt_
with_
cache
0.4.0
Module matcher
Module Items
Structs
Traits
In crate robotstxt_
with_
cache
robotstxt_with_cache
Module
matcher
Copy item path
Source
Structs
§
Caching
Robots
Matcher
Longest
Match
Robots
Match
Strategy
Implements the default robots.txt matching strategy. The maximum number of characters matched by a pattern is returned as its match priority.
Match
Instead of just maintaining a Boolean indicating whether a given line has matched, we maintain a count of the maximum number of characters matched by that pattern.
Robots
Matcher
RobotsMatcher - matches robots.txt against URLs.
Traits
§
Robots
Match
Strategy
Create a RobotsMatcher with the default matching strategy.