diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs index 63616dc45e..e91f944407 100644 --- a/cli/src/commands/mod.rs +++ b/cli/src/commands/mod.rs @@ -7,6 +7,7 @@ pub mod pool; pub mod wallet; pub mod ledger; pub mod payment_address; +pub mod crypto; use self::regex::Regex; @@ -222,4 +223,4 @@ pub fn set_connected_pool(ctx: &CommandContext, value: Option<(i32, String)>) { ctx.set_int_value("CONNECTED_POOL_HANDLE", value.as_ref().map(|value| value.0.to_owned())); ctx.set_string_value("CONNECTED_POOL_NAME", value.as_ref().map(|value| value.1.to_owned())); ctx.set_sub_prompt(1, value.map(|value| format!("pool({})", value.1))); -} \ No newline at end of file +} diff --git a/cli/src/libindy/mod.rs b/cli/src/libindy/mod.rs index 5f2e595878..4c451f73f6 100644 --- a/cli/src/libindy/mod.rs +++ b/cli/src/libindy/mod.rs @@ -3,6 +3,7 @@ pub mod pool; pub mod wallet; pub mod ledger; pub mod payment; +pub mod crypto; mod callbacks; mod results; @@ -227,4 +228,4 @@ impl ErrorCode { PaymentInsufficientFundsError => "Insufficient funds on inputs", } } -} \ No newline at end of file +} diff --git a/cli/src/main.rs b/cli/src/main.rs index 4663d803ec..ac72dfe480 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -25,7 +25,7 @@ mod libindy; use command_executor::CommandExecutor; -use commands::{common, did, ledger, pool, wallet, payment_address}; +use commands::{common, did, ledger, pool, wallet, payment_address, crypto}; use linefeed::{Reader, ReadResult, Terminal}; use linefeed::complete::{Completer, Completion}; diff --git a/libindy/Cargo.lock b/libindy/Cargo.lock index 9c230bce82..7bb28994af 100644 --- a/libindy/Cargo.lock +++ b/libindy/Cargo.lock @@ -197,7 +197,7 @@ dependencies = [ "sodiumoxide 0.0.16 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)", "uuid 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", - "zmq 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", + "zmq 0.8.2 (git+https://github.com/RustMania/rust-zmq.git?branch=zmq-mobile)", ] [[package]] @@ -772,17 +772,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "zmq" version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" +source = "git+https://github.com/RustMania/rust-zmq.git?branch=zmq-mobile#8fcb5e793de0d85bc6a08fc59b78bfed3dcf2920" dependencies = [ "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", - "zmq-sys 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", + "zmq-sys 0.8.2 (git+https://github.com/RustMania/rust-zmq.git?branch=zmq-mobile)", ] [[package]] name = "zmq-sys" version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" +source = "git+https://github.com/RustMania/rust-zmq.git?branch=zmq-mobile#8fcb5e793de0d85bc6a08fc59b78bfed3dcf2920" dependencies = [ "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)", "metadeps 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -886,5 +886,5 @@ dependencies = [ "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -"checksum zmq 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3e6e33f05ebc9a1cb360e5db1f8ed6e5512ece86aed271654b0f171d04c24c23" -"checksum zmq-sys 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3cc251d25f3c6ffc54dfa3e8d808598825f8ccfee3a008dfc7866ffe325dcb3" +"checksum zmq 0.8.2 (git+https://github.com/RustMania/rust-zmq.git?branch=zmq-mobile)" = "" +"checksum zmq-sys 0.8.2 (git+https://github.com/RustMania/rust-zmq.git?branch=zmq-mobile)" = ""