Skip to content

deps: bump sophia to 0.10 - #120

Open
VedantMadane wants to merge 1 commit into
openlawlibrary:mainfrom
VedantMadane:deps/issue-119-sophia
Open

VedantMadane wants to merge 1 commit into
openlawlibrary:mainfrom
VedantMadane:deps/issue-119-sophia

Conversation

@VedantMadane

Copy link
Copy Markdown

Summary

Bumps the sophia crate from 0.8 to 0.10 (latest) and adapts RDF term matching for the RDF 1.2 API.

Changes

  • Cargo.toml / Cargo.lock: sophia = { version = "0.10", features = ["xml"] }
  • src/history/rdf/graph.rs: SimpleTerm::LiteralLanguage now includes the optional base-direction field introduced in sophia 0.10

Test plan

  • cargo update -p sophia --precise 0.10.0
  • Validated sophia 0.10 LiteralLanguage / FastGraph / XML parser compile via a minimal probe crate (full stelae check needs libxml2 on the builder)
  • CI cargo check / tests on Linux with libxml2

Fixes #119

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@n-dusan

n-dusan commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Awesome. Two things to note before we merge: could you please sign our CLA agreement (via bot above), and also resolve a the lint issue? For the second one, you can run run cargo fmt and cargo clippy locally. Thank you for your pr!

Update the sophia dependency from 0.8 to 0.10 (latest). Sophia 0.10
makes RDF 1.2 language-tagged literals carry an optional base direction,
so adjust the SimpleTerm match in graph.rs accordingly.

Fixes openlawlibrary#119

Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump sophia dependency to latest

3 participants