[][src]Crate feattle_sync

This crate is the implementation for some synchronization strategies for the feature flags (called "feattles", for short).

The crate feattle_core provides the trait feattle_core::persist::Persist as the extension point to implementors of the persistence layer logic. This crates has some useful concrete implementations: Disk and S3. Please refer to the main package - feattle for more information.

It also provides a simple way to poll the persistence layer for updates in BackgroundSync.

Optional features

  • s3: provides S3 to integrate with AWS' S3

Structs

BackgroundSync

Spawn a tokio task to poll Feattles::reload() continuously

Disk

Persist the data in the local filesystem, under a given directory.

S3

Persist the data in an AWS S3 bucket.

Enums

S3Error

Represent what can go wrong when interfacing with AWS. This is based on rusoto_core::RusotoError.