Skip to content

Commit

Permalink
Merge pull request #102 from axodotdev/image_optional_to_remote
Browse files Browse the repository at this point in the history
chore: make image optional, use in remote
  • Loading branch information
mistydemeo committed Apr 16, 2024
2 parents f910211 + a1745d6 commit fb3395d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ default = ["remote"]
toml-serde = ["toml", "serde"]
json-serde = ["serde_json", "serde"]
toml-edit = ["toml_edit"]
remote = ["reqwest"]
remote = ["reqwest", "image"]
compression = ["compression-tar", "compression-zip"]
compression-tar = ["flate2", "tar", "xz2", "zstd"]
compression-zip = ["zip"]

[dependencies]
image = { version = "0.25.1", default-features = false }
image = { version = "0.25.1", default-features = false, optional = true }
mime = "0.3.16"
reqwest = { version = "0.11.13", optional = true, default-features = false, features = ["json", "rustls-tls"] }
thiserror = "1.0.37"
Expand Down
1 change: 1 addition & 0 deletions tests/local_write.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(feature = "image")]
#![allow(irrefutable_let_patterns)]

use std::collections::HashMap;
Expand Down

0 comments on commit fb3395d

Please sign in to comment.