docs: Annotate more places with required features

This commit is contained in:
Ed Page 2022-03-03 12:32:29 -06:00
parent d2863a228c
commit 14ea156218
16 changed files with 32 additions and 0 deletions

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command, Command};
use std::path::Path;

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command, AppSettings};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command, Command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command, ArgEnum, PossibleValue};
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ArgEnum)]

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
use std::ops::RangeInclusive;
use std::str::FromStr;

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command, ArgGroup};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command, ErrorKind};
fn main() {

View file

@ -1,3 +1,5 @@
// Note: this requires the `cargo` feature
use clap::{arg, command};
fn main() {