diff --git a/feattle-sync/src/aws_sdk_s3.rs b/feattle-sync/src/aws_sdk_s3.rs index 14af86d..fe00f1d 100644 --- a/feattle-sync/src/aws_sdk_s3.rs +++ b/feattle-sync/src/aws_sdk_s3.rs @@ -18,7 +18,7 @@ use std::fmt; /// use std::sync::Arc; /// use std::time::Duration; /// use feattle_core::{feattles, Feattles}; -/// use rusoto_core::Region; +/// use feattle_sync::S3; /// /// feattles! { /// struct MyToggles { @@ -29,14 +29,13 @@ use std::fmt; /// #[tokio::main] /// async fn main() { /// // Create an AWS config, read more at the official documentation +/// use feattle_sync::S3; /// let config = aws_config::load_from_env().await; /// -/// let timeout = Duration::from_secs(10); /// let persistence = Arc::new(S3::new( /// &config, /// "my-bucket".to_owned(), /// "some/s3/prefix/".to_owned(), -/// timeout, /// )); /// let my_toggles = MyToggles::new(persistence); /// } diff --git a/feattle/src/lib.rs b/feattle/src/lib.rs index dd8c31e..650e6fe 100644 --- a/feattle/src/lib.rs +++ b/feattle/src/lib.rs @@ -13,8 +13,6 @@ //! ## Example //! //! ```no_run -//! use rusoto_s3::S3Client; -//! use rusoto_core::Region; //! use feattle::*; //! use std::sync::Arc; //!