Léo Gaspard

Results 96 comments of Léo Gaspard

Actually, it seems like even `sqlx` itself hits this issue: `sqlx::types::Json` cannot be used as a parameter of a `sqlx::query!()` macro call, and I must manually convert to a `serde_json::Value`...

Oh this looks interesting, thank you! I hadn't found it again when searching through the docs of `query_as`. Do you want to keep this issue open to track the `sqlx::types::Json`...

Cool! I have opened https://github.com/dylanhart/ulid-rs/pull/75 with the implementation :)

[`bolero`](https://crates.io/crates/bolero)-based fuzzers have support for this functionality, by leveraging the `cargo test` binaries and passing libFuzzer arguments through an environment variable rather than on the command line. I'd suggest this...

Sure, but it makes things much less convenient than just writing a proptest-like unit test that'll automatically be turned into a fuzzer. Should I consider your answer as "implementing something...

Well, the thing is that in order to run the fuzzer inside a `cargo test`, then you need to change the way you pass the arguments. To give an example,...

Option 1: change nothing

Option 2: count leap seconds as seconds=60, nanoseconds

Option 3: assume the host clock is UTC-SLS, remove leap second support from chrono