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

feat: simplify GitOid crate substantially. #108

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

alilleybrinker
Copy link
Member

This commit comments out the FFI for the GitOid crate, which
will be repurposed into an FFI for the OmniBOR crate. This will avoid
a known issue with cbindgen involving macro expansion of crates used
as dependencies in the same workspace, and will also more directly
reflect our intended use of the code in this workspace anyway. We want
to provide a basis for cross-language OmniBOR implementations, not
really for cross-language GitOID implementations, for which libgit2
should already be fine.

This commit also simplifies the trait bounds on the GitOID type, and
modifies some existing imports from std to core.

Signed-off-by: Andrew Lilley Brinker [email protected]

This commit comments out the FFI for the GitOid crate, which
will be repurposed into an FFI for the OmniBOR crate. This will avoid
a known issue with cbindgen involving macro expansion of crates used
as dependencies in the same workspace, and will also more directly
reflect our intended use of the code in this workspace anyway. We want
to provide a basis for cross-language OmniBOR implementations, not
really for cross-language GitOID implementations, for which libgit2
should already be fine.

This commit also simplifies the trait bounds on the GitOID type, and
modifies some existing imports from `std` to `core`.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
@alilleybrinker alilleybrinker merged commit 65a4006 into main Feb 19, 2024
3 checks passed
@alilleybrinker alilleybrinker deleted the alilleybrinker/simplify-gitoid branch February 19, 2024 20:15
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.

1 participant