Dietmar Maurer
4d158ec1b3
proxmox-sys: fix test for wrong logrotate path
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-22 10:35:45 +01:00
Wolfgang Bumiller
19c29ab9b2
clipy fixes
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 09:07:29 +01:00
Wolfgang Bumiller
9da1062f82
add Mmap::assume_init
...
to convert Mmap<MaybeUninit<T>> to Mmap<T>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-22 09:06:46 +01:00
Dietmar Maurer
ffbf58cad3
bump proxmox-async version to 0.2.0
2021-11-20 17:07:52 +01:00
Dietmar Maurer
cab125297b
proxmox-async: improve dev docs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 17:07:52 +01:00
Dietmar Maurer
5bd54b4d9b
proxmox-async: move AsyncChannelWriter to src/io
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 17:07:52 +01:00
Dietmar Maurer
7b7247fa80
proxmox-async: move TokioWriterAdapter to blocking
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:38:36 +01:00
Dietmar Maurer
6c4982bd7c
proxmox-async: remove duplicate src/stream/wrapped_reader_stream.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:15:05 +01:00
Dietmar Maurer
781b5161bd
proxmox-async: split stream.rs into separate files
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:12:55 +01:00
Dietmar Maurer
fa2032c7aa
proxmox-async: split blocking.rs into separate files
2021-11-20 15:58:04 +01:00
Dietmar Maurer
4413002f22
proxmox-async: add copyright file
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:43:19 +01:00
Dietmar Maurer
b63229bf1d
proxmox-async: imported pbs-tools/src/zip.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
64dca3c869
proxmox-async: imported pbs-tools/src/compression.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
112b239d50
proxmox-async: imported pbs-tools/src/tokio/tokio_writer_adapter.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
743f7df2a5
proxmox-async: imported pbs-tools/src/stream.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
a2d62a2555
proxmox-async: imported pbs-tools/src/broadcast_future.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
e1f0eb4aec
proxmox-async: start new crate
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 16:42:11 +01:00
Dietmar Maurer
45645d9aee
proxmox-sys: add copyright file
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 15:48:18 +01:00
Wolfgang Bumiller
c08d4a173d
tfa: remove unnecessary bound attribute
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-19 12:45:23 +01:00
Fabian Grünbichler
5ecc7724e2
sys: update d/control
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:12:01 +01:00
Fabian Grünbichler
f3872d0a69
bump proxmox-tfa to 1.3.1
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
91932da15c
tfa: bump webauthn-rs to 0.3
...
switch WebauthnConfig to use Url for the origin field, via a wrapper
type to make Updater and ApiType happy.
the two new Credential fields `verified` and `registration_policy` are
always set to `false` and `Discouraged`, to get the same behaviour as
before.
Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Tested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
148950fd17
tfa: properly wrap webauthn credentials
...
this (external) struct gets new fields in webauthn-rs 0.3, so let's
properly wrap / convert it instead of just aliasing, else deserializing
will fail.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
d49e6a362e
bump proxmox-sys to 0.1.1
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
aedc5197f5
sys: add missing file
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 12:05:48 +01:00
Fabian Grünbichler
6b2d0e7427
bump proxmox-http to 0.5.6
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 11:46:21 +01:00
Fabian Grünbichler
57d31a8683
bump proxmox to 0.15.4
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 11:46:21 +01:00
Fabian Grünbichler
dc14d03171
all crates: bump base64 dep to 0.13
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-19 11:46:21 +01:00
Dietmar Maurer
20661f014d
proxmox-sys: imported pbs-tools/src/task.rs (as worker_task_context.rs)
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 10:05:06 +01:00
Dietmar Maurer
202641757e
proxmox-sys: imported pbs-tools/src/logrotate.rs (with various cleanups)
...
- new: CreateOption s instead of owner string
- new: returns Result instead of Option
- new: add max_files option
- remove new_with_user()
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 09:28:59 +01:00
Dietmar Maurer
8ac4c949bb
proxmox-sys: imported pbs-tools/src/process_locker.rs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 09:28:52 +01:00
Dietmar Maurer
840154f61b
proxmox-sys: add new crate
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-19 09:28:32 +01:00
Dietmar Maurer
246ce4e801
bump proxmox version to 0.15.3-1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-18 16:54:44 +01:00
Dietmar Maurer
9f4c20f3d2
proxmox: add fd_change_cloexec
2021-11-18 13:06:34 +01:00
Dietmar Maurer
3a378a34bb
bump proxmox-time version to 1.1.0
2021-11-17 13:03:36 +01:00
Dietmar Maurer
6871232791
proxmox-time: remove custom error type
...
None of the functions we call returns a resonable error number anyways.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-17 13:03:36 +01:00
Dietmar Maurer
4a5dbd2129
proxmox-time: added time related fuctions from proxmox-systemd crate.
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-17 13:03:36 +01:00
Wolfgang Bumiller
5b2e8b4c66
Revert "lang: get offsetof const fn ready"
...
This reverts commit 8f89f9ad60948d4853c05801414cfd152ddef16a.
generates broken code in release builds on current rustc
1.55
2021-11-17 10:07:08 +01:00
Wolfgang Bumiller
bbdfd8ede9
bump proxmox-tfa to 1.3.0-1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-17 09:30:27 +01:00
Wolfgang Bumiller
313d0a6b88
proxmox-tfa: import tfa api from proxmox-perl-rs as api feature
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-17 08:39:56 +01:00
Dietmar Maurer
41d0cef377
bump proxmox-shared-memory to version 0.1.1-1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 11:32:16 +01:00
Dietmar Maurer
ece92bde29
proxmox-shared-memory: depend on libc 0.2.107
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 11:29:53 +01:00
Dietmar Maurer
e3a14098f7
bump proxmox-http to 0.5.5-1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 11:05:55 +01:00
Dietmar Maurer
81e959548b
proxmox-http: impl RateLimiterVec
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 11:01:03 +01:00
Dietmar Maurer
c5d396cdb9
bump proxmox-shared-memory to version 0.1.0-2
...
And add missing debian files.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 07:29:13 +01:00
Dietmar Maurer
42002bb5c9
proxmox-shared-memory: avoid compiler warnings
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 07:29:13 +01:00
Dietmar Maurer
a1728a72c8
proxmox-shared-memory: remove debug println
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-15 07:14:49 +01:00
Dietmar Maurer
b8724f4952
bump proxmox-http version to 0.5.4-1
2021-11-14 08:19:15 +01:00
Dietmar Maurer
b9a1d62e47
proxmox-http: RateLimit - remove average_rate
...
Instead, add a method to return overall traffic.
2021-11-14 08:15:42 +01:00
Dietmar Maurer
100848de10
bump proxmox-http version to 0.5.3-1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-13 17:38:41 +01:00