weso / shapes-rs

RDF data shapes implementation in Rust
https://www.weso.es/shapes-rs/
Apache License 2.0
23 stars 1 forks source link

Add a trait for IRIs ? #3

Closed labra closed 8 months ago

labra commented 1 year ago

At the start of the project I tried to create a trait for IRIs but it didn't seem easy to do so...

I found several IRI crates:

I still don't know which one fits better for our project so ideally I would like to define a basic trait with the required functionality.

labra commented 8 months ago

Following the famous xkcd standards, we solved it creating our own Iri_s crate...which in principle is just a wrapper on top of oxrdf:NamedNode.

The idea is that it works by now and is compatible with the underlying dependency on the oxrdf tools but we could change it in the future if we needed it.