flusso-schema-core 0.2.0

Shared domain vocabulary for flusso: values, validated newtypes, and index mappings.
Documentation
use nutype::nutype;

#[nutype(
    sanitize(trim),
    validate(regex = r"^https?://\S+$"),
    derive(
        Debug,
        Clone,
        Display,
        AsRef,
        Deref,
        Hash,
        Eq,
        PartialEq,
        Serialize,
        Deserialize
    )
)]
pub struct HttpUrl(String);