hostname-validator
Rust crate for validating a hostname according to the IETF RFC 1123.
extern crate hostname_validator;
let valid = "VaLiD-HoStNaMe";
let invalid = "-invalid-name";
assert!;
assert!;
Rust crate for validating a hostname according to the IETF RFC 1123.
extern crate hostname_validator;
let valid = "VaLiD-HoStNaMe";
let invalid = "-invalid-name";
assert!;
assert!;