Migrates to oxiri and oxilangtag

pull/35/head
Tpt 5 years ago
parent 4505761173
commit 2b85a06487
  1. 2
      lib/Cargo.toml
  2. 4
      lib/src/error.rs
  3. 2
      lib/src/model/literal.rs
  4. 2
      lib/src/model/named_node.rs
  5. 2
      lib/src/sparql/algebra.rs
  6. 4
      lib/src/sparql/eval.rs
  7. 2
      lib/src/sparql/mod.rs
  8. 2
      lib/src/sparql/parser.rs

@ -21,6 +21,8 @@ sha-1 = "0.8"
sha2 = "0.8"
digest = "0.8"
regex = "1"
oxilangtag = "0.1"
oxiri = "0.1"
rio_api = "0.4"
rio_turtle = "0.4"
rio_xml = "0.4"

@ -1,7 +1,7 @@
use oxilangtag::LanguageTagParseError;
use oxiri::IriParseError;
use peg::error::ParseError;
use peg::str::LineCol;
use rio_api::iri::IriParseError;
use rio_api::language_tag::LanguageTagParseError;
use rio_turtle::TurtleError;
use rio_xml::RdfXmlError;
use std::error;

@ -3,7 +3,7 @@ use crate::model::vocab::rdf;
use crate::model::vocab::xsd;
use crate::model::xsd::*;
use crate::Result;
use rio_api::language_tag::LanguageTag;
use oxilangtag::LanguageTag;
use rio_api::model as rio;
use std::borrow::Cow;
use std::fmt;

@ -1,5 +1,5 @@
use crate::Result;
use rio_api::iri::Iri;
use oxiri::Iri;
use rio_api::model as rio;
use std::fmt;

@ -2,7 +2,7 @@
use crate::model::*;
use crate::sparql::model::*;
use rio_api::iri::Iri;
use oxiri::Iri;
use rio_api::model as rio;
use std::collections::BTreeMap;
use std::collections::BTreeSet;

@ -11,10 +11,10 @@ use crate::Error;
use crate::Result;
use digest::Digest;
use md5::Md5;
use oxilangtag::LanguageTag;
use oxiri::Iri;
use rand::random;
use regex::{Regex, RegexBuilder};
use rio_api::iri::Iri;
use rio_api::language_tag::LanguageTag;
use rio_api::model as rio;
use sha1::Sha1;
use sha2::{Sha256, Sha384, Sha512};

@ -19,7 +19,7 @@ use crate::sparql::plan_builder::PlanBuilder;
use crate::store::StoreConnection;
use crate::Error;
use crate::Result;
use rio_api::iri::Iri;
use oxiri::Iri;
use std::fmt;
pub use crate::sparql::algebra::GraphPattern;

@ -3,8 +3,8 @@ use crate::model::vocab::xsd;
use crate::model::*;
use crate::sparql::algebra::*;
use crate::sparql::model::*;
use oxiri::{Iri, IriParseError};
use peg::parser;
use rio_api::iri::{Iri, IriParseError};
use std::borrow::Cow;
use std::char;
use std::collections::HashMap;

Loading…
Cancel
Save