Skip to content

Commit b12b64b

Browse files
Caching Refactor #111 (#113)
* updated cargo deps * Removed existing in memory cache implementation
1 parent ea8e817 commit b12b64b

15 files changed

+1014
-1295
lines changed

Cargo.lock

+424-353
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+16-21
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repository = "https://github.com/Cryptonomic/ImageProxy"
55
authors = ["Cryptonomic Inc."]
66
edition = "2018"
77
build = "build.rs"
8-
exclude = ["/docker", "/docs", "/lib", "/log", "proxy.conf", "/*.yml", "/.github", "Dockerfile", "LICENSE", "README.md", ".gitignore", ".dockerignore"]
8+
include = [ "src/" ]
99

1010
[build-dependencies]
1111
built = { version = "0.5", features = ["git2"] }
@@ -16,43 +16,38 @@ hyper-timeout = "0.4"
1616
tokio = { version = "1", features = ["full"] }
1717
log = "0.4"
1818
log4rs = "1"
19-
hocon = "0.7"
19+
hocon = "0.9"
2020
sha2 = "0.10"
21-
hex = "0.4"
2221
base64 = "0.13"
2322
hyper-tls = "0.5"
2423
serde = { version = "1", features = ["derive"] }
2524
serde_json = "1"
2625
chrono = "0.4"
27-
uuid = { version = "0.8", features = ["serde", "v4"] }
26+
uuid = { version = "1.1", features = ["serde", "v4"] }
2827
prometheus = { version = "0.13", features = ["process"] }
2928
lazy_static = "1.4"
30-
bb8 = "0.8"
31-
bb8-postgres = "0.8"
32-
tokio-postgres = { version="0.7", features=["with-chrono-0_4"] }
3329
async-trait = "0.1"
34-
image = "0.23"
30+
image = "0.24"
3531
dns-lookup = "1"
3632
anyhow = "1.0"
3733
moka = "0.8"
38-
native-tls = "0.2"
34+
35+
# deps for db support
36+
bb8 = "0.8"
37+
bb8-postgres = "0.8"
38+
deadpool-postgres = "0.10"
3939
postgres-native-tls = "0.5"
40+
native-tls = "0.2"
41+
tokio-postgres = { version="0.7", features=["with-chrono-0_4"] }
4042

4143
# deps for aws
42-
aws-config = "0.9.0"
43-
aws-sdk-rekognition = "0.9.0"
44-
aws-sdk-s3 = "0.9.0"
45-
aws-types = "0.9.0"
46-
47-
# Overrides to address vulns
48-
time = "0.3"
49-
50-
# Overrides to address breaks
51-
ring = "0.16.15"
44+
aws-config = "0.12"
45+
aws-sdk-rekognition = "0.12"
46+
aws-sdk-s3 = "0.12"
47+
aws-types = "0.12"
5248

5349
[target.'cfg(not(target_env = "msvc"))'.dependencies]
54-
tikv-jemallocator = { version="0.4", features=[ "background_threads_runtime_support", "background_threads"] }
55-
50+
tikv-jemallocator = { version="0.5", features=[ "background_threads_runtime_support", "background_threads"] }
5651

5752
[dev-dependencies]
5853
rand = "0.8.4"

0 commit comments

Comments
 (0)