diff --git a/enclave/Cargo.lock b/enclave/Cargo.lock index a94022d6c9..e9927dd4ce 100644 --- a/enclave/Cargo.lock +++ b/enclave/Cargo.lock @@ -379,7 +379,7 @@ dependencies = [ "frame-metadata 11.0.0-alpha.7 (registry+https://github.com/rust-lang/crates.io-index)", "frame-support-procedural 2.0.0-alpha.7 (registry+https://github.com/rust-lang/crates.io-index)", "impl-trait-for-tuples 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)", "parity-scale-codec 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "paste 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "sp-arithmetic 2.0.0-alpha.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -700,14 +700,6 @@ dependencies = [ "sgx_tstd 1.1.2 (git+https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2)", ] -[[package]] -name = "log" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "memchr" version = "2.2.1" @@ -1829,7 +1821,7 @@ dependencies = [ "hash256-std-hasher 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "hex 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)", "merlin 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2314,7 +2306,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "hash-db 0.15.2 (registry+https://github.com/rust-lang/crates.io-index)", "hashbrown 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)", "smallvec 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2517,7 +2509,6 @@ dependencies = [ "checksum libc 0.2.70 (registry+https://github.com/rust-lang/crates.io-index)" = "3baa92041a6fec78c687fa0cc2b3fae8884f743d672cf551bed1d6dac6988d0f" "checksum libsecp256k1 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "1fc1e2c808481a63dc6da2074752fdd4336a3c8fcc68b83db6f1fd5224ae7962" "checksum log 0.4.8 (git+https://github.com/mesalock-linux/log-sgx)" = "" -"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" "checksum memchr 2.2.1 (git+https://github.com/mesalock-linux/rust-memchr-sgx)" = "" "checksum memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" "checksum memory-db 0.20.1 (registry+https://github.com/rust-lang/crates.io-index)" = "be512cb2ccb4ecbdca937fdd4a62ea5f09f8e7195466a85e4632b3d5bcce82e6" diff --git a/enclave/Cargo.toml b/enclave/Cargo.toml index bce95d1f21..264bb826c1 100644 --- a/enclave/Cargo.toml +++ b/enclave/Cargo.toml @@ -126,3 +126,5 @@ features = ["sgx"] [patch.crates-io] sp-io = { git = "https://github.com/encointer/sgx-runtime", tag = "v0.6.10-sub2.0.0-alpha.7", default-features = false, features = ["disable_oom", "disable_panic_handler", "disable_allocator", "sgx"]} +log = { git = "https://github.com/mesalock-linux/log-sgx", version = "0.4" } +env_logger = { git = "https://github.com/mesalock-linux/env_logger-sgx", version = "0.7" } \ No newline at end of file