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

Use library versions #1

Closed
observant2 opened this issue Feb 2, 2018 · 3 comments
Closed

Use library versions #1

observant2 opened this issue Feb 2, 2018 · 3 comments
Assignees

Comments

@observant2
Copy link

I just saw that the cargo.toml file contains:

[dependencies]
ggez = { git = "https://github.com/ggez/ggez" }
rand = "*"
find_folder = "*"

Meaning: "Always pull the newest version of every library". You should use constant versions, so your game won't break with new versions of ggez, rand and find_folder. :-)

@maccam912
Copy link
Owner

I did want to get back to you that I'm working on what you mentioned. I am using ggez 0.4.0 now and whatever the latest version of rand is right now (but not * any more, just in case). I got rid of find_folder since I don't seem to have it used anywhere, but there is a dependency of ggez 0.4.0 on app_dir, which is giving me an error:

the type of this value must be known in this context

Ok(Component::RootDir.as_ref().into()

Anyway no need to respond, I'll keep working on it, but since you are familiar enough with Rust to suggest setting specific versions, maybe you know of a way to either set an older version of app_dir here rather than what ggez 0.4.0 requires? Or am I out of luck because the version of app_dir ggez specifies just happens to not work for me?

@maccam912 maccam912 self-assigned this Feb 4, 2018
@maccam912
Copy link
Owner

Of course right after commenting I found a PR on app_dirs that might fix this for me: andybarron/app-dirs-rs#30

I'll be reading through that and the related issue.

@maccam912
Copy link
Owner

Whatever it was, it does compile on Stable. Thanks for the suggestion!

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