Skip to content

Commit

Permalink
Remove executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Nov 12, 2024
1 parent 34e425b commit fd7b468
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 29 deletions.
10 changes: 4 additions & 6 deletions crates/ipc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ description = "Inter-process communication for the Save Our Secrets SDK."
homepage = "https://saveoursecrets.com"
license = "MIT OR Apache-2.0"
repository = "https://github.com/saveoursecrets/sdk"
default-run = "sos-native-bridge"

[features]
default = ["local-socket"]
tcp = []
local-socket = ["interprocess"]
native-bridge = ["open", "once_cell"]
native-send = ["tokio/process"]

[dependencies]
Expand All @@ -22,20 +22,18 @@ async-trait.workspace = true
serde.workspace = true
serde_json.workspace = true
typeshare.workspace = true
once_cell.workspace = true
sos-net = { version = "0.15", path = "../net", features = ["account", "search"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "net", "macros", "io-util", "io-std", "sync"] }
tokio-stream = "0.1"
tokio-util = { version = "0.7", features = ["codec"] }
futures-util = { version = "0.3", features = ["sink"] }
interprocess = { version = "2", features = ["tokio"], optional = true }
open = "5"

open = { version = "5", optional = true }
once_cell = { workspace = true, optional = true }

[build-dependencies]
rustc_version = "0.4.1"
prost-build = "0.13"
protoc-bin-vendored = "3"

[[bin]]
name = "sos-native-bridge"
path = "src/bin/native_bridge.rs"
22 changes: 0 additions & 22 deletions crates/ipc/src/bin/native_bridge.rs

This file was deleted.

1 change: 1 addition & 0 deletions crates/ipc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ mod error;
mod bindings;
mod client;
pub(crate) mod codec;
#[cfg(feature = "native-bridge")]
pub mod native_bridge;
mod server;
mod service;
Expand Down
2 changes: 1 addition & 1 deletion crates/sos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ path = "../net"
[dependencies.sos-ipc]
version = "0.15.1"
path = "../ipc"
features = ["native-send"]
features = ["native-bridge", "native-send"]

[dependencies.sos-cli-helpers]
version = "0.1.0"
Expand Down

0 comments on commit fd7b468

Please sign in to comment.