taoensso / nippy

The fastest serialization library for Clojure
https://www.taoensso.com/nippy
Eclipse Public License 1.0
1.04k stars 60 forks source link

Need to control *read-eval* #2

Closed ghost closed 12 years ago

ghost commented 12 years ago

Hi again,

we need to eval expressions from strings, we control the expression source so there is zero risk for us.

Could you add a third entry point to thaw-from-bytes or a separate one allowing us to set the read-eval value ? In the meantime we cloned 0.9.2 and tweaked it to leave read-eval at its default value.

Thank you, Luc

ptaoussanis commented 12 years ago

Done! Just pushed 0.10.0, which gives you a :read-eval? option on thaw-from-bytes.

Let me know if you run into any other trouble.

Cheers :)