]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-backup-client/src/main.rs
avoid chrono dependency, depend on proxmox 0.3.8
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 12 Sep 2020 13:10:47 +0000 (15:10 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 15 Sep 2020 05:12:57 +0000 (07:12 +0200)
commit6a7be83efe5be283a7179b72f4a8521d954b2075
treedd658f34ada0226fbf4d7e22a5dda3a5db65f455
parent58169da46a7ca2114512614c0305e9a70f5b6c07
avoid chrono dependency, depend on proxmox 0.3.8

- remove chrono dependency

- depend on proxmox 0.3.8

- remove epoch_now, epoch_now_u64 and epoch_now_f64

- remove tm_editor (moved to proxmox crate)

- use new helpers from proxmox 0.3.8
  * epoch_i64 and epoch_f64
  * parse_rfc3339
  * epoch_to_rfc3339_utc
  * strftime_local

- BackupDir changes:
  * store epoch and rfc3339 string instead of DateTime
  * backup_time_to_string now return a Result
  * remove unnecessary TryFrom<(BackupGroup, i64)> for BackupDir

- DynamicIndexHeader: change ctime to i64

- FixedIndexHeader: change ctime to i64
37 files changed:
Cargo.toml
examples/download-speed.rs
examples/upload-speed.rs
src/api2/admin/datastore.rs
src/api2/node/rrd.rs
src/api2/node/time.rs
src/api2/reader.rs
src/api2/status.rs
src/auth_helpers.rs
src/backup/backup_info.rs
src/backup/catalog.rs
src/backup/crypt_config.rs
src/backup/datastore.rs
src/backup/dynamic_index.rs
src/backup/fixed_index.rs
src/backup/key_derivation.rs
src/backup/manifest.rs
src/backup/prune.rs
src/bin/proxmox-backup-client.rs
src/bin/proxmox-backup-proxy.rs
src/bin/proxmox_backup_client/benchmark.rs
src/bin/proxmox_backup_client/key.rs
src/client/backup_reader.rs
src/client/backup_writer.rs
src/client/http_client.rs
src/config/jobstate.rs
src/pxar/tools.rs
src/rrd/cache.rs
src/server/upid.rs
src/server/worker_task.rs
src/tools.rs
src/tools/file_logger.rs
src/tools/format.rs
src/tools/systemd.rs
src/tools/systemd/time.rs
src/tools/systemd/tm_editor.rs [deleted file]
src/tools/ticket.rs