# 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" name = "multilink" version = "1.0.1" authors = ["Darnell Andries "] exclude = ["misc/"] description = "IPC library for communicating with local or remote processes, over stdio or HTTP" readme = "README.md" keywords = [ "ipc", "http", "stdio", "jsonrpc", ] categories = [ "network-programming", "api-bindings", "data-structures", ] license = "MPL-2.0" repository = "https://github.com/djandries/multilink" [package.metadata.docs.rs] features = [ "stdio-client", "stdio-server", "http-client", "http-server", ] [[example]] name = "greeting-client" required-features = [ "http-client", "stdio-client", ] [[example]] name = "greeting-server" required-features = [ "http-server", "stdio-server", ] [dependencies.async-stream] version = "0.3" [dependencies.async-trait] version = "0.1" [dependencies.futures] version = "0.3" [dependencies.hyper] version = "0.14" features = [ "http1", "stream", ] optional = true [dependencies.hyper-rustls] version = "0.24" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.27" features = [ "io-std", "io-util", "macros", "process", "sync", ] optional = true [dependencies.tokio-stream] version = "0.1" [dependencies.tower] version = "0.4" features = ["timeout"] [dependencies.tracing] version = "0.1" [dev-dependencies.clap] version = "4.3" features = ["derive"] [dev-dependencies.tokio] version = "1.27" features = ["rt-multi-thread"] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] http-client = [ "dep:hyper", "hyper?/client", "dep:hyper-rustls", ] http-server = [ "dep:hyper", "hyper?/server", "hyper?/tcp", ] jsonrpc = [] stdio-client = [ "dep:tokio", "jsonrpc", ] stdio-server = [ "dep:tokio", "jsonrpc", ]