Yuri Astrakhan
0400f04915
Error renaming
...
```
enum sparesults::error::ParseError -> QueryResultsParseError
struct sparesults::error::SyntaxError -> QueryResultsSyntaxError
Inlined inner
enum oxrdfxml::error::ParseError -> RdfXmlParseError
struct oxrdfxml::error::SyntaxError -> RdfXmlSyntaxError
enum oxttl::toolkit::error::ParseError -> TurtleParseError
struct oxttl::toolkit::error::SyntaxError -> TurtleSyntaxError
enum oxrdfio::error::ParseError -> RdfParseError
struct oxrdfio::error::SyntaxError -> RdfSyntaxError
struct spargebra::parser::ParseError -> SparqlSyntaxError
enum spargebra::parser::ParseErrorKind
Parser -> Syntax
```
9 months ago
Tpt
655ecd3e91
Convert error to thiserror
...
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
9 months ago
Yuri Astrakhan
1e4326a2c5
Optimize format performance
...
As seen in the https://rust.godbolt.org/z/Y8djWsq1P - write! macro produces significantly more code than a write_str call, so this change should have somewhat better performance. To my knowledge, a lot of ppl tried to solve this optimization in the compiler, but no luck yet, so may help compiler ourselves for now.
9 months ago
Tpt
ef765666be
Serialization: allows to set prefixes
10 months ago
Tpt
54489aacfb
oxttl and oxrdfio: improves prefixes and base_iri getters
10 months ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
10 months ago
Yuri Astrakhan
5be6f55155
A few more self-fixes
...
These are a bit more questionable but still keep things cleaner a bit, at least in some cases?
Most of these were the result of `cargo clippy --fix -- -W clippy::use_self`
10 months ago
Yuri Astrakhan
2b8df24b8b
Use `Self::AssocName` to simplify declarations
...
To keep with DRY principle, I think it makes it a bit less redundant to reuse the Self::<associated_type_name> structure in the well known trait implementations - keeps it consistent with the trait decl too.
10 months ago
Tpt
a5781d1187
Releases v0.4.0-alpha.1
10 months ago
Tpt
a84b898fda
Parsers: adds "unchecked" option for faster parsing
...
Does not validate IRIs and language tags
10 months ago
Tpt
4084acb9b8
Renames dump_dataset and dump_graph to dump_to_write and dump_graph_to_write
11 months ago
Tpt
efd5eec65d
Introduces load_from_read instead of load_graph and load_dataset
11 months ago
Tpt
d19947414e
The N-Triples serializer outputs canonical N-Triples
1 year ago
Tpt
e6d98445e6
Makes newer Clippy happy
1 year ago
Tpt
d280f7d2f7
Adds basic location support to sparesults SyntaxError
1 year ago
Tpt
99abe69ba1
oxttl: Exposes prefixes
1 year ago
Tpt
13c3515d7b
OxTTL: return file position in errors
1 year ago
Tpt
1eaa77ad93
Uses new rustdoc <div class="warning"> style
1 year ago
Tpt
9da26c6f95
Makes media type to format more robust
...
Allows more combinations
1 year ago
Tpt
d44f9bee7a
I/O adds extra #[must_use] annotations
1 year ago
Tpt
010196c974
Makes parse_ and serialize_ method take owned Parser and Serializer
...
It is very rare to reuse parser and this allows to avoid copies
1 year ago
Tpt
88e49f6c66
Server: adds the "convert" command
1 year ago
Tpt
c6e55c706a
RDF serialization: removes implicit flush
...
Allows to the user to control flushing
1 year ago
Tpt
7cd383af79
Introduces OxRDF I/O stand-alone crate
1 year ago