When calling methods on Arc<MyService> where the method is also defined on Arc (e.g. drop and clone), calling inner.#method_ident(request) will actually attempt to call the Arc method instead of the method on the service, resulting in a compile error. This change removes the ambiguity by dereferencing the inner Arc.
19 lines
326 B
TOML
19 lines
326 B
TOML
[workspace]
|
|
members = [
|
|
"tonic",
|
|
"tonic-build",
|
|
"tonic-health",
|
|
|
|
# Non-published crates
|
|
"examples",
|
|
"interop",
|
|
|
|
# Tests
|
|
"tests/included_service",
|
|
"tests/same_name",
|
|
"tests/wellknown",
|
|
"tests/extern_path/uuid",
|
|
"tests/ambiguous_methods",
|
|
"tests/extern_path/my_application"
|
|
]
|