-
Notifications
You must be signed in to change notification settings - Fork 4
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
Dived cairo-coverage to crates #117
Conversation
I think it's time to split
What do you think? Do you have any other ideas or suggestions in mind? |
This is a good idea, but I'd like to understand a bit more about this specific divide. As an example - what will be the gain of having About thanks 🙏 |
The Alternatively, this issue could have been resolved by creating a mirror struct of As for
Could you explain what you mean by this? 😅 |
Should
Sure, makes sense. Just to make sure though - what will end up there? MNost probably the core will have unit/integration tests, the the binary will have e2e right? Is there a code that will have to be shared between those two types of tests?
Sure, sorry if this was too ambiguous. I meant that |
Yep, you are right. The interface should probably also be there. But to be honest, I think duplicating the structs is the most optimal solution. A library shouldn’t dictate the interface of a binary, and vice versa. So, this should be separated, and I think duplicating the structs won’t cause any issues. It would actually provide more flexibility if I wanted to change something in the library while maintaining the binary interface.
Some utilities related to
Good catch. Maybe the name should be |
Ok, I think I agree :D duplicating scares me a bit, but the way you've laid it makes sense. Let's make this, see how it looks like and make a final decision. Would that be ok? |
b6266bf
to
476f185
Compare
commit-id:2f1053a5
476f185
to
22acb41
Compare
Stack: