From 5db70a024a925f80c814bc27f24fe9c24962b233 Mon Sep 17 00:00:00 2001 From: "Ganyu (Bruce) Xu" Date: Mon, 11 Dec 2023 00:28:07 -0500 Subject: [PATCH] Custom Cargo.toml --- marvin-toolkit/Cargo.toml | 12 ++++++++++++ marvin-toolkit/README.md | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 marvin-toolkit/Cargo.toml diff --git a/marvin-toolkit/Cargo.toml b/marvin-toolkit/Cargo.toml new file mode 100644 index 0000000..1711237 --- /dev/null +++ b/marvin-toolkit/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "rust-crypto" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1" +clap = { version = "4", features = ["derive"] } +rsa = { git = "https://github.com/xuganyu96/RSA", branch = "const-crypto-biguint" } +crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint", branch = "master" } + +[patch.crates-io] diff --git a/marvin-toolkit/README.md b/marvin-toolkit/README.md index ec6abf1..7863eff 100644 --- a/marvin-toolkit/README.md +++ b/marvin-toolkit/README.md @@ -5,7 +5,6 @@ This document describes the procedure for replicating the analysis for the Marvi docker build -t marvin:latest . docker run --rm \ --name marvin \ - -v /home/ec2-user/RSA/marvin-toolkit/keys:/home/rustcrypto/marvin-toolkit/keys \ - -v /home/ec2-user/RSA/marvin-toolkit/results:/home/rustcrypto/marvin-toolkit/results \ + -v /home/ec2-user/RSA/marvin-toolkit/Cargo.toml:/home/rust-crypto/marvin-toolkit/example/rust-crypto/Cargo.toml \ marvin:latest ```