Skip to content

Commit

Permalink
Promote tun to a workspace dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Jan 3, 2025
1 parent afd1b7b commit 8713e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ serde = "1.0.204"
serde_json = "1.0.122"

ipnetwork = "0.20"
tun = { version = "0.7", features = ["async"] }

# Test dependencies
proptest = "1.4"
Expand Down
2 changes: 1 addition & 1 deletion talpid-tunnel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jnix = { version = "0.5.1", features = ["derive"] }
log = { workspace = true }

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
tun = { version = "0.7", features = ["async"] }
tun = { workspace = true }

[target.'cfg(windows)'.dependencies]
talpid-windows = { path = "../talpid-windows" }
Expand Down

0 comments on commit 8713e93

Please sign in to comment.