[dependencies.doctest-file]
version = "1.0.0"
[dependencies.futures-core]
optional = true
version = "0.3.28"
[dependencies.tokio]
features = ["sync", "rt", "net", "time", "io-util"]
optional = true
version = "1.36.0"
[dev-dependencies.color-eyre]
version = "0.6.2"
[dev-dependencies.tokio]
features = ["sync", "rt-multi-thread", "io-util", "macros"]
version = "1.36.0"
[[example]]
name = "unnamed_pipe_sync"
path = "examples/unnamed_pipe/sync/main.rs"
[[example]]
name = "unnamed_pipe_tokio"
path = "examples/unnamed_pipe/tokio/main.rs"
[[example]]
name = "local_socket_sync_server"
path = "examples/local_socket/sync/listener.rs"
[[example]]
name = "local_socket_sync_client"
path = "examples/local_socket/sync/stream.rs"
[[example]]
name = "local_socket_tokio_server"
path = "examples/local_socket/tokio/listener.rs"
[[example]]
name = "local_socket_tokio_client"
path = "examples/local_socket/tokio/stream.rs"
[[example]]
name = "named_pipe_sync_server"
path = "examples/named_pipe/sync/listener.rs"
[[example]]
name = "named_pipe_sync_client_bytes"
path = "examples/named_pipe/sync/stream/bytes.rs"
[[example]]
name = "named_pipe_sync_client_msg"
path = "examples/named_pipe/sync/stream/msg.rs"
[[example]]
name = "named_pipe_tokio_server"
path = "examples/named_pipe/tokio/listener.rs"
[[example]]
name = "named_pipe_tokio_client_bytes"
path = "examples/named_pipe/tokio/stream/bytes.rs"
[[example]]
name = "named_pipe_tokio_client_msg"
path = "examples/named_pipe/tokio/stream/msg.rs"
[features]
async = ["futures-core"]
default = []
doc_cfg = []
tokio = ["dep:tokio", "async"]
[lib]
name = "interprocess"
path = "src/lib.rs"
[lints.clippy]
as_conversions = "deny"
dbg_macro = "warn"
exit = "forbid"
get_unwrap = "deny"
ptr_as_ptr = "forbid"
tabs_in_doc_comments = "allow"
[lints.rust]
unsafe_op_in_unsafe_fn = "forbid"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[package]
authors = ["Kotauskas <v.toncharov@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["os", "os::unix-apis", "os::windows-apis", "asynchronous"]
description = "Interprocess communication toolkit"
edition = "2021"
exclude = ["/.github/", "/.gitignore", "/.editorconfig", "interprocess.code-workspace", "/Cargo.lock"]
keywords = ["ipc", "pipe"]
license = "MIT OR Apache-2.0"
name = "interprocess"
readme = "README.md"
repository = "https://github.com/kotauskas/interprocess"
rust-version = "1.75"
version = "2.2.2"
[package.metadata.docs.rs]
features = ["doc_cfg", "tokio"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "aarch64-apple-darwin", "x86_64-unknown-freebsd"]
[target."cfg(unix)".dependencies.libc]
features = ["extra_traits"]
version = "0.2.137"
[target."cfg(windows)".dependencies.recvmsg]
version = "1.0.0"
[target."cfg(windows)".dependencies.tokio]
features = ["sync", "rt-multi-thread", "fs", "net", "time", "io-util"]
optional = true
version = "1.36.0"
[target."cfg(windows)".dependencies.widestring]
version = "1.0.2"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Security", "Win32_Security_Authorization", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Pipes", "Win32_System_Threading", "Win32_System_Memory", "Win32_System_SystemServices", "Win32_System_LibraryLoader"]
version = "0.52.0"