Skip to content

Commit 6a0344a

Browse files
committed
cgw: initial commit
Signed-off-by: Paul White <[email protected]>
1 parent aa54d00 commit 6a0344a

38 files changed

+4083
-0
lines changed

Cargo.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[package]
2+
name = "ucentral-cgw"
3+
version = "0.0.1"
4+
edition = "2021"
5+
6+
[dependencies]
7+
serde = { version = "1.0.144", features = ["derive"] }
8+
serde_json = "1.0.85"
9+
env_logger = "0.5.0"
10+
log = "0.4.20"
11+
tokio = { version = "1.34.0", features = ["full"] }
12+
tokio-stream = { version = "*", features = ["full"] }
13+
tokio-tungstenite = { version = "*", features = ["native-tls"] }
14+
tokio-native-tls = "*"
15+
tokio-rustls = "*"
16+
tokio-postgres = { version = "0.7.10", features = ["with-eui48-1"]}
17+
tokio-pg-mapper = "0.2.0"
18+
tungstenite = { version = "*"}
19+
mio = "0.6.10"
20+
native-tls = "*"
21+
futures-util = { version = "0.3.0", default-features = false }
22+
futures-channel = "0.3.0"
23+
futures-executor = { version = "0.3.0", optional = true }
24+
futures = "0.3.0"
25+
rlimit = "0.10.1"
26+
tonic = "0.10.2"
27+
prost = "0.12"
28+
rdkafka = "0.35.0"
29+
clap = { version = "4.4.8", features = ["derive"] }
30+
eui48 = "1.1.0"
31+
uuid = { version = "1.6.1", features = ["serde"] }
32+
redis-async = "0.16.1"
33+
34+
[build-dependencies]
35+
tonic-build = "0.10"
36+
prost-build = "0.12"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# openlan-cgw

build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fn main() -> Result<(), Box<dyn std::error::Error>> {
2+
tonic_build::compile_protos("src/proto/cgw.proto")?;
3+
Ok(())
4+
}

0 commit comments

Comments
 (0)