# 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.80.1" name = "lrcall" version = "0.1.5" authors = [ "Andeya Lee ", "Adam Wright ", "Tim Kuehn ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "lrcall is a Rust procedure call framework that is compatible with local and remote procedure calls." homepage = "https://github.com/andeya/lrcall" documentation = "https://docs.rs/lrcall" readme = "README.md" keywords = [ "rpc", "network", "server", "api", "microservices", ] categories = [ "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/andeya/lrcall" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev] split-debuginfo = "unpacked" [lib] name = "lrcall" crate-type = ["lib"] path = "src/lib.rs" test = true doctest = true bench = true doc = true proc-macro = false harness = true required-features = [] [[example]] name = "compression" path = "examples/compression.rs" required-features = [ "serde-transport", "tcp", ] [[example]] name = "custom_transport" path = "examples/custom_transport.rs" required-features = [ "serde1", "tokio1", "serde-transport", ] [[example]] name = "pubsub" path = "examples/pubsub.rs" required-features = ["full"] [[example]] name = "readme" path = "examples/readme.rs" required-features = ["full"] [[example]] name = "sample" path = "examples/sample.rs" required-features = ["tokio1"] [[example]] name = "sample_expand" path = "examples/sample_expand.rs" required-features = ["tokio1"] [[example]] name = "tls_over_tcp" path = "examples/tls_over_tcp.rs" required-features = ["full"] [[example]] name = "tracing" path = "examples/tracing.rs" required-features = ["full"] [[test]] name = "compile_fail" path = "tests/compile_fail.rs" [[test]] name = "dataservice" path = "tests/dataservice.rs" required-features = [ "serde-transport", "tcp", ] [[test]] name = "proc_macro_hygene" path = "tests/proc_macro_hygene.rs" [[test]] name = "service_functional" path = "tests/service_functional.rs" required-features = ["serde-transport"] [dependencies.anyhow] version = "1.0" [dependencies.fnv] version = "1.0" [dependencies.futures] version = "0.3" [dependencies.humantime] version = "2.0" [dependencies.lrcall-macro] version = "0.1" [dependencies.opentelemetry] version = "0.24.0" default-features = false [dependencies.opentelemetry-semantic-conventions] version = "0.16.0" [dependencies.pin-project] version = "1.0" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.static_assertions] version = "1.1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = ["time"] [dependencies.tokio-serde] version = "0.9" optional = true [dependencies.tokio-util] version = "0.7.3" features = ["time"] [dependencies.tracing] version = "0.1" features = [ "attributes", "log", ] default-features = false [dependencies.tracing-opentelemetry] version = "0.25.0" default-features = false [dev-dependencies.assert_matches] version = "1.4" [dev-dependencies.bincode] version = "1.3" [dev-dependencies.bytes] version = "1" features = ["serde"] [dev-dependencies.console-subscriber] version = "0.4" [dev-dependencies.flate2] version = "1.0" [dev-dependencies.futures-test] version = "0.3" [dev-dependencies.opentelemetry] version = "0.24.0" default-features = false [dev-dependencies.opentelemetry-otlp] version = "0.17.0" [dev-dependencies.opentelemetry_sdk] version = "0.24.1" features = ["rt-tokio"] [dev-dependencies.pin-utils] version = "0.1.0" [dev-dependencies.rustls-pemfile] version = "2.0" [dev-dependencies.serde_bytes] version = "0.11" [dev-dependencies.tokio] version = "1" features = [ "full", "test-util", "tracing", ] [dev-dependencies.tokio-rustls] version = "0.25" [dev-dependencies.tokio-serde] version = "0.9" features = [ "json", "bincode", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.trybuild] version = "1.0" [features] default = [] full = [ "serde1", "tokio1", "serde-transport", "serde-transport-json", "serde-transport-bincode", "tcp", "unix", ] serde-transport = [ "serde1", "tokio1", "tokio-serde", "tokio-util/codec", ] serde-transport-bincode = [ "serde-transport", "tokio-serde/bincode", ] serde-transport-json = [ "serde-transport", "tokio-serde/json", ] serde1 = [ "lrcall-macro/serde1", "serde", "serde/derive", "serde/rc", ] tcp = ["tokio/net"] tokio1 = ["tokio/rt"] unix = ["tokio/net"]