Commit Graph

  • abc32ba70f cleanup Wolfgang Bumiller 2019-08-16 13:15:39 +0200
  • 2ecd147036 tools: add borrow::Tied with example docs Wolfgang Bumiller 2019-08-16 12:36:27 +0200
  • 025eaf5519 api-macro: fix non-async test case after adding verifiers Wolfgang Bumiller 2019-08-16 12:21:31 +0200
  • 9fd9bd53fd api-test: update curl examples Wolfgang Bumiller 2019-08-16 10:20:26 +0200
  • bb937395f7 macro: functions: call verify() on all parameters Wolfgang Bumiller 2019-08-16 10:18:33 +0200
  • 3d15cca7d6 api-test: add a short example shell script for now Wolfgang Bumiller 2019-08-16 09:49:22 +0200
  • 021a381f18 api-test: add example with a more complex struct Wolfgang Bumiller 2019-08-16 09:44:40 +0200
  • 5be4143d92 api: allow () type, but panic when used as CLI input Wolfgang Bumiller 2019-08-16 09:44:25 +0200
  • a7b9c8d89e fixup tests for router change Wolfgang Bumiller 2019-08-15 20:26:18 +0200
  • 8b77b3d08c api-test: add a json-body multi-parameter test method Wolfgang Bumiller 2019-08-15 11:03:10 +0200
  • 82f8df963e api: router: return Map on lookup Wolfgang Bumiller 2019-08-15 11:02:08 +0200
  • 6705d13424 api-test: comments/cleanup Wolfgang Bumiller 2019-08-15 10:27:25 +0200
  • bb2639bf40 formatting fixup Wolfgang Bumiller 2019-08-12 14:34:23 +0200
  • 8e24ada75a macro: support deriving Display for newtypes Wolfgang Bumiller 2019-08-12 14:01:21 +0200
  • 50f5115718 macro: fix enum verify method Wolfgang Bumiller 2019-08-12 14:00:59 +0200
  • 37cf2e6208 macro: fixup previous commit: remove hardcoded error Wolfgang Bumiller 2019-08-12 13:30:34 +0200
  • 0046e5e33a macro: experimental support for enums with values Wolfgang Bumiller 2019-08-12 12:00:11 +0200
  • fb5670c5b5 macro: remove exact futures-preview version Wolfgang Bumiller 2019-08-12 10:42:18 +0200
  • 169bf79c72 formatting cleanup Wolfgang Bumiller 2019-08-09 12:41:53 +0200
  • ed503f689d macro: split enum handler into separate module Wolfgang Bumiller 2019-08-09 12:40:43 +0200
  • 59d0c72642 macro: split struct handlers into separate submodules Wolfgang Bumiller 2019-08-09 12:36:12 +0200
  • 841c2a218d macro: split function handler into separate file Wolfgang Bumiller 2019-08-09 09:18:02 +0200
  • 62b5798314 import Cargo.lock Wolfgang Bumiller 2019-08-09 08:44:48 +0200
  • 080f62916e macro: errors shouldn't discard the code Wolfgang Bumiller 2019-08-08 14:04:27 +0200
  • cad8f2f1c3 macro: implement #[derive(FromStr)] for newtypes Wolfgang Bumiller 2019-08-08 13:53:24 +0200
  • e3273d6172 formatting cleanup Wolfgang Bumiller 2019-08-08 13:13:35 +0200
  • cfa6f0f67f cleanup Wolfgang Bumiller 2019-08-08 13:13:19 +0200
  • bb3e2859e4 macro: derive ser/de for newtypes just like structs Wolfgang Bumiller 2019-08-08 11:29:12 +0200
  • a53e8c5e82 macro: make sure errors are separated Wolfgang Bumiller 2019-08-08 11:17:37 +0200
  • 818dc25478 macro: factor out newtype handler Wolfgang Bumiller 2019-08-08 11:12:07 +0200
  • dfdf354b0d macro: more quote -> quote_spanned changes Wolfgang Bumiller 2019-08-08 11:09:58 +0200
  • af04fc5764 macro: remove unused add_verifiers Wolfgang Bumiller 2019-08-08 11:09:29 +0200
  • ccce46eba4 formatting fixup Wolfgang Bumiller 2019-08-05 14:14:09 +0200
  • 863a16a5bc whitespace cleanup Wolfgang Bumiller 2019-08-05 14:13:37 +0200
  • 4c9a8b5c88 cleanup use statements Wolfgang Bumiller 2019-08-05 14:12:49 +0200
  • f074a9e60b cleanup Cargo.toml files Wolfgang Bumiller 2019-08-05 14:09:54 +0200
  • 1f11c4adf9 sys: rustfmt workaround Wolfgang Bumiller 2019-08-05 12:46:21 +0200
  • 63b17d4eb5 tools: Cargo.toml: cleanup Wolfgang Bumiller 2019-08-05 12:36:35 +0200
  • 97f41473db rename tools::raw to tools::fd Wolfgang Bumiller 2019-08-05 12:36:24 +0200
  • 3497f97a7d proxmox-tools/src/lib.rs: fix doc test Dietmar Maurer 2019-08-05 10:11:45 +0200
  • d78142302c formatting fixup Wolfgang Bumiller 2019-08-02 11:26:40 +0200
  • 0c3f5449d7 use new proxmox::tools::nodename Dietmar Maurer 2019-08-03 17:06:23 +0200
  • d6d65be42e add nodename helper (copied from proxmox-backup) Dietmar Maurer 2019-08-03 17:00:02 +0200
  • ce18d8c035 src/linux/procfs.rs: moved from proxmox-backup Dietmar Maurer 2019-08-03 16:19:11 +0200
  • 465990e139 update to nix 0.14, use code from proxmox:tools Dietmar Maurer 2019-08-03 13:05:38 +0200
  • 51d891af5d new helper create_dir_chown Dietmar Maurer 2019-08-03 12:21:20 +0200
  • 9f63a6506e src/fs.rs: new module for fs related helpers Dietmar Maurer 2019-08-03 11:49:14 +0200
  • 909520d191 add src/linux/magic.rs - moved from proxmox-backup Dietmar Maurer 2019-08-03 09:19:32 +0200
  • e985dc8f84 api-test: import struct tests Wolfgang Bumiller 2019-08-01 14:40:12 +0200
  • 75e90ebb25 api: support HashSet<String> as api type Wolfgang Bumiller 2019-08-01 11:20:10 +0200
  • ef13b38632 macro: improve error output Wolfgang Bumiller 2019-07-31 15:42:05 +0200
  • 3a36ff78df macro: clear a warning Wolfgang Bumiller 2019-07-31 14:39:18 +0200
  • 14acfcd5cd macro: recurse into struct field verifiers Wolfgang Bumiller 2019-07-31 14:35:00 +0200
  • 3c31381fb2 macro: support 'pattern' verifier in structs Wolfgang Bumiller 2019-07-31 14:32:35 +0200
  • 26e4b205ac tools: add remaining common regexps Wolfgang Bumiller 2019-07-31 11:45:45 +0200
  • 1bc52e2482 tools: add common_regex with IP_REGEX for now Wolfgang Bumiller 2019-07-31 11:45:21 +0200
  • 2a4af329a7 formatting fixup Wolfgang Bumiller 2019-07-30 15:20:55 +0200
  • d5ee03da9f macro: support serialize_with and deserialize_with Wolfgang Bumiller 2019-07-30 15:19:51 +0200
  • a6fcaf27e5 macro: don't enforce the AsOptionStr type on formats Wolfgang Bumiller 2019-07-30 10:33:07 +0200
  • fab0210287 api, macro: implement 'format' verifier for structs Wolfgang Bumiller 2019-07-30 10:06:32 +0200
  • b77733c8ef api: macro: implement minimum/maximum_length checks Wolfgang Bumiller 2019-07-29 14:40:04 +0200
  • f1f4c14819 api: verify: rename Verify to TestMinMax Wolfgang Bumiller 2019-07-29 14:30:32 +0200
  • 20b8c709c6 api: add helper module for verifiers Wolfgang Bumiller 2019-07-29 14:16:04 +0200
  • 30105c5743 refactor struct handling Wolfgang Bumiller 2019-07-29 12:00:51 +0200
  • bb62206e27 macro: disable derive_default for now Wolfgang Bumiller 2019-07-19 15:24:39 +0200
  • 5d9fe0d24d macro: fixup: don't create unwanted default impl snippets Wolfgang Bumiller 2019-07-19 15:20:45 +0200
  • 8523e03486 macro: partial support for automatic Default derivation Wolfgang Bumiller 2019-07-19 15:17:25 +0200
  • 50eadf23fb macro: support Option in deserialization Wolfgang Bumiller 2019-07-19 14:50:23 +0200
  • ce5fa31721 formatting cleanup Wolfgang Bumiller 2019-07-19 14:30:48 +0200
  • 061cc5b525 implement accessors for types with defaults Wolfgang Bumiller 2019-07-19 14:09:15 +0200
  • 7cbc6d0962 api: add a meta module to help with macro impls Wolfgang Bumiller 2019-07-19 14:08:55 +0200
  • cb2c260f87 default to not serializing None options Wolfgang Bumiller 2019-07-19 13:22:18 +0200
  • d9f57ed107 cleanup Wolfgang Bumiller 2019-07-19 11:07:10 +0200
  • ec1ad87193 macro: replace named struct handler Wolfgang Bumiller 2019-07-19 11:03:37 +0200
  • 0a8a9cdb5b macro: error handling Wolfgang Bumiller 2019-07-19 10:04:38 +0200
  • bb62dde9b0 macro: common defs: add default, and sort Wolfgang Bumiller 2019-07-19 10:01:59 +0200
  • bb673ec0db macro: improved error output Wolfgang Bumiller 2019-07-19 09:58:07 +0200
  • 183125b1cd macro: named struct: allow short form for fields Wolfgang Bumiller 2019-07-18 15:05:26 +0200
  • c54afe1be4 macro: add spans to more errors Wolfgang Bumiller 2019-07-18 14:59:09 +0200
  • f340968773 macro: ability to rename enum variants via an attribute Wolfgang Bumiller 2019-07-18 14:52:25 +0200
  • 4b3333aa5c macro: cleanup error handling, remove error module Wolfgang Bumiller 2019-07-18 14:41:26 +0200
  • 09eaef022f formatting cleanup Wolfgang Bumiller 2019-07-18 13:58:26 +0200
  • 43d69cb1aa macro: more error handling improvements Wolfgang Bumiller 2019-07-18 13:57:51 +0200
  • 9c9413ae56 macro: add types.rs, preserve Span for Expressions Wolfgang Bumiller 2019-07-18 13:54:51 +0200
  • 4803bfcb59 macro: add TypeInfo for enum types Wolfgang Bumiller 2019-07-18 11:26:57 +0200
  • 7510f3179c macro: more absolute paths Wolfgang Bumiller 2019-07-18 11:26:49 +0200
  • a034fe3335 cleanup/remove old code Wolfgang Bumiller 2019-07-18 11:15:21 +0200
  • 7f704d12df macro: started basic enum support Wolfgang Bumiller 2019-07-18 11:14:58 +0200
  • 624afe28a4 prepare to parse enums Wolfgang Bumiller 2019-07-18 10:51:16 +0200
  • da40267188 api-server, tools: formatting cleanup Wolfgang Bumiller 2019-07-18 10:47:56 +0200
  • 9654d1feeb macro: add spanned format_err equivalent Wolfgang Bumiller 2019-07-18 10:47:41 +0200
  • 145abf62a5 macro: helpers for error handling Wolfgang Bumiller 2019-07-18 10:28:24 +0200
  • a1c8b00f17 example for better error messages Wolfgang Bumiller 2019-07-17 16:49:19 +0200
  • 18d6fc28b4 api: export derive_parse_cli_from_str Wolfgang Bumiller 2019-07-17 16:19:45 +0200
  • bfbba4e605 tests: use an async block instead of an async closure Wolfgang Bumiller 2019-07-17 16:13:36 +0200
  • 23e4a1ee3f update api server to hyper git master Wolfgang Bumiller 2019-07-17 12:12:22 +0200
  • 3f8feff618 tools: actually add raw module Wolfgang Bumiller 2019-07-17 12:12:08 +0200
  • fd40d69ae0 src/server/rest.rs: avoid unwrap Dietmar Maurer 2019-07-03 12:00:43 +0200
  • 4ca8acb083 src/server/rest.rs: log peer address, use hyper MakeService Dietmar Maurer 2019-07-03 11:54:35 +0200
  • 404256a646 tools: add raw::Fd Wolfgang Bumiller 2019-07-02 15:47:36 +0200