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

Allow using the crate with the latest/git version of screeps-game-api #1

Open
BlueskyFR opened this issue Oct 3, 2023 · 1 comment

Comments

@BlueskyFR
Copy link

This crate is currently incomptatible with the git version of screeps-game-api. How may I use with it?

@xilexio
Copy link
Collaborator

xilexio commented Oct 31, 2024

I changed the requirement from 0.21 to just 0. This is not the cleanest approach, but that particular interface has a relatively low chance of breaking anytime soon.

As for using it with the git version of screeps-game-api or even your own modified version of the API, you can fork this repo and specify git repo in dependencies. I did it like that

screeps-game-api = { git = "https://github.com/xilexio/screeps-game-api.git" }

in my fork of room_visual_ext that I use in my bot's Cargo file.

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