mirror of
				https://github.com/dndx/phantun.git
				synced 2025-11-04 11:55:34 +08:00 
			
		
		
		
	chore(deps): update clap requirement from 2.34 to 3.0
Updates the requirements on [clap](https://github.com/clap-rs/clap) to permit the latest version. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_generate-v3.0.0-rc.0...clap_complete-v3.0.0) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
		
				
					committed by
					
						
						Datong Sun
					
				
			
			
				
	
			
			
			
						parent
						
							cb9dd3e931
						
					
				
				
					commit
					2ef0a056be
				
			@@ -42,8 +42,8 @@ async fn main() {
 | 
			
		||||
        .version(crate_version!())
 | 
			
		||||
        .author("Datong Sun (github.com/dndx)")
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("local")
 | 
			
		||||
                .short("l")
 | 
			
		||||
            Arg::new("local")
 | 
			
		||||
                .short('l')
 | 
			
		||||
                .long("local")
 | 
			
		||||
                .required(true)
 | 
			
		||||
                .value_name("IP:PORT")
 | 
			
		||||
@@ -51,8 +51,8 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("remote")
 | 
			
		||||
                .short("r")
 | 
			
		||||
            Arg::new("remote")
 | 
			
		||||
                .short('r')
 | 
			
		||||
                .long("remote")
 | 
			
		||||
                .required(true)
 | 
			
		||||
                .value_name("IP or HOST NAME:PORT")
 | 
			
		||||
@@ -60,7 +60,7 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("tun")
 | 
			
		||||
            Arg::new("tun")
 | 
			
		||||
                .long("tun")
 | 
			
		||||
                .required(false)
 | 
			
		||||
                .value_name("tunX")
 | 
			
		||||
@@ -69,7 +69,7 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("tun_local")
 | 
			
		||||
            Arg::new("tun_local")
 | 
			
		||||
                .long("tun-local")
 | 
			
		||||
                .required(false)
 | 
			
		||||
                .value_name("IP")
 | 
			
		||||
@@ -78,7 +78,7 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("tun_peer")
 | 
			
		||||
            Arg::new("tun_peer")
 | 
			
		||||
                .long("tun-peer")
 | 
			
		||||
                .required(false)
 | 
			
		||||
                .value_name("IP")
 | 
			
		||||
 
 | 
			
		||||
@@ -16,8 +16,8 @@ async fn main() {
 | 
			
		||||
        .version(crate_version!())
 | 
			
		||||
        .author("Datong Sun (github.com/dndx)")
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("local")
 | 
			
		||||
                .short("l")
 | 
			
		||||
            Arg::new("local")
 | 
			
		||||
                .short('l')
 | 
			
		||||
                .long("local")
 | 
			
		||||
                .required(true)
 | 
			
		||||
                .value_name("PORT")
 | 
			
		||||
@@ -25,8 +25,8 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("remote")
 | 
			
		||||
                .short("r")
 | 
			
		||||
            Arg::new("remote")
 | 
			
		||||
                .short('r')
 | 
			
		||||
                .long("remote")
 | 
			
		||||
                .required(true)
 | 
			
		||||
                .value_name("IP or HOST NAME:PORT")
 | 
			
		||||
@@ -34,7 +34,7 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("tun")
 | 
			
		||||
            Arg::new("tun")
 | 
			
		||||
                .long("tun")
 | 
			
		||||
                .required(false)
 | 
			
		||||
                .value_name("tunX")
 | 
			
		||||
@@ -43,7 +43,7 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("tun_local")
 | 
			
		||||
            Arg::new("tun_local")
 | 
			
		||||
                .long("tun-local")
 | 
			
		||||
                .required(false)
 | 
			
		||||
                .value_name("IP")
 | 
			
		||||
@@ -52,7 +52,7 @@ async fn main() {
 | 
			
		||||
                .takes_value(true),
 | 
			
		||||
        )
 | 
			
		||||
        .arg(
 | 
			
		||||
            Arg::with_name("tun_peer")
 | 
			
		||||
            Arg::new("tun_peer")
 | 
			
		||||
                .long("tun-peer")
 | 
			
		||||
                .required(false)
 | 
			
		||||
                .value_name("IP")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user