Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ monostate = "1.0.2"
napi = "3"
napi-build = "2"
napi-derive = "3"
fspy_ipc_str = { path = "crates/fspy_ipc_str" }
nix = "0.31.2"
ntapi = "0.4.1"
nucleo-matcher = "0.3.1"
Expand Down Expand Up @@ -182,6 +181,7 @@ vt_client = { path = "crates/vt_client" }
vt_client_napi = { path = "crates/vt_client_napi", artifact = "cdylib" }
vt_graph = { path = "crates/vt_graph" }
vt_ipc_shared = { path = "crates/vt_ipc_shared" }
vt_ipc_str = { path = "crates/vt_ipc_str" }
vt_plan = { path = "crates/vt_plan" }
vt_server = { path = "crates/vt_server" }
vt_workspace = { path = "crates/vt_workspace" }
Expand Down
2 changes: 1 addition & 1 deletion crates/fspy_shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ bytemuck = { workspace = true, features = ["must_cast", "derive"] }
fspy_nostd = { workspace = true }
fspy_nostd_alloc = { workspace = true }
fspy_shm = { workspace = true }
fspy_ipc_str = { workspace = true, features = ["fspy_nostd"] }
thiserror = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
vt_ipc_str = { workspace = true, features = ["fspy_nostd"] }
vt_path = { workspace = true }

[target.'cfg(target_os = "windows")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/fspy_shared/src/ipc/ipc_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::{

use bumpalo::Bump;
use bytemuck::TransparentWrapper;
use fspy_ipc_str::IpcStr;
use vt_ipc_str::IpcStr;
use wincode::{
SchemaRead, SchemaWrite,
config::Config,
Expand Down
2 changes: 1 addition & 1 deletion crates/fspy_shared/src/ipc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ mod ipc_path;
use std::fmt::Debug;

use bitflags::bitflags;
pub use fspy_ipc_str::IpcStr;
pub use ipc_path::IpcPath;
pub use vt_ipc_str::IpcStr;
use wincode::{SchemaRead, SchemaWrite};

#[derive(SchemaWrite, SchemaRead, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
Expand Down
2 changes: 1 addition & 1 deletion crates/vt_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ publish = false
rust-version.workspace = true

[dependencies]
fspy_ipc_str = { workspace = true }
rustc-hash = { workspace = true }
socket_ipc = { workspace = true }
vt_casefold = { workspace = true }
vt_path = { workspace = true }
vt_ipc_shared = { workspace = true }
vt_ipc_str = { workspace = true }
wincode = { workspace = true, features = ["derive"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion crates/vt_client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ use std::{
sync::Arc,
};

use fspy_ipc_str::IpcStr;
use rustc_hash::FxHashMap;
use socket_ipc::Client as Stream;
use vt_casefold::EnvName;
use vt_ipc_shared::{
EnvQuery as IpcEnvQuery, GetEnvResponse, GetEnvsResponse, IPC_ENV_NAME, Request,
};
use vt_ipc_str::IpcStr;
use vt_path::{self, AbsolutePath};
use wincode::{SchemaRead, config::DefaultConfig};

Expand Down
2 changes: 1 addition & 1 deletion crates/vt_ipc_shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ publish = false
rust-version.workspace = true

[dependencies]
fspy_ipc_str = { workspace = true }
rustc-hash = { workspace = true }
vt_ipc_str = { workspace = true }
wincode = { workspace = true, features = ["derive"] }

[lints]
Expand Down
2 changes: 1 addition & 1 deletion crates/vt_ipc_shared/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use fspy_ipc_str::IpcStr;
use rustc_hash::FxHashMap;
use vt_ipc_str::IpcStr;
use wincode::{SchemaRead, SchemaWrite};

pub const IPC_ENV_NAME: &str = "VP_RUN_IPC_NAME";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "fspy_ipc_str"
name = "vt_ipc_str"
version = "0.0.0"
edition.workspace = true
license.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/fspy_ipc_str/README.md → crates/vt_ipc_str/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# fspy_ipc_str
# vt_ipc_str

A platform-native string type for lossless, zero-copy IPC.

Expand All @@ -20,7 +20,7 @@ This type is designed for same-platform IPC (e.g., shared memory between a paren
## Usage

```rust
use fspy_ipc_str::IpcStr;
use vt_ipc_str::IpcStr;

// Unix: construct from bytes
#[cfg(unix)]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/vt_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ rust-version.workspace = true

[dependencies]
futures = { workspace = true }
fspy_ipc_str = { workspace = true }
rustc-hash = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["io-util", "rt", "macros"] }
Expand All @@ -19,6 +18,7 @@ vt_casefold = { workspace = true }
vt_glob = { workspace = true }
vt_path = { workspace = true }
vt_ipc_shared = { workspace = true }
vt_ipc_str = { workspace = true }
wincode = { workspace = true, features = ["derive"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/vt_server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::{
sync::Arc,
};

use fspy_ipc_str::IpcStr;
use futures::{FutureExt, StreamExt, future::LocalBoxFuture, stream::FuturesUnordered};
use rustc_hash::{FxHashMap, FxHashSet};
use socket_ipc::{Server as TransportServer, ServerConnection as Stream};
Expand All @@ -15,6 +14,7 @@ use vt_casefold::EnvName;
use vt_ipc_shared::{
EnvQuery as IpcEnvQuery, GetEnvResponse, GetEnvsResponse, IPC_ENV_NAME, Request,
};
use vt_ipc_str::IpcStr;
use vt_path::AbsolutePath;
use wincode::{SchemaWrite, config::DefaultConfig};

Expand Down
2 changes: 1 addition & 1 deletion crates/vt_server/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ use std::{
thread,
};

use fspy_ipc_str::IpcStr;
use rustc_hash::FxHashMap;
use socket_ipc::Client as RawStream;
use tokio::runtime::Builder;
use vt_casefold::EnvName;
use vt_client::{Client, GetEnvsQuery};
use vt_ipc_shared::{EnvQuery as RawEnvQuery, GetEnvResponse, Request};
use vt_ipc_str::IpcStr;
use vt_server::{EnvQuery, Error, Recorder, Reports, ServerHandle, serve};

fn env_map(pairs: &[(&str, &str)]) -> FxHashMap<EnvName<Arc<OsStr>>, Arc<OsStr>> {
Expand Down
Loading