Files
mdrs-client-rust/Cargo.toml
T
orrisroot 4069581098 fix(folders): handle locked folder access consistently
Recognize the server's short locked-folder response and preserve the
password proof required by subsequent folder and file requests.

- Report locked short records with a typed folder error
- Share the folder-auth cookie across connections and token refreshes
- Authenticate a locked folder selected as the root of a recursive
  download
- Remove DOI-specific password authentication in favor of common
  folder access routines
2026-11-27 17:19:24 +09:00

37 lines
1006 B
TOML

[package]
name = "mdrs-client-rust"
version = "2.0.3"
edition = "2024"
license = "MIT"
authors = ["Neuroinformatics Unit, RIKEN CBS"]
description = "A command-line client for uploading and downloading files to and from an MDRS-based repository."
[[bin]]
name = "mdrs"
path = "src/main.rs"
[dependencies]
clap = { version = "4.6.10", features = ["derive"] }
reqwest = { version = "0.13.5", default-features = false, features = ["cookies", "form", "json", "multipart", "query", "rustls", "stream"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
tokio = { version = "1.54.1", features = ["full"] }
tokio-util = { version = "0.7.20", features = ["io"] }
futures = "0.3.34"
dirs = "7.0.0"
anyhow = "1.0.105"
configparser = "3.3.0"
sha2 = "0.11.2"
rpassword = "7.5.5"
base64 = "0.23.1"
fs2 = "0.4.3"
ctrlc = "3.5.3"
os_info = "3.15.0"
dotenvy = "0.15.7"
unicode-normalization = "0.1.26"
self-replace = "1.5.1"
tar = "0.4.46"
flate2 = "1.1.11"
zip = "9.8.2"
tempfile = "3.27.0"