summaryrefslogtreecommitdiff
path: root/src/cmd/get_chunk.rs
AgeCommit message (Collapse)AuthorFilesLines
2022-10-23refactor: use clap instead of structoptLars Wirzenius1-3/+2
clap version 3 basically replaces structopt entirely. Sponsored-by: author
2022-01-16refactor: rename AsyncBackupClient to just BackupClientLars Wirzenius1-2/+2
There is only async. Sponsored-by: author
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+5
Also, make it an error for a public symbol to not be documented. Sponsored-by: author
2021-07-23refactor: use async for "obnam get-chunk"Lars Wirzenius1-4/+9
Sponsored-by: author
2021-04-10refactor: struct GetChunk subcommandLars Wirzenius1-8/+17
2021-04-10refactor: move ClientConfig into its own moduleLars Wirzenius1-1/+1
2021-02-06feat: client verifies server's TLS certificate by defaultLars Wirzenius1-1/+1
Configuration setting can disable it.
2021-02-04refactor: have per-module error enumsLars Wirzenius1-1/+2
This means that a function that parses step bindings can't return an error that the document is missing a title. Such an error return would be nonsensical, and we use the Rust type system to prevent it, at a small cost of being a bit verbose. Additional benefit is that the library portion of Obnam doesn't return anyhow::Result values anymore.
2021-01-04feat: verify checksum of chunks downloaded from serverLars Wirzenius1-0/+15