feat: don't use nightly features

This commit is contained in:
2026-01-12 10:39:59 +01:00
parent f0d2180c4b
commit c0f06beb4d
6 changed files with 8 additions and 17 deletions

View File

@@ -1,5 +1,3 @@
#![feature(associated_type_defaults)]
mod control_plane;
pub use control_plane::ControlPlane;

View File

@@ -9,7 +9,7 @@ pub trait Specification: Clone + Serialize + DeserializeOwned {
#[allow(dead_code, unused_variables)]
pub trait Operator: Send + Sync + 'static {
type Specifications: Specification;
type Error = anyhow::Error;
type Error;
fn reconcile(
&self,

View File

@@ -51,6 +51,7 @@ pub struct MyOperator {}
impl Operator for MyOperator {
type Specifications = Specifications;
type Error = anyhow::Error;
async fn reconcile(
&self,