This repository has been archived by the owner on Nov 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added curve libsodium linking & feature flag (#120)
- Loading branch information
1 parent
e5378ce
commit c2ea5bc
Showing
24 changed files
with
405 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "libzmq-sys" | ||
version = "0.1.6" | ||
version = "0.1.7+4.3.2" | ||
authors = ["jean-airoldie <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -20,15 +20,17 @@ maintenance = { status = "actively-developed" } | |
[features] | ||
# Renew the pre-generated `libzmq` bindings. | ||
renew-bindings = ['bindgen'] | ||
libsodium = ['libsodium-sys'] | ||
|
||
[dependencies] | ||
libc = "0.2" | ||
libsodium-sys = { version = "0.2.3", optional = true } | ||
|
||
[dev-dependencies] | ||
version-sync = "0.8" | ||
|
||
[build-dependencies] | ||
cmake = "0.1" | ||
bindgen = { version = "0.49.0", optional = true } | ||
# Use `libzmq` version 4.3.2 which is still a dev preview. | ||
zeromq-src = "0.1.7" | ||
# libzmq 4.3.2 | ||
zeromq-src = "0.1.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "libzmq" | ||
version = "0.1.24" | ||
version = "0.2.0" | ||
authors = ["jean-airoldie <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -17,16 +17,18 @@ homepage = "https://jean-airoldie.github.io/libzmq-rs/" | |
[badges] | ||
maintenance = { status = "actively-developed" } | ||
|
||
[features] | ||
curve = ['libzmq-sys/libsodium'] | ||
|
||
[dependencies] | ||
libc = "0.2" | ||
serde = { version = "1.0", features = ["derive"] } | ||
humantime-serde = "0.1" | ||
serde_with = "1.3.1" | ||
lazy_static = "1.3.0" | ||
failure = "0.1" | ||
libzmq-sys = { path = "../libzmq-sys", version = "0.1.6" } | ||
libzmq-sys = { path = "../libzmq-sys", version = "0.1.7" } | ||
bitflags = "1.0" | ||
hashbrown = "0.2" | ||
log = "0.4" | ||
uuid = { version = "0.7", features = ["v4"] } | ||
bincode = "1.1" | ||
|
@@ -38,13 +40,17 @@ rand_isaac = "0.1.1" | |
rand_core = "0.4" | ||
criterion = "0.2" | ||
version-sync = "0.8" | ||
ron = "0.5" | ||
quickcheck = "0.8.3" | ||
serde_yaml = "0.8" | ||
|
||
[build-dependencies] | ||
flatc-rust = "0.1" | ||
|
||
[[example]] | ||
name = "secure_req_rep" | ||
required-features = ['curve'] | ||
|
||
[[bench]] | ||
required-features = ['curve'] | ||
name = "bench_main" | ||
harness = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.