rustc-serialize icon indicating copy to clipboard operation
rustc-serialize copied to clipboard

Deprecated serialization/deserialization for Rust

Results 10 rustc-serialize issues
Sort by recently updated
recently updated
newest added

They don't compile due to patterns in functions without bodies. ``` error[E0642]: patterns aren't allowed in functions without bodies --> /home/xfix/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 | 147 | ... &f_name: &str, | ^^^^^^^ pattern...

I'm aware that this is officially deprecated. This set of changes is prompted by having things that continue to require `rustc-serialize` in some capacity, and the desire as a vendor...

This ```rust println!("{:?}", b"foob".to_base64(Config{line_length:Some(4), ..STANDARD})); println!("{:?}", b"foob".to_base64(Config{line_length:Some(5), ..STANDARD})); println!("{:?}", b"foob".to_base64(Config{line_length:Some(6), ..STANDARD})); println!("{:?}", b"foob".to_base64(Config{line_length:Some(7), ..STANDARD})); println!("{:?}", b"foob".to_base64(Config{line_length:Some(8), ..STANDARD})); ``` prints ``` "Zm9v\r\nYg==" "Zm9vYg====" "Zm9vYg====" "Zm9vYg====" "Zm9vYg==" ``` This is invalid for...

This PR makes it so that rustc-serialize compiles and has reasonable behavior on all platforms. Even though rustc-serialize is deprecated, it's a cornerstone of the Rust crates ecosystem. Popular projects...

The cfg() guards around the encode/decode implementations result in the crate being unusable on wasm32-unknown-unknown. These lines don't implement the functionality for that platform (there is file system equivalent there),...

The x86_64-fortanix-unknown-sgx recently gained Tier 3 support upstream.

We also need to release new patch versions for `0.1.*`, `0.2.*`, and `0.3.*`. cc @eddyb

Hopefully a sensible strategy to get wasm32 to work for those crates that still depend on rustc-serialize. related: - https://github.com/rustwasm/team/issues/96 - https://github.com/rust-lang-deprecated/rustc-serialize/pull/190

Was pointed out on HN, probably worth fixing. There are two other cases of unchecked string stuff where the string is built via ASCII bytes. I do think that we...