Compare commits
4
Commits
3f053cb41c
...
master
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
95216f2e62
|
||
|
|
63bc705669
|
||
|
|
4eca2c45df
|
||
|
|
2568c98bbc
|
Generated
+4
-4
@@ -873,9 +873,9 @@ checksum = "13c45bb4a6ae1280ec0803b1ef9d3455eb50f01efbbe1447ab020f1d54fba9d8"
|
||||
|
||||
[[package]]
|
||||
name = "oxigraph"
|
||||
version = "0.5.10"
|
||||
version = "0.5.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4774aac568b58fca816d35cc1fb7274b57f9a0fa5daa956bf59323a80fb81b3b"
|
||||
checksum = "7f6632dd080bd07676f06e70254ff5862c9943e9483d700fa7258df73a3f9a6a"
|
||||
dependencies = [
|
||||
"dashmap",
|
||||
"getrandom 0.3.4",
|
||||
@@ -965,9 +965,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxrocksdb-sys"
|
||||
version = "0.5.10"
|
||||
version = "0.5.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "14847363930e46b9c1d0ef504cfd4a49e63e320c2bcd7d26a5bc7fe6da0499d0"
|
||||
checksum = "01fcf5ae1e1295a612bef72fc64cd81e1ac3d1bd3243ef84d330f2962a8335e1"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"cc",
|
||||
|
||||
+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,
|
||||
|
||||
+2
-2
@@ -49,8 +49,8 @@ where
|
||||
value = format!("{value}; omit=\"{omit_str}\"");
|
||||
}
|
||||
|
||||
let header_value = HeaderValue::from_str(&value)
|
||||
.expect("Failed to produce Prefer header value");
|
||||
let header_value =
|
||||
HeaderValue::from_str(&value).expect("Failed to produce Prefer header value");
|
||||
|
||||
Ok(HeaderMap::from_iter([(
|
||||
crate::header::PREFER,
|
||||
|
||||
+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