diff --git a/README.md b/README.md index c1868b1..9de42d5 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ You can install rustus by 4 different ways. ### From source -To build it from source rust must be installed. -Preferred version is 1.59.0. +To build it from source rust must be installed. We don't rely on nightly features, +you can use last stable release. ```bash git clone https://github.com/s3rius/rustus.git diff --git a/deploy/Dockerfile b/deploy/Dockerfile index f0b3314..545994f 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.64.0-bullseye AS builder +FROM rust:1.66.0-bullseye AS builder WORKDIR /app COPY Cargo.toml Cargo.lock ./ diff --git a/docs/index.md b/docs/index.md index 93e9e68..4c2c2fa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -24,13 +24,13 @@ You can install rustus in four different ways. ### From source -To build it from source rust must be installed. -Preferred version is 1.59.0. +To build it from source rust must be installed. We don't rely on nightly features, +you can use last stable release. ```bash git clone https://github.com/s3rius/rustus.git cd rustus -cargo install --path . --features=all,metrics +cargo install --path . --features=all ``` Also, you can speedup build by disabling some features. diff --git a/src/storages/s3_hybrid_storage.rs b/src/storages/s3_hybrid_storage.rs index c33c67e..17a2cf1 100644 --- a/src/storages/s3_hybrid_storage.rs +++ b/src/storages/s3_hybrid_storage.rs @@ -90,7 +90,8 @@ impl S3HybridStorage { /// Upload file to S3. /// - /// This function is called with + /// This function is called to upload file to s3 completely. + /// It streams file directly from disk to s3. async fn upload_file(&self, file_info: &FileInfo) -> RustusResult<()> { if file_info.path.is_none() { return Err(RustusError::UnableToWrite("Cannot get upload path.".into()));