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

[bug] cannot compile due to outdated fixed version of the time-crate (set at =0.3.15) #6973

Closed
jgeluk opened this issue May 16, 2023 · 2 comments

Comments

@jgeluk
Copy link

jgeluk commented May 16, 2023

Describe the bug

In the following tauri-crates there's a hard dependency to the time crate, set at version =0.3.15:

  • core/tauri
  • core/tauri-codegen
  • core/tauri/tests/app-updater
  • tooling/bench
  • tooling/bundler

Reproduction

No response

Expected behavior

No response

Platform and versions

Tauri version 1.3.0

Stack trace

No response

Additional context

No response

@amrbashir
Copy link
Member

fixed by #6966

jgeluk added a commit to agnos-ai/tauri that referenced this issue May 16, 2023
@FabianLars
Copy link
Member

For a quick workaround without having to use tauri itself from git is to overwrite time's version with its git version by adding this to your cargo.toml file

[dependencies]
time = { git = "https://github.com/time-rs/time", rev = "v0.3.21" } # needed no matter if you use it as a direct dependency to prevent a cargo panic

[patch.crates-io]
time = { git = "https://github.com/time-rs/time", rev = "v0.3.21" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants