Closed evaporei closed 4 years ago
I've also tried installing cargo-edit
to run cargo add async-std
so it did this:
â•â”€otaviopace at mettaton in /Users/otaviopace/colmeia (master ✔)
╰─λ cargo add async-std fish-0 | 101 < 02:31:23
Updating 'https://github.com/rust-lang/crates.io-index' index
Adding async-std v1.6.0 to dependencies
â•â”€otaviopace at mettaton in /Users/otaviopace/colmeia (master ✚1)
╰─λ git diff fish-0 | 0 < 02:31:25
diff --git a/Cargo.toml b/Cargo.toml
index 5a8130a..68bf163 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,9 +26,9 @@ path = 'colmeia-dat1-mdns'
path = 'colmeia-dat1-proto'
[dependencies.async-std]
-git = 'https://github.com/async-std/async-std'
branch = 'fix-atomic-32'
features = ['unstable']
+version = "1.6.0"
[dependencies.colmeia-dat1-core]
path = 'colmeia-dat1-core'
But still with that update from looking directly into master
branch to using the version 1.6.0
, it didn't work 😕
Could you try again?
When updating the code to work with openwrt, the dependency was pointing to a git branch, that has been since deleted.
Now pointing to async-std 1.6.0
without any patches
it should work.
I think what you've done fixed the issue for async-std
🎉 , however the same thing is happening for bitfield-rle
now 😕
â•â”€otaviopace at mettaton in /Users/otaviopace/colmeia (master ✔)
╰─λ cargo build fish-0 | 0 < 10:52:36
Updating git repository `https://github.com/bltavares/bitfield-rle`
error: failed to get `bitfield-rle` as a dependency of package `colmeia-dat1 v0.1.0 (/Users/otaviopace/colmeia/colmeia-dat1)`
Caused by:
failed to load source for dependency `bitfield-rle`
Caused by:
Unable to update https://github.com/bltavares/bitfield-rle?branch=failure-into-stderr#8d7c6148
Caused by:
revspec '8d7c6148795513605445f096e24ac7e0c3af48ce' not found; class=Reference (4); code=NotFound (-3)
I've fixed the issue by changing to comeia-dat1
directory and running cargo add bitfield-rle
😊
Hey! Nice project by the way 🙂
So I've being trying to compile it and having trouble on it.
I've tried just cloning and using
cargo build
but I get this output:After reading some of your
README.md
, I've seen that you usecross
to compile forAndroid
. So I've tried using it too to compile, and I had the same issue 🤔So I have two questions:
async-std
actually work on my computer?By the way I had the same issue on MacOS and Linux, but the logs are all on a Mac machine. Here is my installation info: