hyperlane_plugin_env/
const.rs1pub const DEFAULT_ENV_PREFIX: &str = "HYPERLANE_";
3
4pub const KEY_ADDRESS: &str = "ADDRESS";
6
7pub const KEY_HOST: &str = "HOST";
9
10pub const KEY_PORT: &str = "PORT";
12
13pub const KEY_NODELAY: &str = "NODELAY";
15
16pub const KEY_TTL: &str = "TTL";
18
19pub const KEY_PROTOCOL: &str = "PROTOCOL";
21
22pub const KEY_TLS_CERT: &str = "TLS_CERT";
24
25pub const KEY_TLS_KEY: &str = "TLS_KEY";
27
28pub const REDACTED_MARKER: &str = "[REDACTED]";
30
31pub(crate) const EXPORT_PREFIX: &str = "export ";
33
34pub(crate) const BOOL_TRUE: &str = "true";
36
37pub(crate) const BOOL_FALSE: &str = "false";
39
40pub(crate) const PROTO_HTTP1: &str = "http1";
42
43pub(crate) const PROTO_HTTP2: &str = "http2";
45
46pub(crate) const PROTO_HTTP3: &str = "http3";
48
49pub(crate) const ERR_MISSING: &str = "missing required env key";
51
52pub(crate) const ERR_PARSE: &str = "failed to parse env key";
54
55pub(crate) const ERR_SYNTAX: &str = "invalid .env syntax";
57
58pub(crate) const ERR_IO: &str = "failed to read .env file";
60
61pub(crate) const ERR_INVALID_BOOL: &str = "invalid boolean";
63
64pub(crate) const ERR_INVALID_DURATION: &str = "invalid duration";
66
67pub(crate) const ERR_INVALID_PROTOCOL: &str = "expected http1, http2, or http3";
69
70pub(crate) const ERR_MISSING_EQ: &str = "missing '=' separator";
72
73pub(crate) const ERR_INVALID_KEY: &str = "invalid variable name";
75
76pub(crate) const ERR_UNCLOSED_QUOTE: &str = "unterminated quoted value";