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

Upload new release to crates.io #70

Closed
v0x0g opened this issue Jun 30, 2024 · 1 comment
Closed

Upload new release to crates.io #70

v0x0g opened this issue Jun 30, 2024 · 1 comment

Comments

@v0x0g
Copy link
Contributor

v0x0g commented Jun 30, 2024

I'm using this crate as one of the available backends for my egui application, but I'm using a pretty modern version ([email protected]). This isn't compatible with the latest release of [email protected] on crates-io, so I had to change my dependencies to point to the git repo that used the newer version, following #68.

# Patching `Cargo.toml`
[patch.crates-io]
egui_miniquad = { git = "ssh://[email protected]/not-fl3/egui-miniquad.git", branch = "master", package = "egui-miniquad" }

OR

# Overriding the dependency when I use it
[dependencies]
egui_miniquad = { git = "ssh://[email protected]/not-fl3/egui-miniquad.git", branch = "master", package = "egui-miniquad" }

This works fine for when I want to build and run the app, but I want to get it published to crates.io, which it won't let me do. Whenever I try cargo package or cargo publish, I get errors due to having dependencies that point to git repos, as opposed to crates on crates.io (see rust-lang/cargo#6738 (comment), rust-lang/cargo#7237 (comment)). Essentially, I can't publish unless all my dependencies are also published (patching isn't allowed either).

Therefore, I'd like to ask if it's possible to upload a new release to crates.io (considering the last release was over a year ago). From looking at other issues #65 (#65 (comment)), it seems that [email protected] is stable now, so this shouldn't be an issue to release a new version.

@emilk
Copy link
Collaborator

emilk commented Jul 15, 2024

egui-miniquad 0.15 was released last week!

@emilk emilk closed this as completed Jul 15, 2024
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

No branches or pull requests

2 participants