This is a fairly significant change since I used bindgen to generate the bindings to libsodium, rather than manually picking through the differences between libsodium 1.0.12 and 1.0.16 and hand coding the changes. I think this is a more robust long-term approach, although there were some manual adjustments required on the resulting bindings file.
I retained all of the tests from the deleted files except those which were used to check that correct values had been applied to consts. I feel these deleted tests are no longer required since the values of these consts are no longer being hand-copied from libsodium headers, rather bindgen is doing the work.
I've also removed stream/salsa208.rs since it's been deprecated in libsodium.
This is a fairly significant change since I used bindgen to generate the bindings to libsodium, rather than manually picking through the differences between libsodium 1.0.12 and 1.0.16 and hand coding the changes. I think this is a more robust long-term approach, although there were some manual adjustments required on the resulting bindings file.
I retained all of the tests from the deleted files except those which were used to check that correct values had been applied to
const
s. I feel these deleted tests are no longer required since the values of theseconst
s are no longer being hand-copied from libsodium headers, rather bindgen is doing the work.I've also removed stream/salsa208.rs since it's been deprecated in libsodium.
Fixes #16 and fixes #52.