central topics consts shared between modules

This commit is contained in:
Evan Feenstra
2022-09-12 10:37:04 -07:00
parent 6d566107f6
commit 51659c74ac
11 changed files with 48 additions and 49 deletions

View File

@@ -1,4 +1,5 @@
pub mod control;
pub mod topics;
use serde::ser;
use std::cmp::min;

6
parser/src/topics.rs Normal file
View File

@@ -0,0 +1,6 @@
pub const VLS: &str = "sphinx";
pub const VLS_RETURN: &str = "sphinx-return";
pub const CONTROL: &str = "sphinx-control";
pub const CONTROL_RETURN: &str = "sphinx-control-return";
pub const PROXY: &str = "sphinx-proxy";
pub const PROXY_RETURN: &str = "sphinx-proxy-return";