Commit Graph

22 Commits

Author SHA1 Message Date
Jorge Aparicio
ed192864f3 refactor the Resource data structure
the `rr_type` field has been removed. this eliminates the possibility of
setting `rdata` to a type that does not match `rr_type`. as a
consequence, the `set_record_type` has also been removed

the `record_type` of the `Resource` is now derived from what's stored in
the `rdata` field

`rdata` is no longer an `Option`. `rdata = None` was being used to
represent update records. an `Update` variant has been added to the
`RData` enum. this variant is used to represent update records, which
have RDLENGTH set to 0.

the `Resource::{default,new}` constructors have been removed. they felt
error prone as in most cases one wants to set the `rdata` and `name`
fields since they have no sensible defaults. all uses of those
constructors now use the pre-existing `from_rdata` constructor

the `Resource::with` constructor has also been removed. it was pretty
similar to `from_rdata` but initialized `rr_type` and not `rdata`. all
uses of `Record::with` has been changed to `from_rdata`
2024-06-10 20:00:48 -07:00
Benjamin Fry
408d0baca0
Prepare 0.24 release with branding change to Hickory DNS (#2054)
* update all READMEs with notices about the name change

* update changelog for 0.24

* bump crate versions to 0.24

* update version notice information

* update readmes to back reference trust-dns

* rename all crates to hickory counterparts

* replace all Trust-DNS references in code and comments with Hickory DNS

* rename all Trust-DNS references to Hickory DNS in non-code

* rename all trust-dns-resolver references to hickory-resolver

* rename all trust-dns-client references to hickory-client

* rename all trust-dns-proto references to hickory-proto

* rename all trust-dns-server references to hickory-server

* rename all trust-dns-compatibility references to hickory-compatability

* rename all trust-dns-integration references to hickory-integration

* rename all trust-dns-util references to hickory-util

* Update MIT licenses to reference Hickory DNS

* update all trust-dns references to hickory-dns

* update all bluejekyll github references to hickorydns org

* Update name in Changelog

* make sure hickory-dns logs during tests

* add changelogs for recent main additions

* fix references to trust-dns and hickory in architecture

* update a few trust-dns references in READMEs

* fixup some dangling trust_dns references

* replace fka with formerly in change log

* replace all hickoydns org references to hickory-dns

* replace all http links with https

* update logos

* update hickorydns to hickory-dns for all other org references

* fix Notices of Trust-DNS to Hickory in each Readme
2023-10-13 18:39:28 -07:00
Dirkjan Ochtman
871e1d4639 Bump MSRV to 1.67 (for time) 2023-09-26 08:28:39 -07:00
Benjamin Fry
a614257fb0 untrack fuzz/Cargo.lock 2023-06-12 15:28:01 -07:00
Benjamin Fry
30e0caa794 update cargo.lock for fuzz 2023-06-11 09:17:27 -07:00
Benjamin Fry
1699bbe1ac update fuzz Cargo.lock for alpha-4 2023-06-11 09:17:27 -07:00
Benjamin Fry
ee415e9709 update fuzz Cargo.lock file 2023-06-11 09:17:27 -07:00
Benjamin Fry
cae2e99549 add audit task 2023-06-05 08:41:46 -07:00
Benjamin Fry
13a84c51ca create default rules for justfile 2023-06-05 08:41:46 -07:00
YISH
a0a4acb7cf Update MSRV to 1.64 2023-03-20 11:36:21 -07:00
YISH
590b47a3f2 Introduce central crate version management 2023-03-20 11:36:21 -07:00
Dirkjan Ochtman
343eeb806e Upgrade to 2021 edition 2023-03-20 08:49:12 -07:00
manunio
1b2feda8c6 fix fuzz build failure
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=54947
2023-01-09 19:09:00 -08:00
Benjamin Fry
7232d887d1 ignore truncation for fuzz comparison 2023-01-06 06:40:34 -08:00
David Bürgin
ccd875bce4 Declare rust-version in Cargo.toml 2022-11-03 15:34:46 -07:00
dependabot[bot]
8867c15372 Bump tokio from 1.12.0 to 1.19.2 in /fuzz
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.12.0 to 1.19.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.19.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 08:50:21 -07:00
Benjamin Fry
3becddb54b prepare 0.21.0-alpha.5 2022-02-08 13:52:20 +01:00
Benjamin Fry
5ebdf47afe add README to the fuzz crate 2022-02-08 00:58:14 +01:00
Benjamin Fry
64ce3fee6a update crossbeam in cargo.lock file 2022-02-08 00:58:14 +01:00
Benjamin Fry
29bb2bc382 enforce maximum name length on parsing of Name 2022-02-08 00:58:14 +01:00
Benjamin Fry
043f018be6 custom matching rules in fuzzer for special case record data 2022-02-08 00:58:14 +01:00
Benjamin Fry
4c408e3307 moved fuzz to a top-level-directory 2022-02-08 00:58:14 +01:00