Wolfgang Bumiller
0652d81977
tree-wide: enable doc_cfg and doc_auto_cfg for docs
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-02 11:59:53 +02:00
Maximiliano Sandoval
a4b57d6c3c
acme: derive Default for Status
...
Fixes the clippy warning:
warning: this `impl` can be derived
--> proxmox-acme/src/order.rs:36:1
|
36 | / impl Default for Status {
37 | | fn default() -> Self {
38 | | Status::New
39 | | }
40 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
12 + #[derive(Default)]
13 | pub enum Status {
|
help: ...and mark the default variant
|
15 ~ #[default]
16 ~ New,
|
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-06-28 10:22:58 +02:00
Maximiliano Sandoval
baccbda477
acme: elide explicit lifetimes
...
Fixes the clippy warning:
warning: the following explicit lifetimes could be elided: 'a
--> proxmox-acme/src/async_client.rs:65:30
|
65 | pub async fn new_account<'a>(
| ^^
66 | &'a mut self,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-06-28 10:22:58 +02:00
Maximiliano Sandoval
30461d091c
acme: remove duplicated attribute
...
Fixes the following clippy warning:
warning: duplicated attribute
--> proxmox-acme/src/lib.rs:42:7
|
42 | #[cfg(feature = "impl")]
| ^^^^^^^^^^^^^^^^
|
note: first defined here
--> proxmox-acme/src/lib.rs:41:7
|
41 | #[cfg(feature = "impl")]
| ^^^^^^^^^^^^^^^^
help: remove this attribute
--> proxmox-acme/src/lib.rs:42:7
|
42 | #[cfg(feature = "impl")]
| ^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
= note: `#[warn(clippy::duplicated_attributes)]` on by default
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-06-28 10:22:58 +02:00
Fabian Grünbichler
a17430b38f
run cargo fmt
...
(again)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-06-05 13:31:06 +02:00
Dietmar Maurer
870948f1d7
bump proxmox-acme to 0.5.2
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 11:53:52 +02:00
Dietmar Maurer
c07c46cd82
acme: add async-client feature
...
The client code is copied from propxmox-backup, without the load/safe
account functionality.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 11:48:17 +02:00
Dietmar Maurer
c2450691c6
acme: allow to compile/use api types separately.
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 11:23:19 +02:00
Thomas Lamprecht
d73eb3dcf1
tree-wide: run cargo fmt
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-03-25 17:04:17 +01:00
Wolfgang Bumiller
c67a13f1d7
bump proxmox-acme to 0.5.1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-03-07 13:27:47 +01:00
Wolfgang Bumiller
fbb3049768
acme: formatting fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-03-07 13:24:42 +01:00
Wolfgang Bumiller
b5255f1868
acme: drop api-types feature from schema dependency
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-03-07 13:24:37 +01:00
Dietmar Maurer
0370723261
proxmox-acme: derive PartialEq for API types
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-03-07 13:21:54 +01:00
Dietmar Maurer
619414d4f1
proxmox-acme: add api-types feature
...
Because AccountData is exposed via our API (currently as type Object).
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-03-07 13:21:52 +01:00
Wolfgang Bumiller
54784e591e
bump proxmox-acme to 0.5.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:47:28 +01:00
Wolfgang Bumiller
e703725049
add proxmox-acme to workspace
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:45:00 +01:00
Wolfgang Bumiller
b212febefc
drop rustfmt.toml
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:42:54 +01:00
Wolfgang Bumiller
6773460d89
drop -rs suffix
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:42:42 +01:00
Wolfgang Bumiller
a1b59c8a23
move to proxmox-acme
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:41:59 +01:00