# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "htsget-storage" version = "0.2.1" authors = ["Marko Malenic "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Storage interfaces and abstractions for htsget-rs." homepage = "https://github.com/umccr/htsget-rs/blob/main/htsget-storage/README.md" documentation = "https://github.com/umccr/htsget-rs/blob/main/htsget-storage/README.md" readme = "README.md" license = "MIT" repository = "https://github.com/umccr/htsget-rs" [lib] name = "htsget_storage" path = "src/lib.rs" [dependencies.async-trait] version = "0.1" [dependencies.aws-config] version = "1" optional = true [dependencies.aws-sdk-s3] version = "1" optional = true [dependencies.base64] version = "0.22" [dependencies.bincode] version = "1" optional = true [dependencies.bytes] version = "1" optional = true [dependencies.cfg-if] version = "1" [dependencies.crypt4gh] version = "0.4" optional = true [dependencies.futures] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.htsget-config] version = "0.12.0" default-features = false [dependencies.htsget-test] version = "0.7.1" features = ["http"] default-features = false [dependencies.http] version = "1" [dependencies.pin-project-lite] version = "0.2" [dependencies.reqwest] version = "0.12" features = [ "rustls-tls", "stream", ] optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "io-util", ] [dependencies.tokio-util] version = "0.7" features = [ "io", "compat", ] [dependencies.tracing] version = "0.1" [dependencies.url] version = "2" [dev-dependencies.axum] version = "0.7" [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [dev-dependencies.data-url] version = "0.3" [dev-dependencies.reqwest] version = "0.12" features = ["rustls-tls"] default-features = false [dev-dependencies.tempfile] version = "3" [dev-dependencies.tower-http] version = "0.6" features = ["fs"] [features] default = [] experimental = [ "dep:crypt4gh", "dep:bincode", "htsget-config/experimental", "htsget-test/experimental", ] s3-storage = [ "dep:bytes", "dep:aws-sdk-s3", "dep:aws-config", "htsget-config/s3-storage", "htsget-test/s3-storage", "htsget-test/aws-mocks", ] url-storage = [ "dep:bytes", "dep:reqwest", "htsget-config/url-storage", "htsget-test/url-storage", ]