build: Updated dependencies and upgraded to Rust 1.89.0

This commit is contained in:
2025-08-12 16:56:45 -06:00
parent 00ab0f27f7
commit 20ea15009d
9 changed files with 455 additions and 392 deletions
+12 -1
View File
@@ -10,7 +10,7 @@ use std::fmt::Debug;
#[path = "stateful_table_tests.rs"]
mod stateful_table_tests;
#[derive(Clone, PartialEq, Eq, Debug, Default)]
#[derive(Clone, Debug, Default)]
pub struct SortOption<T>
where
T: Clone + PartialEq + Eq + Debug,
@@ -19,6 +19,17 @@ where
pub cmp_fn: Option<fn(&T, &T) -> Ordering>,
}
impl<T> PartialEq for SortOption<T>
where
T: Clone + PartialEq + Eq + Debug,
{
fn eq(&self, other: &Self) -> bool {
self.name == other.name
}
}
impl<T> Eq for SortOption<T> where T: Clone + PartialEq + Eq + Debug {}
#[derive(Default)]
pub struct StatefulTable<T>
where