Maximiliano Sandoval
c8352531e4
serde: docs: escape html tags
...
Fixes the cargo docs warning:
warning: unclosed HTML tag `u8`
--> proxmox-serde/src/lib.rs:55:18
|
55 | /// Serialize Vec<u8> as base64 encoded string.
| ^^^^
|
= note: `#[warn(rustdoc::invalid_html_tags)]` on by default
help: try marking as source code
|
55 | /// Serialize `Vec<u8>` as base64 encoded string.
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
2024-08-07 20:58:04 +02:00
Wolfgang Bumiller
65715bc096
io, serde, schema: doc fixups
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-30 16:16:16 +02:00
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
Wolfgang Bumiller
821fdb63b0
serde: bump to 0.1.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-20 13:55:39 +02:00
Lukas Wagner
de6337ae6d
clippy fix: the borrowed expression implements the required traits
...
See: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-08 11:05:20 +02:00
Wolfgang Bumiller
8f8d52f148
update d/copyright files to debian copyright-format 1.0
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-23 13:02:39 +02:00
Fabian Grünbichler
46a675830d
update d/control files
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-07 09:48:47 +01:00
Fabian Grünbichler
bdca6de588
update d/control files
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-07 09:48:47 +01:00
Fabian Grünbichler
e5abc0590e
define workspace dependencies in workspace
...
so that we no longer have to (or forget to) bump the version in multiple places.
notable changes:
- outdated versions have been unified
- proxmox-metrics -> proxmox-async no longer uses explicit empty features
(proxmox-async doesn't provide any anyway)
- proxmox-subscription -> proxmox-http no longer uses explicit default_features
= false (proxmox-http has an empty default feature anyway)
- missing path dependencies added (mainly proxmox-rest-server)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-07 09:48:38 +01:00
Fabian Grünbichler
4189221470
inherit shared, external dependencies
...
noteworthy changes:
- proxmox-http had a default_features_false dep on hyper, which is dropped (the
default feature is empty anyway)
- hyper, libc, nix, tokio and url versions are unified
- missing (cosmetic) bindgen feature on zstd enabled everywhere
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-07 09:48:38 +01:00
Fabian Grünbichler
64959d9ae0
move common metadata to workspace
...
and switch all crates to 2021 edition as well as a unified "authors" value.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-07 09:48:25 +01:00
Fabian Grünbichler
5ec765f842
update d/control files
...
debcargo 2.6 changed some minor details
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-06 11:21:43 +01:00
Fabian Grünbichler
4393217633
bump proxmox-serde to 0.1.1
2022-06-29 10:32:44 +02:00
Fabian Grünbichler
b239b56999
serde: take over to/write_canonical_json
...
from PBS' tools module, and feature-guard via optional `serde_json`
dependency.
2022-06-29 10:32:44 +02:00
Wolfgang Bumiller
28c85a828e
proxmox-serde: move serde_json to dev-dependencies
...
it's only used in doctests
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-02 13:18:03 +02:00
Fabian Grünbichler
ca563a8cfd
misc clippy fixes
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-02-08 14:28:44 +01:00
Fabian Grünbichler
121af8a06f
proxmox-serde: track d/control
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-12-30 11:51:08 +01:00
Wolfgang Bumiller
1185458719
serde: formatting
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-12-07 11:52:39 +01:00
Dietmar Maurer
194b028789
proxmox-serde: add new crate with code from proxmox/src/tools/serde.rs
2021-11-24 10:00:38 +01:00