Skip to content

Commit

Permalink
Merge pull request #125 from amosproj/sendmsg-demo
Browse files Browse the repository at this point in the history
feat: implement demo program for sendmsg
  • Loading branch information
fhilgers authored Nov 26, 2024
2 parents 72e2a70 + aaa1185 commit 0e6dc2b
Show file tree
Hide file tree
Showing 4 changed files with 486 additions and 1 deletion.
130 changes: 130 additions & 0 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[workspace]
resolver = "2"
members = ["xtask", "backend/daemon", "backend/ebpf", "backend/common", "shared", "client"]
members = ["xtask", "backend/daemon", "backend/ebpf", "backend/common", "shared", "client", "playground/sendmsg-demo"]
default-members = ["xtask", "backend/daemon", "backend/common", "shared", "client"]

[workspace.package]
Expand Down Expand Up @@ -49,6 +49,10 @@ tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
procfs = "0.17.0"
async-broadcast = "0.7.1"
console = "0.15.8"
dialoguer = "0.11.0"
indicatif = "0.17.9"
nix = "0.29.0"

[profile.dev]
panic = "abort"
Expand Down
17 changes: 17 additions & 0 deletions rust/playground/sendmsg-demo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2024 Felix Hilgers <[email protected]>
#
# SPDX-License-Identifier: MIT

[package]
name = "sendmsg-demo"
version = "0.1.0"
license.workspace = true
repository.workspace = true
edition.workspace = true

[dependencies]
anyhow = { workspace = true }
console = { workspace = true }
dialoguer = { workspace = true }
indicatif = { workspace = true }
nix = { workspace = true, features = ["socket", "uio"] }
Loading

0 comments on commit 0e6dc2b

Please sign in to comment.