clokwerk icon indicating copy to clipboard operation
clokwerk copied to clipboard

Adding serde (de)serialization as optional feature

Open mdsherry opened this issue 2 years ago • 4 comments

Plus a couple of lint fixes

mdsherry avatar Jun 08 '22 14:06 mdsherry

Anything preventing this to be merged?

SebRut avatar Sep 13 '22 08:09 SebRut

@SebRut : If you need this, could you explain the use case to me? The code in the PR works, but I don't know that it's useful, and that it does what people would actually want it to do.

mdsherry avatar Sep 13 '22 14:09 mdsherry

I was thinking about using this to deserialize time intervals for schedules from config files with serde. I think right now the workaround would be to have fields like "intervalMinutes" and convert these manually later.

SebRut avatar Sep 16 '22 08:09 SebRut

I have the same use case as @SebRut: intervals deserialized from a config file.

imstevenxyz avatar Sep 27 '22 20:09 imstevenxyz