Skip to content

Commit

Permalink
Put all systemd and seccomp dependencies under Linux condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuesch committed Jan 5, 2025
1 parent ddf15e7 commit 3a714bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions letmeind/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ clap = { workspace = true }
letmein-conf = { workspace = true }
letmein-fwproto = { workspace = true }
letmein-proto = { workspace = true }
letmein-seccomp = { workspace = true }
letmein-systemd = { workspace = true, features = [ "udp", "tcp" ] }
libc = { workspace = true }
tokio = { workspace = true, features = [ "rt", "net", "macros", "signal", "sync", "time" ] }

[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
letmein-seccomp = { workspace = true }
letmein-systemd = { workspace = true, features = [ "udp", "tcp" ] }

# vim: ts=4 sw=4 expandtab
6 changes: 4 additions & 2 deletions letmeinfwd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ anyhow = { workspace = true }
clap = { workspace = true }
letmein-conf = { workspace = true }
letmein-fwproto = { workspace = true }
letmein-seccomp = { workspace = true }
letmein-systemd = { workspace = true, features = [ "unix" ] }
libc = { workspace = true }
nftables = { workspace = true }
tokio = { workspace = true, features = [ "rt", "net", "macros", "signal", "sync", "time" ] }

[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
letmein-seccomp = { workspace = true }
letmein-systemd = { workspace = true, features = [ "unix" ] }

# vim: ts=4 sw=4 expandtab

0 comments on commit 3a714bc

Please sign in to comment.