pchampin / sophia_rs

Sophia: a Rust toolkit for RDF and Linked Data
Other
210 stars 23 forks source link

Simplify using generic associated types (GAT) #126

Closed KonradHoeffner closed 1 year ago

KonradHoeffner commented 1 year ago

There are some mentions of possible simplifications of the API using generic associated types, which are stable since Rust 1.65, so I think this could be started now.

pchampin commented 1 year ago

Yes, I'm on it. I'll try to find some time during the mid-winter break to make an alpha release...

pchampin commented 1 year ago

Finally there! Not released on crates.io yet, but you can try it out with

[dependencies]
sophia = { version="0.8.0-alpha", git="https://github.com/pchampin/sophia_rs" }

I have documented the most significant changes there: https://github.com/pchampin/sophia_rs

NB: the jsonld parser/serializer have not been ported yet....

KonradHoeffner commented 1 year ago

I cannot find the documentation at the given link, where do I have to go exactly? P.S.: Ah I think I found it at https://github.com/pchampin/sophia_rs/blob/main/book/src/90_changes_since_07.md. Where can I find the HTML version of the book? P.P.S.: Just as a bookmark for later: https://docs.rs/sophia/0.8.0-alpha.0/sophia/index.html