tokio-rs / valuable

MIT License
185 stars 19 forks source link

add Tuplable #49

Closed carllerche closed 3 years ago

carllerche commented 3 years ago

A proposal for handling tuples. If this looks like a good direction, I will finish it up (docs / tests). I would also probably change Value::Unit -> Value::Tuplable and add Value::Some and Value::None.

taiki-e commented 3 years ago
carllerche commented 3 years ago

@taiki-e this should be ready for review. I did not fully update valuable-serde to handle all tuples, but did fix it for Unit.

A follow up PR will be needed to add Value::Some(...) and Value::None.