mattjbray / ocaml-decoders

Elm-inspired decoders for Ocaml
https://mattjbray.github.io/ocaml-decoders/
Other
84 stars 8 forks source link

Melange support #65

Open actionshrimp opened 1 year ago

actionshrimp commented 1 year ago

Simpler setup after learning from migrating other bits and pieces over to use melange. Supercedes #64.

Caveats:

To avoid forcing all ocaml-decoders users, even those who don't care about melange, to upgrade to dune 3.8 and install melange, we could either:

This also hopefully resolves https://github.com/mattjbray/ocaml-decoders/issues/59 - anyone wanting to use melange-decoders can do:

opam pin decoders git+https://github.com/mattjbray/ocaml-decoders.git#melange
opam pin melange-decoders git+https://github.com/mattjbray/ocaml-decoders.git#melange

to access the melange supported version.

actionshrimp commented 1 year ago

This all seems to be working ok as per the (updated) description now.