[go: up one dir, main page]

license 3.3.0

Embedded license information from SPDX.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use license::License;
use std::io;

fn main() {
    let stdin = io::stdin();
    for id in stdin.lines() {
        if let Ok(license) = id.unwrap().parse::<&dyn License>() {
            println!("{}", license.text());
        }
    }
}