Tpt
184b8367dc
Fixes compatibility with latest OxIRI version
9 months ago
Tpt
bd5e54a00a
Makes new Clippy happy
10 months ago
Yuri Astrakhan
ea300e9081
Normalize unicode refs
...
Just to keep them a bit more consistent.
Note that there are a lot of code duplications here - but I do not know if they are worth consolidating, and/or any perf implications.
11 months ago
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
```
11 months ago
Tpt
655ecd3e91
Convert error to thiserror
...
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
11 months ago
Yuri Astrakhan
089875ad21
A few more minor lints, keyword fix
...
keywords must not have any special chars
11 months ago
Yuri Astrakhan
1e37577b71
Optimize some code, lints
...
* A few match simplifications
* Order trait impl to match trait itself
* A few unneeded parenthesis
* One dup code de-duplication with a new func
11 months ago
Tpt
ef765666be
Serialization: allows to set prefixes
11 months ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
11 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`
11 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.
11 months ago
Yuri Astrakhan
51941c0dc5
Simplify complex strings with raw literals, readme fix
...
Also add a minor debugging python statement to linter
11 months ago
Tpt
a84b898fda
Parsers: adds "unchecked" option for faster parsing
...
Does not validate IRIs and language tags
12 months ago
Tpt
025bd2afd2
Uses new cargo lint configuration system
12 months ago
Tpt
4b3f3f3278
RDF/XML: properly serialize predicates with xmlns: prefix
1 year ago
Tpt
98caee8f92
RDF/XML: avoids to serialize special XML namespaces
1 year ago
Tpt
ab5f5c1c60
Upgrades quick-xml
1 year ago
Tpt
ea80c11d6e
CI: Run clippy on all targets
1 year ago
Tpt
99abe69ba1
oxttl: Exposes prefixes
1 year ago
Tpt
13c3515d7b
OxTTL: return file position in errors
1 year ago
Tpt
f10e5a40a3
Enables more Clippy lints
...
Auto-enable all Clippy lints that are not in nursery but a blacklist
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
73af297b4c
Adds From<Iri> to NamedNode
1 year ago
Tpt
b06d6506cb
Fixes "let else" formatting
1 year ago
Tpt
3adf33d2f4
Renames "parse_from_read" to "parse_read"
1 year ago
Tpt
cdabe52847
RDF I/O: adds basic Tokio support
1 year ago
Tpt
f6c8358b24
Refactor parsers error types
...
Uses SyntaxError and ParseError everywhere
1 year ago
Tpt
69d8ce6b4e
Migrates RDF/XML parser from Rio
1 year ago