ipc-channel 0.22.0

A multiprocess drop-in replacement for Rust channels
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.86.0"
name = "ipc-channel"
version = "0.22.0"
authors = ["The Servo Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A multiprocess drop-in replacement for Rust channels"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/ipc-channel"

[features]
async = [
    "dep:futures-core",
    "dep:futures-channel",
]
default = []
enable-slow-tests = []
force-inprocess = []
win32-trace = []

[lib]
name = "ipc_channel"
path = "src/lib.rs"

[[bin]]
name = "spawn_client_test_helper"
path = "src/bin/spawn_client_test_helper.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[bench]]
name = "ipc"
path = "benches/ipc.rs"
harness = false

[[bench]]
name = "ipc_receiver_set"
path = "benches/ipc_receiver_set.rs"
harness = false

[[bench]]
name = "ipc_shared_mem"
path = "benches/ipc_shared_mem.rs"
harness = false

[[bench]]
name = "platform"
path = "benches/platform.rs"
harness = false

[[bench]]
name = "struct_ipc"
path = "benches/struct_ipc.rs"
harness = false

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.futures-channel]
version = "0.3.32"
optional = true

[dependencies.futures-core]
version = "0.3.32"
optional = true

[dependencies.libc]
version = "0.2.162"

[dependencies.postcard]
version = "1.1"
features = ["use-std"]
default-features = false

[dependencies.serde_core]
version = "1.0"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.crossbeam-utils]
version = "0.8"

[dev-dependencies.futures-test]
version = "0.3"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.serde]
version = "1.0"
features = ["rc"]

[dev-dependencies.static_assertions]
version = "1.1.0"

[target.'cfg(any(target_os = "linux", target_os = "openbsd", target_os = "freebsd", target_os = "illumos"))'.dependencies.mio]
version = "1.0"
features = ["os-ext"]
default-features = false

[target.'cfg(any(target_os = "linux", target_os = "openbsd", target_os = "freebsd", target_os = "illumos"))'.dependencies.rustc-hash]
version = "2.1"

[target.'cfg(any(target_os = "linux", target_os = "openbsd", target_os = "freebsd", target_os = "illumos"))'.dependencies.tempfile]
version = "3.4"

[target.'cfg(target_os = "macos")'.dependencies.rand]
version = "0.9"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_System_WindowsProgramming",
    "Win32_System_Threading",
    "Win32_System_Pipes",
    "Win32_System_Memory",
    "Win32_System_IO",
    "Win32_Storage_FileSystem",
    "Win32_Security",
]