Skip to content

Commit a746ceb

Browse files
Gtf trying fix build (#30)
* newer pyo3, adding build.rs * more changes * feat: Move main.rs to bin module as reasonable.rs * put main.rs into its own bin/ * moving to new package * moved * fix: Add reasonable package as a dependency in cli/Cargo.toml * moving stuff around * new python package * fixing python build? * cargo fmt * remove features, static build * adjust path for tests * edit edition * fix maturin invocation * fix test in comment * updating gha? * fixing build * docs: add architecture review and idiomatic Rust improvements Co-authored-by: aider (openai/gpt-5) <[email protected]> * refactor: replace map with bidirectional index (fwd/rev) and sentinel Co-authored-by: aider (openai/gpt-5) <[email protected]> * refactor: pass rdffirst/rdfrest/rdfnil to DisjointSets::new Co-authored-by: aider (openai/gpt-5) <[email protected]> * feat: unify error handling with thiserror and propagate Results Co-authored-by: aider (openai/gpt-5) <[email protected]> * fix: add thiserror to lib Cargo.toml Co-authored-by: aider (openai/gpt-5) <[email protected]> * fix: convert load_file error to string for PyIOError Co-authored-by: aider (openai/gpt-5) <[email protected]> * feat: gate legacy-query feature to enable legacy RDF query module Co-authored-by: aider (openai/gpt-5) <[email protected]> * fix: pin optional deps in lib/Cargo.toml instead of workspace Co-authored-by: aider (openai/gpt-5) <[email protected]> * chore: bump farmhash to 1 Co-authored-by: aider (openai/gpt-5) <[email protected]> * refactor: drop rdf dep and migrate to Oxigraph model Co-authored-by: aider (openai/gpt-5) <[email protected]> * fix: correct to_atom signature and use oxigraph::model::Graph Co-authored-by: aider (openai/gpt-5) <[email protected]> * fix: pin serde_sexpr to 0.1 in lib/Cargo.toml Co-authored-by: aider (openai/gpt-5) <[email protected]> * no more query stuff * refactor: make new accept &[KeyedTriple] and get_list_values return &[URI] Co-authored-by: aider (openai/gpt-5) <[email protected]> * fix: dereference list_class when iterating values in reasoner Co-authored-by: aider (openai/gpt-5) <[email protected]> * perf: implement linear-time get_unique and switch to sort_unstable Co-authored-by: aider (openai/gpt-5) <[email protected]> * feat: add ReasonerBuilder and update API docs with examples Co-authored-by: aider (openai/gpt-5) <[email protected]> * adjusting packaging * add ci.yml * test: add PyReasoner unit tests for Python Co-authored-by: aider (openai/gpt-5) <[email protected]> * test: port Rust tests to Python pytest tests in test_pyreasoner.py Co-authored-by: aider (openai/gpt-5) <[email protected]> * chagne package name * actions * fix test invocation * trying to port over ontoenv build --------- Co-authored-by: aider (openai/gpt-5) <[email protected]>
1 parent 2b4585d commit a746ceb

31 files changed

+1815
-1101
lines changed

.cargo/config

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Setup Rust'
2+
description: 'Setup Rust using Rustup'
3+
inputs:
4+
version:
5+
description: 'Rust version to use. By default latest stable version'
6+
required: false
7+
default: 'stable'
8+
component:
9+
description: 'Rust extra component to install like clippy'
10+
required: false
11+
target:
12+
description: 'Rust extra target to install like wasm32-unknown-unknown'
13+
required: false
14+
runs:
15+
using: "composite"
16+
steps:
17+
- run: rustup update
18+
shell: bash
19+
- run: rustup default ${{ inputs.version }}
20+
shell: bash
21+
- run: rustup component add ${{ inputs.component }}
22+
shell: bash
23+
if: ${{ inputs.component }}
24+
- run: rustup target add ${{ inputs.target }}
25+
shell: bash
26+
if: ${{ inputs.target }}
27+
- uses: Swatinem/rust-cache@v2

.github/workflows/Python.yml

Lines changed: 0 additions & 239 deletions
This file was deleted.

0 commit comments

Comments
 (0)