Is there an existing issue for this?
Code of Conduct
Current Behaviour
Given the type:
Some(Test), roundtripped through encode/decode comes back as None.
It appears that it's actually being encoded as None (F6 / null in CBOR).
Expected Behaviour
The value Some(Test) should roundtrip as Some(Test) and be encoded in a fashion which can be recovered.
Environment Information
ciborium = "0.2.1"
serde = { version = "1", features = ["derive"] }
Steps To Reproduce
There's a minimal reproduction of this issue here:
https://www.rustexplorer.com/b/3cig4b