diff --git a/teller-providers/src/registry.rs b/teller-providers/src/registry.rs index 264d7c6e..f9f2e3d2 100644 --- a/teller-providers/src/registry.rs +++ b/teller-providers/src/registry.rs @@ -78,7 +78,18 @@ impl Registry { .transpose()?, )?) } - ProviderKind::Etcd => todo!(), + #[cfg(feature = "etcd")] + ProviderKind::Etcd => Box::new( + crate::providers::etcd::Etcd::new( + k, + provider + .options + .clone() + .map(serde_json::from_value) + .transpose()?, + ) + .await?, + ), }; loaded_providers.insert(k.clone(), provider); }