Tpt
655ecd3e91
Convert error to thiserror
...
Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
12 months ago
Yuri Astrakhan
1c3f054836
Convert error to thiserror
...
This converts just one `SerializerError` to use `thiserror` crate, removing some code.
12 months ago
Yuri Astrakhan
089875ad21
A few more minor lints, keyword fix
...
keywords must not have any special chars
1 year ago
Tpt
9e3758e2c9
Makes QueryResults::write return the Write impl
1 year ago
Tpt
be26d210f1
Removes unused StrLookup::contains_str
1 year ago
Yuri Astrakhan
a924df0e0a
Clean workspace dependency list and updates dependencies
1 year ago
Tpt
0b1aabfcdd
Moves main crate to lib/oxigraph and centralizes dependencies
1 year ago
Tpt
d49fb47767
Adds a link to RDFa and JSON-LD parsers in Rust
1 year 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
1 year 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.
1 year ago
Tpt
c0d245871c
Simplifies the reexport of sub crates
1 year ago
Tpt
2b6ac5c195
Release v0.4.0-alpha.3
1 year ago
Tpt
ef765666be
Serialization: allows to set prefixes
1 year ago
Yuri Astrakhan
18bf383701
Remove tabs from BNF comments
...
Minor cleanup on the BNF comments - get rid of tabs and align them
1 year ago
Tpt
54489aacfb
oxttl and oxrdfio: improves prefixes and base_iri getters
1 year ago
Yuri Astrakhan
6494ba6e31
keep concrete types
1 year 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
1 year ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
1 year ago
Yuri Astrakhan
522bda2906
Add WKT_LITERAL vocabulary support
1 year 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`
1 year ago
Yuri Astrakhan
405b95b4bd
Minor linting fixes
1 year 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.
1 year ago
Yuri Astrakhan
51941c0dc5
Simplify complex strings with raw literals, readme fix
...
Also add a minor debugging python statement to linter
1 year ago
Tpt
df040400c5
Turtle: fixes parsing bug with escaped dot at the end of a local name
1 year ago
Tpt
c2040a30fd
oxttl: Exposes the base IRI
...
Issue #730
1 year ago
Tpt
cffc536eb9
Releases v0.4.0-alpha.2
1 year ago
Tpt
42a66f62b9
Enables cargo semver-checks again
1 year ago
Tpt
391e8d7662
Fixes and ensures 32bits x86 support
1 year ago
Tpt
a5781d1187
Releases v0.4.0-alpha.1
1 year ago
Tpt
a84b898fda
Parsers: adds "unchecked" option for faster parsing
...
Does not validate IRIs and language tags
1 year ago
Tpt
d170b53609
N3: Fixes stack overflow errors
1 year ago
Tpt
790501e1b3
Setup codspeed and improves benchmarks
1 year ago
Tpt
025bd2afd2
Uses new cargo lint configuration system
1 year ago
Tpt
4756217787
Adds "since" to the #[deprecated] annotations
1 year ago
Tpt
604d1bbe2e
BulkLoader: rename set_* methods to with_* methods
1 year ago
Tpt
4084acb9b8
Renames dump_dataset and dump_graph to dump_to_write and dump_graph_to_write
1 year ago
Tpt
2a135283d5
Lints against 1.74
1 year ago
Tpt
4b3f3f3278
RDF/XML: properly serialize predicates with xmlns: prefix
1 year ago
Tpt
4841f89072
Server: allows Content-Encoding: gzip requests
1 year ago
Tpt
efd5eec65d
Introduces load_from_read instead of load_graph and load_dataset
1 year ago
Tpt
899e553249
Makes SPARQL query result Send and Sync
1 year ago
Tpt
03afe5c6c6
Releases v0.3.22
1 year ago
Tpt
d88c2e0a8a
Adds compatibility with lazy_static with spin_no_std feature
1 year ago
Tpt
9979a3d503
Allows newer dependency versions
1 year ago
Tpt
e1ff1d919c
Releases v0.3.21
1 year ago
Tpt
756c5394d0
Adds Tokio support to SPARQL results serializers
1 year ago
Tpt
d1cb4cecbd
OxRDF: makes more function const
1 year ago
Tpt
9af2717502
Bulk loader: do not fail on empty files
1 year ago
Tpt
a9fee4f6b8
Upgrades dependencies
1 year ago
Tpt
f8034c68e9
SPARQL: refactor AggregateExpression
...
Avoids code duplication
1 year ago