proxmox/proxmox-api/src
Wolfgang Bumiller b0ef405186 api: add test-harness feature
If enabled, the Schema type implements Eq and PartialEq for
testing the api macro better.

Note that these implementations don't make all too much
since since they also compare `dyn Fn` types which do not
implement Eq. Since they're also `&'static` they can't
really be runtime closures, so this should be fine, we know
they'll always point to some regular function.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-08 10:38:30 +01:00
..
cli src/cli/format.rs - print_help: by default, use verbose output for simply commands 2019-12-18 13:08:18 +01:00
cli.rs formatting fixup 2019-12-12 15:35:30 +01:00
const_regex.rs api: add test-harness feature 2020-01-08 10:38:30 +01:00
error.rs api: use http::{Parts,Response,Method} 2019-12-05 13:18:21 +01:00
format.rs api/macro: add NumberSchema 2019-12-18 11:30:55 +01:00
lib.rs implement ApiHandler::Async 2019-12-16 09:53:25 +01:00
router.rs api: add test-harness feature 2020-01-08 10:38:30 +01:00
rpc_environment.rs import the new api definitions 2019-11-21 13:30:28 +01:00
schema.rs api: add test-harness feature 2020-01-08 10:38:30 +01:00