summaryrefslogtreecommitdiff
path: root/src/client.rs
AgeCommit message (Expand)AuthorFilesLines
2022-11-12fix: unnecessary borrows, other things found by clippyLars Wirzenius1-1/+1
2022-10-26change put to take a vector of bytesLars Wirzenius1-1/+2
2022-10-26use new chunk store for all of client.rsLars Wirzenius1-39/+4
2022-10-26drop dead codeLars Wirzenius1-58/+0
2022-10-26impl backup client find client trusts with new chunk storeLars Wirzenius1-9/+3
2022-10-26use new chnunk store for backup client fetch_chunkLars Wirzenius1-3/+1
2022-10-26use new ChunkStore for remote has_chunkLars Wirzenius1-15/+9
2022-04-16feat! change how chunk labels are serializedLars Wirzenius1-1/+1
2022-04-16refactor: rename Checksum to LabelLars Wirzenius1-2/+2
2022-04-16refactor: add a Literal variant to ChecksumLars Wirzenius1-1/+3
2022-04-06feat! add chunk server API version to HTTP pathsLars Wirzenius1-1/+1
2022-03-22feat! store list of generations in a "client trust root" chunkLars Wirzenius1-10/+42
2022-03-22fix: old typo in doc commentLars Wirzenius1-1/+1
2022-03-13feat! rename metadata field "sha256" to "label"Lars Wirzenius1-1/+1
2022-01-16refactor: combine the chunk client into BackupClientLars Wirzenius1-69/+36
2022-01-16refactor: rename AsyncBackupClient to just BackupClientLars Wirzenius1-8/+6
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+38
2021-08-16refactor: move file reading, etc, for backups to backup_runLars Wirzenius1-75/+1
2021-08-09refactor: use async for "obnam backup"Lars Wirzenius1-197/+50
2021-08-01refactor: use a struct for GenIdLars Wirzenius1-2/+2
2021-08-01refactor: add a type alias for generation idsLars Wirzenius1-9/+7
2021-07-23refactor: use async for "obnam list-files"Lars Wirzenius1-0/+29
2021-07-23refactor: use async for "obnam list"Lars Wirzenius1-0/+17
2021-07-23refactor: use async for "obnam get-chunk"Lars Wirzenius1-0/+114
2021-07-22Merge branch 'feature/114-replace-string-with-chunkid' into 'main'Lars Wirzenius1-2/+2
2021-07-21Replace ClientResult with plain ResultAlexander Batischev1-20/+22
2021-07-21In errors, store chunk ids as `ChunkId`, not `String`Alexander Batischev1-2/+2
2021-05-31refactor: only send/receive encrypted chunks with serverLars Wirzenius1-65/+65
2021-05-29refactor: make metadata be part of datachunkLars Wirzenius1-18/+12
2021-05-29refactor: split bare chunk server client into its own structLars Wirzenius1-71/+84
2021-04-29feat: improve error messagesLars Wirzenius1-39/+78
2021-04-10refactor: move ClientConfig into its own moduleLars Wirzenius1-120/+2
2021-04-09feat: add "obnam init" subcommandLars Wirzenius1-3/+44
2021-03-27refactor: drop unnecessary conversions to the same typeLars Wirzenius1-5/+5
2021-03-27refactor: use Option::or_else to avoid unnecessary allocationLars Wirzenius1-1/+4
2021-03-27refactor: rename ChunkId::from_str to ChunkId::recreateLars Wirzenius1-1/+1
2021-03-03refactor: drop unnecessary derives for config structsLars Wirzenius1-2/+2
2021-03-03fix: don't allow unknown fields in configuration filesLars Wirzenius1-0/+1
2021-02-19feat: backup and restore named pipes (FIFOs)Lars Wirzenius1-0/+1
2021-02-19feat: back up and restore Unix domain socketsLars Wirzenius1-4/+7
2021-02-16refactor: use bytesize::MIB constant for clearer sizeLars Wirzenius1-1/+2
2021-02-06feat! back up multiple rootsLars Wirzenius1-5/+5
2021-02-06feat: make client config fields be optional, have defaultsLars Wirzenius1-2/+36
2021-02-06feat: client verifies server's TLS certificate by defaultLars Wirzenius1-3/+5
2021-02-06feat: client requires an HTTPS URL for serverLars Wirzenius1-1/+12
2021-02-04feat: add obnam config subcommandLars Wirzenius1-2/+2
2021-02-04refactor: have per-module error enumsLars Wirzenius1-26/+62
2021-01-19refactor: use ChunkId directly in errors, instead of StringLars Wirzenius1-3/+3
2021-01-17feat: add a default configuration fileLars Wirzenius1-1/+3
2021-01-10feat! use SQLite db for chunk index on serverLars Wirzenius1-11/+27