Tpt
269c73a7c2
Upgrades to Ruff 0.2
9 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.
9 months ago
Yuri Astrakhan
a078b12508
Bump Cargo.lock
9 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
```
9 months ago
Tpt
655ecd3e91
Convert error to thiserror
...
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
9 months ago
Yuri Astrakhan
1c3f054836
Convert error to thiserror
...
This converts just one `SerializerError` to use `thiserror` crate, removing some code.
9 months ago
Yuri Astrakhan
f5de5d3e98
use github action to install cargo tools
9 months ago
Yuri Astrakhan
089875ad21
A few more minor lints, keyword fix
...
keywords must not have any special chars
9 months ago
Tpt
9e3758e2c9
Makes QueryResults::write return the Write impl
9 months ago
Tpt
be26d210f1
Removes unused StrLookup::contains_str
9 months ago
Yuri Astrakhan
a924df0e0a
Clean workspace dependency list and updates dependencies
9 months ago
Tpt
0b1aabfcdd
Moves main crate to lib/oxigraph and centralizes dependencies
9 months ago
Tpt
70a4ff231b
Runs SPARQL 1.2 testsuite
9 months ago
Tpt
d49fb47767
Adds a link to RDFa and JSON-LD parsers in Rust
9 months ago
Yuri Astrakhan
c15233e964
do not order trait methods
9 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
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
c0d245871c
Simplifies the reexport of sub crates
9 months ago
Tpt
2b6ac5c195
Release v0.4.0-alpha.3
10 months ago
Tpt
ec030fb652
Python: test Pyodide wheel
10 months ago
Tpt
2a81106c34
Python: use rustls by default on anything that is not Windows/macOS/iOS
10 months ago
Tpt
46d3ed3f99
Removes all debuginfo from release build
...
Smaller binaries, most of them where stripped out anyway
10 months ago
Tpt
ef765666be
Serialization: allows to set prefixes
10 months ago
Tpt
0a7cea5e25
Updates dependencies
10 months ago
Yuri Astrakhan
18bf383701
Remove tabs from BNF comments
...
Minor cleanup on the BNF comments - get rid of tabs and align them
10 months ago
Tpt
54489aacfb
oxttl and oxrdfio: improves prefixes and base_iri getters
10 months ago
Yuri Astrakhan
6494ba6e31
keep concrete types
10 months ago
Yuri Astrakhan
185d83838c
Linting: Impl ordering, Self refs
...
For consistency, ordered implementation of a traits the same way as they are declared.
Used `Self::<assoc>` in a few last spots
10 months ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
10 months ago
etiennept
f354bc7546
JS: avoids directory copies during build
10 months ago
Yuri Astrakhan
a976eb3efc
Remove use_self allow clippy
10 months ago
Yuri Astrakhan
522bda2906
Add WKT_LITERAL vocabulary support
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
405b95b4bd
Minor linting fixes
10 months ago
Yuri Astrakhan
5f603bc4fe
Fix CI status badges
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
Yuri Astrakhan
51941c0dc5
Simplify complex strings with raw literals, readme fix
...
Also add a minor debugging python statement to linter
10 months ago
Yuri Astrakhan
d4bfcd3b24
Add debug print to test_debian_compatibility
10 months ago
Tpt
df040400c5
Turtle: fixes parsing bug with escaped dot at the end of a local name
10 months ago
Tpt
b08c201074
CI: attempt to fix debian compatibility test
10 months ago
Tpt
c2040a30fd
oxttl: Exposes the base IRI
...
Issue #730
10 months ago
Tpt
c2df0b829d
CI: Uploads all Python wheels in one batch
...
Avoids partial releases in Pypi
10 months ago
Tpt
cffc536eb9
Releases v0.4.0-alpha.2
10 months ago
Tpt
5cf8025aec
CI: Fuzzer: Removes unused clone
10 months ago
Tpt
d4eaa3c5ef
Docker: use semver tagging
10 months ago
Tpt
dcabf50ab6
Fixes Docker image
...
Issue #723
10 months ago
Tpt
0d23f4ae48
Architecture diagram
10 months ago
Tpt
d1da94b08b
Runs sphinx-lint in the CI
10 months ago
Tpt
f01796b1a4
Python: Runs doctests as part of the unittests
10 months ago
Tpt
93eab63868
Python: QuerySolution is thread safe
10 months ago