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_2feature is set by default wheneverroasis added withoutsomewhere in the dependency tree.default-features = false - 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::ValueEnumimpl forvalidation::Options, for downstream CLIs that want to surface eachIgnore*flag as a value-enum choice.Enables clap