This repository is archived to reflect its level of (in)activity and set maintenance expectations.
If some ideas or code in it are useful to you, feel free to use them in other repositories and crates in accordance with the license.
Incremental, zero-copy UTF-8 decoding for Rust
License: Apache License 2.0
Hi there!
Thank you very much for this package. I'd like to make use of it in my own projects, but it looks like the package on crates.io is not in sync with the code in this repository. I can totally understand the difficulty of maintaining lots of packages, which is why I'd like to propose becoming a maintainer of this package.
Let me know what you think!
Hello,
When I'm packaging my code (cargo package
), I get this issue:
Compiling utf-8 v0.7.5
error[E0407]: method `source` is not a member of trait `Error`
--> /Users/damiencuenot/.cargo/registry/src/github.com-1ecc6299db9ec823/utf-8-0.7.5/src/read.rs:48:5
|
48 | / fn source(&self) -> Option<&(dyn Error + 'static)> {
49 | | match *self {
50 | | BufReadDecoderError::InvalidByteSequence(_) => None,
51 | | BufReadDecoderError::Io(ref err) => Some(err),
52 | | }
53 | | }
| |_____^ not a member of trait `Error`
And I'm using the last version of your code:
[package]
name = "utf-8"
version = "0.7.5"
authors = ["Simon Sapin <[email protected]>"]
description = "Incremental, zero-copy UTF-8 decoding with error handling"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SimonSapin/rust-utf8"
[profile.test]
Do you have an idea about what is happening?
Thanks for your help.
Damien
This should be straightforward to fix. I can share a patch once I get a rubber stamp from a committee at work.
Please include license text files, because Apache-2.0 requires them to be present along with sources. Also would appreciate if you would publish new version with them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.