Upgrades dependencies to latest versions

pull/10/head
Tpt 6 years ago
parent a6e9b10f9e
commit 642dd15131
  1. 4
      Cargo.toml
  2. 1
      src/errors.rs
  3. 2
      src/model/blank_node.rs
  4. 4
      src/sparql/algebra.rs
  5. 2
      src/store/numeric_encoder.rs

@ -19,7 +19,7 @@ error-chain = "0.12"
lazy_static = "1"
rocksdb = "0.10"
url = "1"
uuid = { version = "0.6", features = ["v4"] }
uuid = { version = "0.7", features = ["v4"] }
bzip2 = "0.3"
byteorder = "1"
@ -27,4 +27,4 @@ byteorder = "1"
peg = "0.5"
[dev-dependencies]
reqwest = "0.8"
reqwest = "0.9"

@ -3,7 +3,6 @@ use std::sync::PoisonError;
error_chain! {
foreign_links {
Url(::url::ParseError);
Uuid(::uuid::ParseError);
RocksDB(::rocksdb::Error);
Utf8(::std::str::Utf8Error);
Io(::std::io::Error);

@ -18,7 +18,7 @@ impl Deref for BlankNode {
impl fmt::Display for BlankNode {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "_:{}", self.id)
write!(f, "_:{}", self.id.to_simple())
}
}

@ -31,8 +31,8 @@ impl fmt::Display for Variable {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
Variable::Variable { name } => write!(f, "?{}", name),
Variable::BlankNode { id } => write!(f, "_:{}", id.simple()),
Variable::Internal { id } => write!(f, "?{}", id.simple()),
Variable::BlankNode { id } => write!(f, "_:{}", id.to_simple()),
Variable::Internal { id } => write!(f, "?{}", id.to_simple()),
}
}
}

@ -86,7 +86,7 @@ impl<R: Read> TermReader for R {
TYPE_BLANK_NODE_ID => {
let mut uuid_buffer = [0 as u8; 16];
self.read_exact(&mut uuid_buffer)?;
Ok(EncodedTerm::BlankNode(Uuid::from_bytes(&uuid_buffer)?))
Ok(EncodedTerm::BlankNode(Uuid::from_bytes(uuid_buffer)))
}
TYPE_LANG_STRING_LITERAL_ID => Ok(EncodedTerm::LangStringLiteral {
language_id: self.read_u64::<NetworkEndian>()?,

Loading…
Cancel
Save