Skip to content

Commit

Permalink
improved docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebadob committed Apr 17, 2024
1 parent 817fb3e commit c27f56f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ use base64::engine::general_purpose;
use base64::Engine;
use std::env;

pub use crate::bucket::{Bucket, BucketOptions};
/// S3 Bucket operations, your main entrypoint
pub use crate::bucket::{Bucket};
/// Custom options for bucket connections
pub use crate::bucket::{BucketOptions};
/// S3 Credentials
pub use crate::credentials::{AccessKeyId, AccessKeySecret, Credentials};
/// Specialized S3 Error type which wraps errors from different sources
pub use crate::error::S3Error;
/// Specialized Response objects
pub use crate::types::{HeadObjectResult, Object, PutStreamResponse};
pub use reqwest::Response as S3Response;
pub use reqwest::StatusCode as S3StatusCode;
Expand All @@ -22,6 +28,7 @@ mod error;
mod signature;
mod types;

/// S3 Region Wrapper
#[derive(Debug, Clone)]
pub struct Region(String);

Expand Down

0 comments on commit c27f56f

Please sign in to comment.