Skip to main content

Module compat_flags

Module compat_flags 

Source
Expand description

Provider compatibility flags.

CompatFlags controls per-profile S3 compatibility knobs for providers such as MinIO, Cloudflare R2, Wasabi, and LocalStack.

§OCP contract

Adding a new flag means adding one field here. The flags_schema version field is the contract: existing consumers are forward-compat via the unknown passthrough map. Removing or renaming a field is a breaking change that requires a schema version bump.

§Versioning

flags_schema = 1 covers all v1 flags. Unknown fields written by a newer version of the app are preserved in unknown so a downgrade does not lose custom configuration.

Structs§

CompatFlagApply
Result of applying CompatFlags onto an S3ConfigBuilder.
CompatFlags
Per-profile compatibility flags for S3-compatible storage providers.

Enums§

AddressingStyle
S3 bucket addressing style applied to every request for this profile.
BucketNameValidation
Whether bucket names must follow strict AWS naming rules or a relaxed set.
ChecksumMode
Whether the SDK should compute and send payload checksums.
SignatureVersion
Signature algorithm used to sign requests for this profile.

Constants§

CURRENT_FLAGS_SCHEMA
The current schema version understood by this build.

Functions§

apply_to_s3_config_builder
Apply all v1 compat flags from flags onto builder and return the updated builder together with any warnings.
default_flags_schema 🔒
default_true 🔒