Skip to content

Commit bb8af52

Browse files
goffrieConvex, Inc.
authored and
Convex, Inc.
committed
Stop depending on sodiumoxide (#35449)
The crate is unmaintained and we only need it for its secretbox primitive. We can get that from `libsodium-sys-stable` (which is _not_ unmaintained) and write our own tiny binding. Also get rid of the explicit `init()` at the top of every service, and just call init before invoking any libsodium routines. This is fast enough and the only downside is that an init error won't be caught immediately, but an init error cannot happen anyway. GitOrigin-RevId: ed3f061302206ffd4024a2a2ec4106bd0b2f8ade
1 parent 3bd2840 commit bb8af52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)