Jonas Bushart

Results 28 issues of Jonas Bushart

Relevant issues for Gitlab * https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4358 * https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/1827

enhancement
help wanted

Some ResponseCodes have high bits which require EDNS to encode them. This commit updates Message::set_response_code and MessageResponseBuiler::error_msg to silently create a EDNS section if required and sets the high bits...

Currently, I am trying to implement an authoritative DNS server with the help of `trust-dns-server`. I am not sure what exactly the difference between [`Authority::lookup`](https://docs.rs/trust-dns-server/0.20.0-alpha.3/trust_dns_server/authority/trait.Authority.html#tymethod.lookup) and [`Authority::search`](https://docs.rs/trust-dns-server/0.20.0-alpha.3/trust_dns_server/authority/trait.Authority.html#tymethod.search) is. It sounds...

question

**Describe the bug** `MessageResponseBuilder::error_msg` allows to construct a response message with a given response code. The implementation fails to set the EDNS options if the response code requires EDNS. **To...

crate:server

In issue #2103 it was noted that spans for missing `Deserialize` implementations include the doc comment. This commit changes it to explicitly use the type of each field, as this...

https://github.com/rust-lang/rust/blob/afaf33dcafe9c7068b63eb997df221aa08db7c29/library/core/src/array/mod.rs#L563-L628 This is not a public function, so the code needs to be copied. This is very likely be better than the existing code. The function uses too many unstable...

enhancement

Serde natively supports `NonZeroT` already, but this converter could support lossless serialization and deserialization.

enhancement

Serialization code is often repetitive. One helper to improve on this already exists in this crate, the [`serde_with::skip_serializing_none`](https://docs.rs/serde_with/1.4.0/serde_with/attr.skip_serializing_none.html) attribute. However, this could be generalized to work with any attribute on...

enhancement

Sometimes structs/enums need an additional root element. This can be done with a single element enum like so: ```rust #[derive(Serialize)] enum Foobar { #[serde(rename = "root_field_name")] RootName{ field_a: bool, field_b:...

enhancement

Sometimes it makes sense to deserialize a map as a list of single items, i.e., `Vec`. The map-key becomes a special field in `T`. ```json { "id0": { "field_a": ...,...

enhancement