Skip to content

Commit

Permalink
Lexicographical order for dependencies in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshelev committed Jul 11, 2022
1 parent 558e98a commit 805baab
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,30 @@ web-app = ["tokio", "axum", "axum-server", "hyper", "hyper-tls", "tower-http"]
self-signed-certs = ["hyper-tls"]

[dependencies]
axum = { version = "0.5.7", optional = true, features = ["http2"] }
axum-server = { version = "0.4.0", optional = true, features = ["rustls", "rustls-pemfile", "tls-rustls"] }
# rust-elgamal (via curve25519-dalek-ng) only works with digest 0.9, not 0.10
digest = "0.9"
hex = {version = "0.4", optional = true}
hex = { version = "0.4", optional = true }
# rust-elgamal (via curve25519-dalek-ng) only works with digest 0.9, so pin this
hkdf = "0.11"
hyper = { version = "0.14.19", optional = true, features = ["client", "h2"] }
hyper-tls = { version = "0.5.0", optional = true }
log = "0.4"
rand_core = "0.6"
rand = "0.8"
rand_core = "0.6"
redis = "0.21.5"
rust-elgamal = "0.4"
serde = {version = "1.0", optional = true}
serde_json = {version = "1.0", optional = true}
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
# rust-elgamal (via curve25519-dalek-ng) only works with digest 0.9, so pin this
sha2 = "0.9"
structopt = {version = "0.3", optional = true}
structopt = { version = "0.3", optional = true }
thiserror = "1.0"
tracing = "0.1.35"
tokio = { version = "1.19.2", optional = true, features = ["rt", "rt-multi-thread", "macros"] }
axum = { version = "0.5.7", optional = true, features = ["http2"] }
hyper = { version = "0.14.19", optional = true, features = ["client", "h2"] }
hyper-tls = { version = "0.5.0", optional = true }
axum-server = { version = "0.4.0", optional = true, features = ["rustls", "rustls-pemfile", "tls-rustls"] }
tracing-subscriber = { version = "0.3.14", optional = true }
tower-http = { version = "0.3.4", optional = true, features = ["trace"] }



tracing = "0.1.35"
tracing-subscriber = { version = "0.3.14", optional = true }

[dev-dependencies]
hex = "0.4"
Expand Down

0 comments on commit 805baab

Please sign in to comment.