# 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.75" name = "interprocess" version = "2.2.1" authors = ["Kotauskas "] build = false exclude = [ "/.github/", "/.gitignore", "/.editorconfig", "interprocess.code-workspace", "/Cargo.lock", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Interprocess communication toolkit" readme = "README.md" keywords = [ "ipc", "pipe", ] categories = [ "os", "os::unix-apis", "os::windows-apis", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/kotauskas/interprocess" [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", ] [lib] name = "interprocess" path = "src/lib.rs" [[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" [dependencies.doctest-file] version = "1.0.0" [dependencies.futures-core] version = "0.3.28" optional = true [dependencies.tokio] version = "1.36.0" features = [ "sync", "rt", "net", "time", "io-util", ] optional = true [dev-dependencies.color-eyre] version = "0.6.2" [dev-dependencies.tokio] version = "1.36.0" features = [ "sync", "rt-multi-thread", "io-util", "macros", ] [features] async = ["futures-core"] default = [] doc_cfg = [] tokio = [ "dep:tokio", "async", ] [target."cfg(unix)".dependencies.libc] version = "0.2.137" features = ["extra_traits"] [target."cfg(windows)".dependencies.recvmsg] version = "1.0.0" [target."cfg(windows)".dependencies.tokio] version = "1.36.0" features = [ "sync", "rt-multi-thread", "fs", "net", "time", "io-util", ] optional = true [target."cfg(windows)".dependencies.widestring] version = "1.0.2" [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" 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", ] [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