Open
Description
right now i'm using newtype constants to do enum-y things, but i'd prefer it if i could use enum
s. i want to be able to work with enum
variants in rust and have diesel automatically translate them to corresponding string values and back.
i tried diesel-derive-enum and manually implementing tosql/fromsql myself, but didn't have a good time with either one. maybe i'll have better luck if i try that again, or maybe there's some other approach i'm missing.