Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Define common interface for all reasoners #45

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

DanielVoogsgerd
Copy link
Member

When abstracting the reasoner. I simplified the interfaces to no_op and posix. However, doing so I broke an implicit API in the command line arguments between the different reasoners. This became apparent when I started using the reasoner in Brane.

I changed it by defining a common interface module and move the Arguments into there. This should allow Brane to switch between the reasoners based only on an argument in the dockerfile without changing the api usage.

Cargo fmt is failing now. This PR is formatted in the same style as the main branch using nightly 1.82. I will reformat using 1.83 after it has been merged in order to avoid conflicts.

@Lut99 Lut99 merged commit 17e7456 into epi-project:main Oct 8, 2024
5 of 10 checks passed
@DanielVoogsgerd DanielVoogsgerd deleted the arguments branch October 8, 2024 11:29
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.

2 participants