use-origin
Small web origin utilities for RustUse.
Experimental
use-origin is experimental while the use-web workspace remains below 0.3.0. Expect small API adjustments during the first release wave.
Example
use ;
assert!;
assert!;
assert_eq!;
Scope
- Basic origin parsing and extraction.
- Same-origin comparison with default-port awareness.
- Small helpers for formatting and secure-origin checks.
Non-goals
- Browser security models.
- CORS engines.
- TLS validation.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license