Skip to main content

dapr_durabletask/
lib.rs

1// Internal modules use `crate::proto::*`; this alias is always available.
2pub(crate) use dapr_durabletask_proto as proto;
3
4/// Re-export of the generated protobuf crate.
5///
6/// Available only with the `proto` feature, to avoid making protobuf schema
7/// changes part of this crate's stable public API.
8#[cfg(feature = "proto")]
9pub use dapr_durabletask_proto as proto_public;
10
11pub mod api;
12pub mod client;
13pub(crate) mod internal;
14pub mod task;
15pub mod worker;
16
17/// OpenTelemetry distributed tracing helpers.
18///
19/// Available when the `opentelemetry` feature is enabled.
20#[cfg(feature = "opentelemetry")]
21pub mod otel {
22    pub use crate::internal::otel::*;
23}