4942dd4a43
This implements an option to emit `Arc<Self>` instead of `&self` in server traits. This enables implementor to reference `Self` data for indefinite duration, which may be useful for streaming requests. Fixes: #1351
19 lines
374 B
TOML
19 lines
374 B
TOML
[package]
|
|
authors = ["Aurimas Blažulionis <aurimas@chorus.one>"]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
name = "use_arc_self"
|
|
publish = false
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
futures = "0.3"
|
|
prost = "0.11"
|
|
tonic = {path = "../../tonic", features = ["gzip"]}
|
|
|
|
[build-dependencies]
|
|
tonic-build = {path = "../../tonic-build" }
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["prost"]
|