parse-git-url 0.6.0

A parser for git repo urls based on url crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use parse_git_url::GitUrl;

fn main() {
    println!(
        "SSH: {:#?}",
        GitUrl::parse("git@github.com:tjtelan/git-url-parse-rs.git")
    );
    println!(
        "HTTPS: {:#?}",
        GitUrl::parse("https://github.com/tjtelan/git-url-parse-rs")
    );
}