You've already forked AstralRinth
forked from didirus/AstralRinth
Fix uploading (#305)
* Upgrade rust-s3 to fix tokio panics * Run fmt * Update deps
This commit is contained in:
@@ -8,8 +8,6 @@ mod s3_host;
|
||||
pub use backblaze::BackblazeHost;
|
||||
use bytes::Bytes;
|
||||
pub use mock::MockHost;
|
||||
use s3::creds::AwsCredsError;
|
||||
use s3::S3Error;
|
||||
pub use s3_host::S3Host;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
@@ -19,9 +17,7 @@ pub enum FileHostingError {
|
||||
#[error("Backblaze error: {0}")]
|
||||
BackblazeError(serde_json::Value),
|
||||
#[error("S3 error: {0}")]
|
||||
S3Error(#[from] S3Error),
|
||||
#[error("S3 Authentication error: {0}")]
|
||||
S3CredentialsError(#[from] AwsCredsError),
|
||||
S3Error(String),
|
||||
#[error("File system error in file hosting: {0}")]
|
||||
FileSystemError(#[from] std::io::Error),
|
||||
#[error("Invalid Filename")]
|
||||
|
||||
Reference in New Issue
Block a user