[pve-devel] [PATCH 2/2] tui: verify email with basic regex

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 21 14:34:10 CEST 2023


Am 21/06/2023 um 14:30 schrieb Dominik Csapak:
> regex copied from perl gui installer
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> this needs librust-regex-dev as build-dependency
>  proxmox-tui-installer/Cargo.toml  | 1 +
>  proxmox-tui-installer/src/main.rs | 8 ++++++++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/proxmox-tui-installer/Cargo.toml b/proxmox-tui-installer/Cargo.toml
> index 9d57b5b..5a50c69 100644
> --- a/proxmox-tui-installer/Cargo.toml
> +++ b/proxmox-tui-installer/Cargo.toml
> @@ -11,5 +11,6 @@ homepage = "https://www.proxmox.com"
>  cursive = { version = "0.20.0", default-features = false, features = ["termion-backend"] }
>  serde = { version = "1.0", features = ["derive"] }
>  serde_json = "1.0"
> +regex = "1.7"

FYI: needs also an build-dependency entry in d/control to be complete, but can fix
that on applying.





More information about the pve-devel mailing list