Remove unused cargo dependencies (#3063)

* cargo shear

* fix warnings on master

* fix docs needing dev-dependency
This commit is contained in:
Firestar99
2025-08-18 20:26:44 +02:00
committed by GitHub
parent 0a4a822837
commit 0a53eae4e0
8 changed files with 6 additions and 39 deletions

View File

@@ -10,18 +10,6 @@ pub trait Identifier: Sized + Clone + PartialEq + Hash + 'static {
fn new() -> Self;
}
/// An empty id type for use in tests
#[derive(Clone, Copy, PartialEq, Eq, Debug, Hash)]
#[cfg(test)]
pub(crate) struct EmptyId;
#[cfg(test)]
impl Identifier for EmptyId {
fn new() -> Self {
Self
}
}
/// Structure used to represent a single anchor with up to two optional associated handles along a `Subpath`
#[derive(Copy, Clone, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]