Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pohlm01 committed Feb 7, 2024
1 parent c53d9fc commit 03940ee
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ exclude = [
name = "basic"

[dependencies]
object_store = { version = "0.7", features = ["gcp"] }
image = { version = "0.24.7", default-features = false, features = ["png", "jpeg"] }
config = { version = "0.13", default-features = false, features = ["yaml"] }
object_store = { version = "0.9", features = ["gcp"] }
image = { version = "0.24", default-features = false, features = ["png", "jpeg"] }
config = { version = "0.14", default-features = false, features = ["yaml"] }
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.32", features = ["full"] }
bytes = "1.5"
futures = "0.3.28"
futures = "0.3"
mime = "0.3"
sequential-test = "0.2"
3 changes: 2 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ services:
# FIXME until the fix of #1344 is released for the fake GCS, we have to run the main branch locally
# FIXME using fork of fsouza/fake-gcs-server - switch back to upstream as soon as fsouza/fake-gcs-server#1164 is merged and released
gcs-mock:
pull_policy: always
image: tustvold/fake-gcs-server
volumes:
- "./src/test/mock_data:/data"
Expand All @@ -10,8 +11,8 @@ services:
command: "-backend memory -scheme http -data /data -log-level debug -public-host gcs-mock:4443"

rust-check:
pull_policy: always
image: docker.tgrep.nl/docker/rust-dev:stable
user: '$USER_ID:$GROUP_ID'
working_dir: /app
environment:
GOOGLE_BUCKET: testBucket
Expand Down
2 changes: 1 addition & 1 deletion src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::Error::NotSupported;
use crate::{ImageThumbs, ThumbsResult};

impl<T: ObjectStore> ImageThumbs<T> {
/// returns options for an [`object_store`] client that maps the file extensions `.jpeg`,
/// Returns options for an [`object_store`] client that maps the file extensions `.jpeg`,
/// `.jpg`, and `.png` to its MIME types.
///
/// Allows `http` connections in case of tests
Expand Down
3 changes: 2 additions & 1 deletion src/test/gcs_mock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"gcs_base_url": "http://gcs-mock:4443",
"disable_oauth": true,
"client_email": "",
"private_key": ""
"private_key": "",
"private_key_id": ""
}

0 comments on commit 03940ee

Please sign in to comment.