[package]
name = "rs_transfer"
version = "8.1.0"
authors = [
    "Valentin Noel <valentin.noel@media-io.com>",
    "Marc-Antoine Arnaud <maarnaud@media-io.com>",
    "Thibaud Le Graverend <thibaud.legraverend@media-io.com>",
    "Nicolas Pierre <nico.pierre@icloud.com>",
]
edition = "2024"
description = "A simple crate to handle downloads and uploads on multiple providers"
readme = "README.md"
license = "MIT"
resolver = "2"

[lib]
crate-type = ["lib"]

[dependencies]
async-std = { version = "1.10", features = ["attributes", "tokio1"] }
async-trait = "0.1.31"

# AWS dependencies constrained to known-compatible versions
aws-config = ">=1.8.3, <=1.8.12"
aws-credential-types = { version = ">=1.2.4, <=1.2.11", features = ["hardcoded-credentials"] }
aws-sdk-sts = ">=1.80.0, <=1.95.0"
aws-sdk-s3 = ">=1.100.0, <=1.117.0"
aws-smithy-types = ">=1.3.2, <=1.3.5"
aws-smithy-async = "=1.2.7"
aws-smithy-xml = "=0.60.13"


bytes = "0.5.4"
chrono = "0.4"
cloud-storage = "0.10"
mcai_ftp = { version = "3.0.1", features = ["secure"] }
futures = "0.3"
futures-util = "0.3"
log = "0.4"
onedrive-api = "0.9.0"
regex = "1"
reqwest = { version = "0.11", features = ["stream"] }
schemars = "0.8.0"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
ssh-transfer = "0.4"
threadpool = "1.8"
tokio = "1.7"
tokio-io = "0.1"
url = "2.1.1"

[dev-dependencies]
env_logger = "0.10"
clap = { version = "3.2", features = [
    "derive",
] } # FIXME 4.0 is not supported by CI runner
criterion = "0.3"
mockito = "0.30"
aws-smithy-mocks = "0.1.1"

