Wolfgang Bumiller
8a6e741d6c
api: let ConstRegexPattern deref to Regex
...
This way we can just use `SOME_REGEX.is_match()` again
without having to explicitly call `(SOME_REGEX.regex_obj)()`
first.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-12-04 11:06:03 +01:00
Wolfgang Bumiller
9b07990086
formatting fixup
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-11-25 15:07:18 +01:00
Dietmar Maurer
7e3b6944f6
proxmox_api: improve ApiStringFormat docs
2019-11-24 10:34:59 +01:00
Dietmar Maurer
446ee31466
const_regex: fixup for previous commit
2019-11-23 10:48:36 +01:00
Dietmar Maurer
e89a52c30b
proxmox-api: further cleanups
...
- improve docs
- move ConstRegexPattern to const_regex.rs
2019-11-23 10:42:17 +01:00
Dietmar Maurer
fa83cbde13
proxmox-api/src/lib.rs: hide modules with inlined docs
2019-11-23 09:53:18 +01:00
Wolfgang Bumiller
a6ce1e432b
api: fully qualify types in exported macros
...
and move const_regex macro into a separate module
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-11-21 14:05:23 +01:00