proxmox-backup/src
Dominik Csapak 6f0565fa60 rest-server: use hypers AddrIncoming for proxmox-backup-api
this has a 'from_listener' (tokio::net::TcpListener) since hyper 0.14.5 in
the 'tcp' feature (we use 'full', which includes that; since 0.14.13
it is not behind a feature flag anymore).

this makes it possible to create a hyper server without our
'StaticIncoming' wrapper and thus makes it unnecessary.

The only other thing we have to do is to change the Service impl from
tokio::net::TcpStream to hyper::server::conn::AddStream to fulfill the trait
requirements.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-29 09:38:40 +02:00
..
acme cleanup worker task logging 2021-09-24 10:34:11 +02:00
api2 proxmox-rest-server: cleanup formatter, improve docs 2021-09-28 07:45:50 +02:00
backup move src/backup/read_chunk.rs to pbs-datastore/src/local_chunk_reader.rs 2021-09-27 11:10:14 +02:00
bin rest-server: use hypers AddrIncoming for proxmox-backup-api 2021-09-29 09:38:40 +02:00
config avoid type re-exports 2021-09-14 08:35:43 +02:00
rrd more api type cleanups: avoid re-exports 2021-09-10 12:25:32 +02:00
server move src/backup/datastore.rs into pbs_datastore crate 2021-09-27 09:11:38 +02:00
tape move src/backup/snapshot_reader.rs to pbs_datastore crate 2021-09-27 09:58:20 +02:00
tools tools: smart: only throw error for smartctl fatal errors 2021-09-27 08:59:13 +02:00
auth.rs more api type cleanups: avoid re-exports 2021-09-10 12:25:32 +02:00
auth_helpers.rs start new pbs-config workspace 2021-09-02 12:58:20 +02:00
lib.rs move client to pbs-client subcrate 2021-07-19 12:58:43 +02:00