cloudflare / dkim

DKIM (RFC6376) implementation
MIT License
50 stars 15 forks source link

Using with tracing-rs? #3

Open MTRNord opened 2 years ago

MTRNord commented 2 years ago

Hi :)

I wanted to consider using this for my wip rust mail server. It uses the nowadays fairly common tracing crate for logging. However, this crate seems to require a slog logger.

Is there any chance to solve this requirement differently to allow usage with other logging implementations like tracing?

MTRNord commented 2 years ago

I did this now at https://github.com/erooster-mail/dkim and also moved to time-rs. (see commits for details)

edevil commented 2 years ago

Can you open a pull request? It's easier to review. Thanks.

MTRNord commented 2 years ago

Can you open a pull request? It's easier to review. Thanks.

Sure. Will do that as soon as I have some time for it which may be not before next week.