Comments (3)
Hi @zoumi,
Thanks for your bug report! I'll try to fix it this week-end if I get the time, but it might take quite some time. Is this blocking?
Also, could you provide me with more contextual information? What are you building and with which command-line?
You theoretically should not get this error for the following reasons:
- You should not build data-encoding-macro-internal directly. Instead you should use data-encoding-macro.
- You probably use
cargo build --no-default-features
when building data-encoding-macro. If this is the case a simple workaround would be to usecargo build
(orcargo build --features=stable
to be explicit) until this issue is fixed.
Thanks again!
from data-encoding.
@ia0 Thank you for responding so quickly!
I'm building a library depends on data-encoding and data-encoding-macro.
Here is the configure in my Cargo.toml:
data-encoding = "^2.1"
data-encoding-macro = { version = "^0.1", default-features = false }
I was trying to test your bug fix just now. But unluckily, my library also depend on rand 0.5 which build failed too. I will fallback my rust to nightly 1.26.
from data-encoding.
Thanks for the additional information! It makes a lot of sense.
I ended publishing the data-encoding-macro-internal crate. So the issue should now be fixed (you may need to run cargo update
though) without any additional action (like removing default-features = false
or using the master branch) from your part.
from data-encoding.
Related Issues (20)
- Consider `check_trailing_bits=false` for BASE64_MIME decoder HOT 1
- Release 3.0.0
- (std -> core)::fmt::Display for DecodeError and DecodeKind HOT 2
- feature `std` leaking when using macro in no_std env HOT 7
- Missing a new line and decode error HOT 2
- Rust 2021 edition is a major, not a "patch" change HOT 6
- Removing dependency on syn HOT 7
- Make `{encode,decode}_len` const fns? HOT 4
- Encode into an "impl std::fmt::Write" and/or "impl std::io::Write" HOT 5
- Breaking change wish list
- Use doc_auto_cfg once stable HOT 2
- Use as_chunks family of functions once stable
- Internal symbols array is publicly exposed and unsound HOT 4
- Deny warnings in rustdoc
- Partial encoding with padding HOT 3
- Question about Specification HOT 6
- Release 2.5.0
- SIMD optimization HOT 4
- `Encoding::encode_mut` is very code-size heavy HOT 15
- feature request - base58 d/encoding HOT 2
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 data-encoding.