Skip to content

Commit

Permalink
Merge pull request #576 from mitsuhiko/feature/sha1-smol
Browse files Browse the repository at this point in the history
Switch from sha1 to sha1_smol
  • Loading branch information
Marwes committed Jan 24, 2022
2 parents d14a19d + fee95a8 commit dd41c28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -28,7 +28,7 @@ percent-encoding = "2.1"
url = "2.1"

# We need this for script support
sha1 = { version = ">= 0.2, < 0.7", optional = true }
sha1_smol = { version = "1.0", optional = true }

combine = { version = "4.6", default-features = false, features = ["std"] }

Expand Down Expand Up @@ -64,7 +64,7 @@ acl = []
aio = ["bytes", "pin-project-lite", "futures-util", "futures-util/alloc", "futures-util/sink", "tokio/io-util", "tokio-util", "tokio-util/codec", "tokio/sync", "combine/tokio"]
geospatial = []
cluster = ["crc16", "rand"]
script = ["sha1"]
script = ["sha1_smol"]
tls = ["native-tls"]
async-std-comp = ["aio", "async-std"]
async-std-tls-comp = ["async-std-comp", "async-native-tls", "tls"]
Expand Down
2 changes: 1 addition & 1 deletion src/script.rs
@@ -1,5 +1,5 @@
#![cfg(feature = "script")]
use sha1::Sha1;
use sha1_smol::Sha1;

use crate::cmd::cmd;
use crate::connection::ConnectionLike;
Expand Down

0 comments on commit dd41c28

Please sign in to comment.