Comments (4)
Note that changing
bitvec = "0.19"
to
bitvec = "0.21"
in my local copy of bluez-rs (and pointing my Cargo.toml file my local copy) solved this problem for me.
from bluez-rs.
I'm not sure what's up with this. I updated bitvec
to version 0.20 in the latest update that I pushed out, but updating it to version 0.21 caused everything to stop compiling -- I think there are a lot of breaking changes between 0.20 and 0.21. How did you get this to work?
from bluez-rs.
Hi laptou,
I'm not too sure how I managed to get this to work when was first playing with it. It was a late night and I didn't take great notes. When I returned to it the next day, I found more information and was able to work around this issue by adding
funty = "=1.1.0"
to my project. Apparently, there are some breaking changes between bitvec, funty, and the rustc compiler that just need to be ironed out. Pinning funty to version 1.1.0 worked around these issues for me.
from bluez-rs.
This doesn't seem to be an issue anymore, at least for me on beta Rust and on Linux.
It looks like bitvec
was later updated to 0.22.3
, so this may have been resolved. According to the bitvec
release notes for 0.21.1, a funty
release performed some symbol migration, and was released as a minor version upgrade (despite it being breaking, which would usually mean it should be a major version upgrade).
Can this issue be closed?
from bluez-rs.
Related Issues (16)
- Panic on `set_local_name` HOT 1
- remove_device uses wrong command
- Cannot set device class HOT 3
- How to get simple name from device advertisment HOT 3
- Are GATT services and characteristics implemented? HOT 4
- How to connect to bluetooth devices without pairing HOT 2
- Question about sending commands HOT 1
- New release? HOT 1
- Why does discover need `sudo`? HOT 4
- Why sleep 50ms in the main loop? HOT 1
- Panic after device connect HOT 2
- IoCapability values are incorrect HOT 1
- Allow duplicate entries to be discovered HOT 3
- Could not find matching version of bitvec HOT 1
- Need examples of peripheral mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluez-rs.