Skip to content

propose to publish statement and statement_validation on crates.io - #14

Closed
pchampin wants to merge 6 commits into
mainfrom
propose-publish-statement-0.1.0
Closed

pchampin wants to merge 6 commits into
mainfrom
propose-publish-statement-0.1.0

Conversation

@pchampin

@pchampin pchampin commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator

I suggest that we publish r2c2_statement and rc2c_statement_validation on crates.io as v0.1.0.
This would allow implementations (oxigraph, rdf-types, sophia,...) to start implementing the R2C2 traits,
and experiment with cross-implementation interoperability.

There has not been much interaction on the repository, so if you think the current code does not go in the right direction, now is the time to speak up :)

If you think the code does go in the right direction, please also support this PR (approve, thumbs up, "+1"...). I would rather have explicit group support for actually publishing the crate.

NB: the changes in this PR are

  • a fix to please clippy
  • removing POC implementation in other crates, which was never intended to be published
  • each crate now has its own version number"
  • add crate description on the README

pchampin added 4 commits April 1, 2026 16:48
the only change in this commit is to please clippy.
this code was only intended to demonstrate how the crate could be used on other crates
@pchampin pchampin added the request-publication Must label PRs that aim to the publication/release of a work item. label Apr 1, 2026
@KonradHoeffner

Copy link
Copy Markdown

I am in favor of getting this out as quickly as possible so standardization efforts can begin.

@KonradHoeffner

Copy link
Copy Markdown

@GregHanson @donpellegrino @artob @timplication @bastiion: As authors and contributors of various Rust / RDF projects I hope it's OK to ping you in case you missed this initiative and are interested in providing feedback which I think could be very valuable.

@GregHanson

Copy link
Copy Markdown

removing POC implementation in other crates, which was never intended to be published

At this early stage of adoption - does it make sense to preserve the original impl_oxrdf's in an examples/ folder for new users to explore? I realize it's a minor maintenance overhead but seems worth preserving the original work from a documentation standpoint at least until other crates adopt and can be referenced via link

@pchampin

Copy link
Copy Markdown
Collaborator Author

removing POC implementation in other crates, which was never intended to be published

At this early stage of adoption - does it make sense to preserve the original impl_oxrdf's in an examples/ folder for new users to explore? I realize it's a minor maintenance overhead but seems worth preserving the original work from a documentation standpoint at least until other crates adopt and can be referenced via link

I believe that it will not compile if we move it in an examples directory, because example files are considered a separate crate (unless I'm mistaken). And so we would be in the situation of implementing a foreign trait on a foreign type, which is disabled...

I guess we could keep it, for educational purposes, hidden behind a feature gate; oxrdf could then provide its own implementation by depending on r2c2_statement without the feature...
Anyone else with an opinion on that?

pchampin added 2 commits June 29, 2026 09:50
with explicit warnings in the doc explaining those are just *examples*,
not meant to be used by dependent crates.
@pchampin

Copy link
Copy Markdown
Collaborator Author

closing this PR without merge; after today's meeting it was decided that

  • we should currently focus on an interoperability layer, and the current proposal is a mix between that and a foundational crate for RDF (esp. the validation code in statement_validation)
  • the statement crate should be less opinionated about how strings are represented (provide a simple enum with the most typical string types?)
  • maybe statement is not the best name for this crate...

@pchampin pchampin closed this Oct 13, 2026
@pchampin

Copy link
Copy Markdown
Collaborator Author

we might want to salvage the changes on the PoC examples...

@pchampin
pchampin deleted the propose-publish-statement-0.1.0 branch November 17, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

request-publication Must label PRs that aim to the publication/release of a work item.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants