forked from abonander/img_hash
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
44 lines (35 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "image_hasher"
version = "3.0.0"
rust-version = "1.70.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Rafał Mikrut <[email protected]>", "Austin Bonander <[email protected]>"]
description = "A simple library that provides perceptual hashing and difference calculation for images."
documentation = "http://docs.rs/image_hasher"
keywords = ["image", "hash", "perceptual", "difference"]
repository = "http://github.com/qarmin/img_hash"
readme = "README.md"
[features]
default = []
nightly = []
fast_resize_unstable = ["fast_image_resize"] # Unstable feature, that may be removed or changed randomly in future
[dependencies]
base64 = "0.22.0"
image = { version = ">=0.25,<0.26", default-features = false }
rustdct = "0.7"
serde = { version = "1.0", features = ["derive"] }
transpose = "0.2"
fast_image_resize = { version = "5.0.0", features = ["image"], optional = true }
[dev-dependencies]
criterion = "0.5"
rand = { version = "0.8", features = ["small_rng"] }
hamming-bitwise-fast = "1.0.0"
[[bench]]
name = "byte_to_float"
harness = false
[[bench]]
name = "hash"
harness = false
[[bin]]
name = "hash_image"