boringtun icon indicating copy to clipboard operation
boringtun copied to clipboard

WIP refactor: de-couple from `Instant::now`

Open thomaseizinger opened this issue 1 year ago • 1 comments

This is a first stab at #391. I've not looked at the mock-instant now but I'd assume that this can now be deleted and the tests written in a better way.

However, I wanted to get a first draft up to see hear what people think and to get a feeling for what the API would look like. What is a bit annoying is that we need to expose both Instant and unix_now from Tunn::new.

thomaseizinger avatar Jan 24 '24 20:01 thomaseizinger

Replaced by https://github.com/cloudflare/boringtun/pull/417.

thomaseizinger avatar Oct 22 '24 04:10 thomaseizinger