libsodium-sys
FFI binding to libsodium
0.2.7
8.9M downloads/mo
#3328 most downloaded on crates.io
sodiumoxide/sodiumoxide
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Some releases are documented
notes for 7 of 24 stable releases
1 version withdrawn
withdrawn after publishing
11 years old
25 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
25 releases · Mar 2015 to Jun 2021Releases
latest 25-
0.2.724 Jun 2021Release notes
Open source →- Add ed25519 to x25519 conversion methods (#456)
- Update prebuilt windows binaries to those published at 2020-12-31 at libsodium.org
- Update libsodium submodule to stable branch commit 8acd227
- Fix no_std build
- Expose the sodium_pad and sodium_unpad functions
- Switch from using xcopy to using walkdir + fs::copy in build script
- Add support for the AES256-GCM AEAD construction
- Expose randombytes_buf_deterministic function (#431)
-
0.2.622 Jul 2020Release notes
Open source →425: Prepare sodiumoxide for release r=dnaq a=tasn
Co-authored-by: Tom Hacohen [email protected]
Co-authored-by: dnaq [email protected]Release notes
Open source →- Remove support for using vcpkg for windows (msvc) builds since it was undertested
- Update prebuilt windows binaries to those published at 2020-06-30 at libsodium.org
- Update libsodium submodule to latest stable branch commit. (#420, #400)
- Avoid ptr_cast feature as it was not yet stable in Rust 1.36. (#408)
- Fix build script by using the correct arguments for xcopy (#407)
- Avoid dev dependencies on tar and libflate by including libsodium as a Git submodule. (#393)
- Add bindings to KDF functions (#351)
- Expose libsodium's hexadecimal encoding/decoding helper functions (#390)
- Expose libsodium's Base64 encoding/decoding helper functions (#391)
- remove ill-advised gen_nonce functions (#395)
-
0.2.512 Oct 2019Release notes
Open source →383: update dependency on libsodium-sys for 0.2.5 release r=kpp a=dnaq
Co-authored-by: dnaq [email protected]
Release notes
Open source →- Fix Digest PartialEq (#381)
- Fix compiler warnings (#380)
- Use copy_from_slice instead of manual loop where possible (#378)
-
0.2.403 Sep 2019Release notes
Open source →372: Prepare for 0.2.4 release r=dnaq a=dnaq
Co-authored-by: dnaq [email protected]
Release notes
Open source →- Fixed erronoeus dependency on older libsodium-sys
- Fixed use of deprecated try! macro (#369)
-
0.2.301 Sep 2019 withdrawnRelease notes
Open source →367: Prepare 0.2.3 release & bump versions r=kpp a=kpp
Co-authored-by: Roman Proskuryakov [email protected]
Release notes
Open source →- Allow reusing Vec for secretstream (#357)
- Replace mem::uninitialized with MaybeUninit (#350, #356)
- Fix warning about deprecated uint64_t (#358)
- Fix path to ./configure script (#355)
- Add API to derive Ed25519 public keys from secret keys (#345)
- Add DEP_SODIUM_INCLUDE & DEP_SODIUM_LIB env variables (#344)
- Update libsodium to 1.0.18 (#342)
-
0.2.216 May 2019Release notes
Open source →339: New release 0.2.2 r=dnaq a=kpp
I can change the date of 0.2.2 release in CHANGELOG. Ping me in gitter.
Co-authored-by: Roman Proskuryakov [email protected]
Release notes
Open source →- Bundle libsodium .a .lib for win & cygwin (#332)
- Add
AsRef<[u8]>for newtypes (#323) - Implement memory locking and unlocking (#324)
- Add convenience functions for pwhash() and derive_key() (#309)
-
0.2.101 Mar 2019Release notes
Open source →320: Bump libsodium-sys dependency to 0.2.1 r=dnaq a=dnaq
we aren't compatible with 0.2.0 anymore
Co-authored-by: dnaq [email protected]
Release notes
Open source →- Remove statik option from pkg_config usage (#296)
- Fix struct alignments that are not correctly recognized by bindgen (#304)
- Add streaming calculation of ed25519 (#237)
- Update libsodium to 1.0.17 (#306)
- Add support for secretstream (#301)
- Expose randombytes_uniform (#311)
- Use stable rustc to check fmt in TravisCI (#314)
- Reduce deps to build on linux from 61 -> to 48 (#312)
- Add instructions how to compile for armv7-unknown-linux-musleabihf (#294)
- Add use-pkg-config feature (#315)
-
0.2.001 Dec 2018Release notes
Open source →292: bump version to 0.2.0 r=dnaq a=Dylan-DPC
update zip & sha2 dependencies
removed unnecessary ^ and ~ from dependenciesCloses #219
Co-authored-by: dylan_DPC [email protected]
Release notes
Open source →- Add binding for sodium_add function (#210)
- Add bindings for crypto_generichash (#196)
- Add #[derive(Clone)] to State struct in hash_macros.rs (#228)
- Add bindings for keypair_from_seed for authenticated encryption (#230)
- Instruct OSX users to install pkg-config in README (#243)
- Mark libsodium-sys as a member of workspace (#247)
- Update README w/ Clang + Sodium version (#248)
- Add xchacha20-poly1305 support (#253)
- Fix tests for no_std (#257)
- Removes allow_failures in Travis config (#259)
- Add CONTRIBUTING.md (#261)
- Add CODE_OF_CONDUCT.md (#264)
- Typo fix in docs (#266)
- Fix libsodium linking for MSVC (#265)
- Add Windows support (MSVC) (#269)
- Fix redundant linker flag specified for libsodium (#274)
- Remove gh-pages support in favor of docs.rs (#270)
- Add OSX build in TravisCI (#271)
- Fix build on Win using vcpkg (#276)
- Updated Argon2 Support (#239)
- Option to download / compile libsodium (#279)
- Fix warning about unused macro definition (#282)
- Static bindings - no bindgen (#281)
- Format all code using cargo fmt (#285)
- Happy clippy (#287)
- Add cargo-coveralls to TravisCI (#289)
- Take code format from rust_sodium (#290)
-
0.1.006 Jun 2018Nothing published for this version
-
0.0.1603 Dec 2017Nothing published for this version
-
0.0.1524 May 2017Nothing published for this version
-
0.0.1426 Jan 2017Nothing published for this version
-
0.0.1305 Jan 2017Nothing published for this version
-
0.0.1210 Jul 2016Nothing published for this version
-
0.0.1110 Jul 2016Nothing published for this version
-
0.0.1004 Apr 2016Nothing published for this version
-
0.0.905 Nov 2015Nothing published for this version
-
0.0.826 Aug 2015Nothing published for this version
-
0.0.726 Aug 2015Nothing published for this version
-
0.0.610 Aug 2015Nothing published for this version
-
0.0.528 Apr 2015Nothing published for this version
-
0.0.404 Apr 2015Nothing published for this version
-
0.0.304 Apr 2015Nothing published for this version
-
0.0.226 Mar 2015Nothing published for this version
-
0.0.125 Mar 2015Nothing published for this version