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.
11 months ago
Tpt
ef765666be
Serialization: allows to set prefixes
11 months ago
Yuri Astrakhan
18bf383701
Remove tabs from BNF comments
...
Minor cleanup on the BNF comments - get rid of tabs and align them
11 months ago
Tpt
54489aacfb
oxttl and oxrdfio: improves prefixes and base_iri getters
11 months ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
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
c2040a30fd
oxttl: Exposes the base IRI
...
Issue #730
12 months ago
Tpt
a5781d1187
Releases v0.4.0-alpha.1
12 months ago
Tpt
a84b898fda
Parsers: adds "unchecked" option for faster parsing
...
Does not validate IRIs and language tags
12 months ago
Tpt
ea80c11d6e
CI: Run clippy on all targets
1 year ago
Tpt
99abe69ba1
oxttl: Exposes prefixes
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
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
86f14ce96f
Improves oxttl documentation
2 years ago
Tpt
cb9922379c
Uses "let else" syntax where relevant
2 years ago
Tpt
71b1768d28
New N3/Turtle/TriG/N-Triple/N-Quad parsers and serializers
...
- Compatible with async IO
- Turtle/TriG parser recovery on simple errors
2 years ago