Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

[dependencies]
roas = { version = "0.17.2", default-features = false, features = ["v2", "v3_0", "v3_1", "v3_2", "clap"] }
default = v3_2

The v3_2 feature is set by default whenever roas is added without default-features = false somewhere in the dependency tree.

v2

Support for OpenAPI v2

Affects helpers::validate_optional_string_matches, helpers::validate_unique_by, roas::v2, v3_0::from_v2, helpers::validate_optional_url, helpers::validate_required_url

v3_0

Support for OpenAPI v3.0.x

Affects roas::v3_0, v3_1::from_v3_0, helpers::validate_optional_url, helpers::validate_required_url

v3_1

Support for OpenAPI v3.1.x

Affects roas::v3_1, v3_2::from_v3_1, helpers::validate_optional_url, helpers::validate_required_url

v3_2 default

Support for OpenAPI v3.2.x

Affects roas::v3_2

clap

clap::ValueEnum impl for validation::Options, for downstream CLIs that want to surface each Ignore* flag as a value-enum choice.

Enables clap