Cargo Features
[dependencies]
seaplane = { version = "0.8.0", default-features = false, features = ["compute_api_v2", "metadata_api_v1", "locks_api_v1", "restrict_api_v1", "identity_api_v1", "danger_zone", "allow_invalid_certs", "allow_insecure_urls", "api_tests", "unstable"] }
- default = compute_api_v2, identity_api_v1, locks_api_v1, metadata_api_v1, restrict_api_v1
-
These default features are set whenever
seaplane
is added without
somewhere in the dependency tree.default-features = false - compute_api_v2 default
-
Affects
compute::v2
… - metadata_api_v1 default
-
Affects
metadata::v1
,api::shared
… - locks_api_v1 default
-
Affects
locks::v1
,api::shared
… - restrict_api_v1 default
-
Affects
restrict::v1
,api::shared
… - identity_api_v1 default
-
Affects
identity::v1
… - danger_zone = allow_insecure_urls, allow_invalid_certs
-
Turn on all the dangerous stuff
- allow_invalid_certs danger_zone?
-
Allows one to opt in to invalid HTTPS certs
- allow_insecure_urls danger_zone?
-
Allows one to opt in to HTTP instead of requiring HTTPS (useful for testing/development)
- api_tests
-
enables mock API tests which enables insecure HTTP endpoints
- unstable
-
Items which are in active development and are totally unstable or unimplemented