-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Make core's API more clear (#492)
Signed-off-by: Xuanwo <[email protected]>
- Loading branch information
Showing
5 changed files
with
9 additions
and
24 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
//! Signing API requests without effort. | ||
//! | ||
//! # Services | ||
//! | ||
//! - [Aliyun OSS][crate::AliyunOssSigner] for Aliyun OSS. | ||
//! - [AWS SigV4][`reqsign-aws-v4`] for AWS services like S3. | ||
//! - [Azure Storage][crate::AzureStorageSigner] for Azure Storage services like Azure Blob Service. | ||
//! - [Google][crate::GoogleSigner] for All google cloud services like Google Cloud Storage Service. | ||
//! - [Huawei Cloud OBS][crate::HuaweicloudObsSigner] for Huawei Cloud Object Storage Service (OBS). | ||
|
||
// Make sure all our public APIs have docs. | ||
#![warn(missing_docs)] | ||
|
||
mod sign; | ||
pub use sign::*; | ||
|
||
pub mod hash; | ||
pub mod time; | ||
|
||
mod context; | ||
pub use context::Context; | ||
mod fs; | ||
pub use fs::FileRead; | ||
mod http; | ||
pub use http::HttpSend; | ||
mod env; | ||
pub use env::Env; | ||
pub use env::StaticEnv; | ||
mod context; | ||
pub use context::Context; | ||
|
||
mod api; | ||
pub use api::{Build, Key, Load}; | ||
mod request; | ||
pub use request::{SigningMethod, SigningRequest}; | ||
mod signer; | ||
pub use signer::Signer; |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.