19 releases
0.8.5 | Aug 25, 2024 |
---|---|
0.8.4 | Apr 19, 2023 |
0.8.3 | Mar 18, 2023 |
0.8.0 | Dec 18, 2022 |
0.1.0 | Jul 28, 2019 |
#256 in Parser implementations
2,503 downloads per month
Used in 53 crates
(17 directly)
240KB
5.5K
SLoC
Rio
Rio is a low level library which provides conformant and fast parsers and formatters for RDF related file formats.
These libraries are going to be replaced by the oxttl and oxrdfxml libraries.
It currently provides N-Triples, N-Quads, Turtle, TriG and RDF/XML parsers and formatters.
It is split into multiple crates:
rio_api
provides common traits and data structures to be used in Rio parsers (Triple
,TriplesParser
,Iri
...).rio_turtle
provides conformant streaming parsers and formatters for Turtle, TriG, N-Triples and N-Quads. RDF-star syntaxes are also supported: Turtle-star, TriG-star, N-Triples-star and N-Quads-star.rio_xml
provides a conformant streaming parser and a formatter for RDF/XML.
There is also the rio_testsuite
crate that is used for testing Rio parsers against the W3C RDF tests to ensure their conformance.
It provides both an executable for building implementation reports and integration test to quickly ensure that the parsers stay conformant.
It is not designed to be used outside of Rio.
License
Copyright 2019-2021 The Rio developers.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependencies
~94KB