-
Notifications
You must be signed in to change notification settings - Fork 1
[ID-1226] rust crate publishing #30
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
base: main
Are you sure you want to change the base?
Conversation
.github/workflows/publish-rust.yml
Outdated
|
|
||
| - name: Cargo publish dry run | ||
| env: | ||
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
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.
@paolodamico will need your help with this
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.
remove, a token is not needed. publishing should only be done with trusted publishing
|
|
||
| - name: Run Rust tests | ||
| run: cargo test --package idkit-core | ||
| run: cargo test --package idkit --all-features |
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.
you probably also want to run tests with --no-default-features
| ``` | ||
| ┌─────────────────────────────────────┐ | ||
| │ Rust Core (idkit-core) │ | ||
| │ Rust Core (idkit) │ |
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.
hmm shouldn't foreign bindings still inherit from idkit-core? so idkit-core (Rust package) -> idkit-js (with react), idkit-swift, idkit-kotlin
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.
yeah it's just a naming thing, I made it idkit so the rust package is idkit not idkit core, even though it is core
No description provided.