Jonas Bushart

Results 138 comments of Jonas Bushart

This is available since a bit as [`serde_with::apply`](https://docs.rs/serde_with/latest/serde_with/attr.apply.html).

If someone needs this, feel welcome to submit a PR. But I would rather not keep the issue open indefinitely.

Hi, interesting PR. From the last comment, it seems there are some issues due to type inference. I'm not familiar with schemars, so maybe my conclusion is nonsense. serde_with quite...

@Kixiron This PR has some issues with type inference (relatively important for `serde_with`). Above I outlined an alternative which could also be submitted to `serde_with`.

Since there appears to be some interest in better integrating schemars and serde_with, I threw together this PoC https://github.com/jonasbb/serde_with/pull/623 based on my previous comment. I am happy to review contributions...

Hi, thanks for the suggestion. Do you have a specific data source where that is needed? I wonder which data formats this would be used with and whether they are...

> [...] it could be useful for us to enumerate what `[[bin]]`s are present. That could also be a first step in helping cargo avoid needless reinstalls of crates, since...

The [`serde_with::Bytes`](https://docs.rs/serde_with/2.2.0/serde_with/struct.Bytes.html) type supports const generic arrays in a bunch of ways.

It is possible to write code that does what you want. From a code perspective, the best place to add it would be the `serde_derive` macro, since that would allow...

The remote implementation does not create an `impl Deserialize`. Instead it adds a `deserialize` directly to the `RegexWrapper` struct. That means if you write `RegexWrapper::deserialize` you call the inherent function...