use url::Url; // TODO these should all be const, or even better, static Urls... pub fn google() -> Url { Url::parse("https://accounts.google.com").unwrap() } pub fn paypal() -> Url { Url::parse("https://www.paypalobjects.com/").unwrap() } pub fn salesforce() -> Url { Url::parse("http://login.salesforce.com").unwrap() }