-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
73 lines (62 loc) · 2.07 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "htsget-storage"
version = "0.2.1"
rust-version = "1.83"
authors = ["Marko Malenic <[email protected]>"]
edition = "2021"
license = "MIT"
description = "Storage interfaces and abstractions for htsget-rs."
documentation = "https://github.com/umccr/htsget-rs/blob/main/htsget-storage/README.md"
homepage = "https://github.com/umccr/htsget-rs/blob/main/htsget-storage/README.md"
repository = "https://github.com/umccr/htsget-rs"
[features]
aws = [
"dep:bytes",
"dep:aws-sdk-s3",
"dep:aws-config",
"htsget-config/aws",
"htsget-test/aws",
"htsget-test/aws"
]
url = [
"dep:bytes",
"dep:reqwest",
"htsget-config/url",
"htsget-test/url"
]
experimental = ["dep:crypt4gh", "dep:bincode", "htsget-config/experimental", "htsget-test/experimental"]
default = []
[dependencies]
url = "2"
http = "1"
cfg-if = "1"
# Async
tokio = { version = "1", features = ["macros", "rt-multi-thread", "io-util"] }
tokio-util = { version = "0.7", features = ["io", "compat"] }
futures = { version = "0.3" }
futures-util = "0.3"
async-trait = "0.1"
pin-project-lite = { version = "0.2" }
# Amazon S3
bytes = { version = "1", optional = true }
aws-sdk-s3 = { version = "1", optional = true }
aws-config = { version = "1", optional = true }
# Url storage
reqwest = { version = "0.12", features = ["rustls-tls", "stream"], default-features = false, optional = true }
# Crypt4GH
crypt4gh = { version = "0.4", git = "https://github.com/EGA-archive/crypt4gh-rust", optional = true }
bincode = { version = "1", optional = true }
# Error control, tracing, config
thiserror = "1"
tracing = "0.1"
base64 = "0.22"
htsget-config = { version = "0.12.0", path = "../htsget-config", default-features = false }
htsget-test = { version = "0.7.1", path = "../htsget-test", features = ["http"], default-features = false }
[dev-dependencies]
tower-http = { version = "0.6", features = ["fs"] }
axum = "0.7"
tempfile = "3"
data-url = "0.3"
# Axum server
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
criterion = { version = "0.5", features = ["async_tokio"] }