-
Notifications
You must be signed in to change notification settings - Fork 2
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
Switch to published IC libraries #49
Conversation
This PR removes the dependencies on the II and IC repositories (except for the `getrandom` hack). The only remaining non-published dependency is the the iota library fork, which I'm still working on and will be removed in a subsequent PR.
d1ed031
to
cb2a655
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Small question below
# II Dependencies | ||
canister_sig_util.workspace = true | ||
# unfortunately, there is a transitive dependency on getrandom which does _not_ compile to wasm unless we add this hacky workaround | ||
ic-crypto-getrandom-for-wasm = { git="https://github.com/dfinity/ic", rev="faacac31032a9b98020475eb608fd63455603556" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most probably already checked: this one shouldn't go into rust_packages Cargo file too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that is a hacky workaround that we only ever want in binary crates, because it clashes if included repeatedly. There is a ticket to clean this up with the crypto team: https://dfinity.atlassian.net/browse/CRP-2575
This PR removes the dependencies on the II and IC repositories. The only remaining non-published dependency is the the iota library fork, which I'm still working on and will be removed in a subsequent PR.