Compare commits

2 Commits
Author SHA256 Message Date
alex 95216f2e62 Derive PartialEq for various types 2026-09-02 22:48:53 -04:00
alex 63bc705669 Add documentation URL to Cargo configuration 2026-09-02 22:42:44 -04:00
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -3,6 +3,7 @@ name = "ldp"
version = "0.1.0"
edition = "2024"
description = "A library to assist with the creation and maintenance of remote RDF data via LDP"
documentation = "https://docs.rs/ldp"
readme = "README.md"
license = "GPL-3.0-only"
keywords = ["ldp", "rdf", "sparql"]
+1 -1
View File
@@ -2,7 +2,7 @@ use crate::vocab;
use oxigraph::model::NamedNodeRef;
/// The type of [Container](https://www.w3.org/TR/ldp/#ldpc).
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq)]
pub enum ContainerType {
Basic,
Direct,
+1 -1
View File
@@ -353,7 +353,7 @@ impl ResourceRequest {
}
/// The type of [Resource](https://www.w3.org/TR/ldp/#ldpr-resource).
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq)]
pub enum ResourceType {
NonRdfSource,
RdfSource(Option<ContainerType>),