Skip to content

Commit

Permalink
refactor: Make core's API more clear (#492)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Sep 24, 2024
1 parent ea10a23 commit 52e2b7e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 24 deletions.
File renamed without changes.
22 changes: 9 additions & 13 deletions core/src/lib.rs
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.
11 changes: 0 additions & 11 deletions core/src/sign/mod.rs

This file was deleted.

File renamed without changes.

0 comments on commit 52e2b7e

Please sign in to comment.