moby / vpnkit

A toolkit for embedding VPN capabilities in your application
Apache License 2.0
1.09k stars 182 forks source link

Vendor the OCaml DNS code #542

Closed djs55 closed 3 years ago

djs55 commented 3 years ago

Previously we used 2 libraries:

However:

Furthermore

This is a required step on the plan to vendor all the OCaml dependencies, to make building easier (and on Windows: to make building possible again)

samoht commented 3 years ago

LGTM

avsm commented 3 years ago

Looks fine. You may want to add a (vendored_dirs) field to cover the dns directory. https://dune.readthedocs.io/en/stable/dune-files.html#vendored-dirs-since-1-11

djs55 commented 3 years ago

@avsm thanks, useful tip!