lgui-services 0.2.1

Desktop service contracts and adapters for LGUI
Documentation
1
2
3
4
5
6
7
use super::*;

#[test]
fn opener_rejects_non_external_schemes() {
    assert!(validate_external_url("file:///private.txt").is_err());
    assert!(validate_external_url("https://example.com").is_ok());
}