David Tolnay

Results 361 issues of David Tolnay

The use of hard tabs, where everything else in this project uses 4-space indent, causes the code to be displayed in a misleading way when tab size is anything other...

Repro: ```rust mod singleton { use std::sync::atomic::{AtomicBool, Ordering}; // Important: no Copy or Clone impl pub struct Handle(()); impl Handle { pub fn get() -> Self { static EXISTS: AtomicBool...

bug

Every crate on crates.io is for Rust :smile: no reason for the -rs suffix.

What guarantees does this library make about rejecting invalid JSON and returning valid JSON? In particular, the following program accepts the input which is not valid JSON and returns `b"0,"`...

This seems like it would be applicable to kostya's JSON benchmark. Rust is already significantly faster than C++ but D does some partial parsing tricks that pikkr may be able...

enhancement

Let's document in the README that yaml-rust does not attempt to instantiate arbitrary Rust types and is not vulnerable to the sort of type-based remote code execution that affects some...

It has been deprecated: [announcement](https://users.rust-lang.org/t/deprecation-of-rustc-serialize/10485?u=dtolnay). Is there any functionality you would require from Serde or another library before this would be possible?

It has been deprecated: [announcement](https://users.rust-lang.org/t/deprecation-of-rustc-serialize/10485?u=dtolnay). Is there any functionality you would require from Serde or another library before this would be possible?

This crate should not be necessary. It should be possible to optimize `write!(&mut buf, "{}", value)` to do what this crate does.

```rust fn main() { aeron_rs::utils::misc::dealloc_buffer_aligned(0xdeadbeefusize as _, 100); } ``` ```console Segmentation fault (core dumped) ``` In general it is unsound for a safe API to result in UB.