(url: impl Into<Url>)
| 55 | |
| 56 | impl TemporalClientConfig { |
| 57 | pub fn new(url: impl Into<Url>) -> Self { |
| 58 | Self { |
| 59 | options: ClientOptions::builder() |
| 60 | .client_name("HASH Temporal client") |
| 61 | .client_version(env!("CARGO_PKG_VERSION")) |
| 62 | .target_url(url) |
| 63 | .build(), |
| 64 | } |
| 65 | } |
| 66 | } |