- Removes
language_tag
andiri
fromrio_api
. These modules are now the cratesoxiri
andoxilangtag
.
- Normalizes all language tags to lowercase in the
rio_turtle
andrio_xml
crates. - Introduces the
LanguageTag
struct to parse and normalize case of language tags. - Fixes Turtle parsing when the parser look ahead needs to span multiple lines.
- Makes
Iri
implementAsRef<str>
andFromStr
.
- Makes
Iri
allow resolving against base IRIs with not hierarchical path (likefile:foo
). - Upgrades
quick-xml
dependency to 0.18.
- Adds "generalized" RDF support and generalized Trig parser behind a "generalized" feature flag.
- Allows to recover NTriples and NQuads parser errors, the parser jumps to the next line if the current line parsing fail.
- Makes
Iri
parser do the full IRI validation.
Iri::as_str
andDisplay
implementation torio_api
.
TriplesFormatter
andQuadsFormatter
with implementations for NTriples, NQuads, Turtle, TriG and RDF XML.Iri
torio_api
that allows to do partial IRI validation and resolution.ParseError::textual_position
that allows to get the error position from aTurtleError
or aRdfXmlError
.
TripleParser
have been renamed toTriplesParser
for consistency.QuadParser
have been renamed toQuadsParser
for consistency.TriplesParser::parse_step
andTriplesParser::parse_all
on_triple
callbacks should now return aResult
. It allows library user to return more easily errors from their callback code. The same change have been applied toQuadsParser
.- Literals formatting only escape the characters required by the canonical NTriples syntax.
Quad
struct andQuadParser
trait torio_api
.- N-Quads (
NQuadsParser
) and TriG (TriGParser
) parsers torio_turtle
. rdf_xml
crate with an RDF XML parser.
\r
characters could also end comments in Turtle/TriG.- Fixes IRI parsing when the IRI has an authority and a query and/or fragment but no path.
- Do not allow "[] ." lines in Turtle.
- Minor optimisations to the Turtle parser.
rio_api
crate withTriple
struct andTripleParser
trait.rio_turtle
crate with N-Triples (TurtleParser
) and Turtle (TurtleParser
).