Compare commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
95216f2e62
|
||
|
|
63bc705669
|
+2
-1
@@ -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"]
|
||||
@@ -25,4 +26,4 @@ reqwest-middleware.workspace = true
|
||||
sfv.workspace = true
|
||||
slotmap = { optional = true, workspace = true }
|
||||
thiserror.workspace = true
|
||||
tracing.workspace = true
|
||||
tracing.workspace = true
|
||||
|
||||
@@ -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
@@ -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>),
|
||||
|
||||
Reference in New Issue
Block a user