[go: up one dir, main page]

clap 3.0.0-rc.1

A simple to use, efficient, and full-featured Command Line Argument Parser
Documentation
1
2
3
4
5
6
7
8
use crate::Arg;

// This test will *fail to compile* if Arg is not Send + Sync
#[test]
fn arg_send_sync() {
    fn foo<T: Send + Sync>(_: T) {}
    foo(Arg::new("test"))
}