frames-core 0.1.0

frames-rs is a Rust library for writing and testing Farcaster Frames
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[macro_use]
extern crate lazy_static;
extern crate regex;

use regex::Regex;

lazy_static! {
    static ref URL_REGEX: Regex =
        Regex::new(r"^https?://(?:www\.)?[\w.-]+\.[a-zA-Z]{2,}(?:[/\?#][^\s]*)?$").unwrap();
}

pub mod provider;
pub mod types;
pub mod validators;