From 2f5f5a938f89995887219111743ac19b2c14f8bd Mon Sep 17 00:00:00 2001 From: Filip Dulic Date: Tue, 13 Apr 2021 12:16:58 -0500 Subject: [PATCH] Add new jcli-lib crate to workspace This is the beginning step for refactoring the jcli-lib crate from the jcli binary crate. This is the starting commit for #3172 --- Cargo.toml | 1 + jcli-lib/Cargo.toml | 14 ++++++++++++++ jcli-lib/src/lib.rs | 7 +++++++ 3 files changed, 22 insertions(+) create mode 100644 jcli-lib/Cargo.toml create mode 100644 jcli-lib/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 4f74e2a3d5..295180d22f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ members = [ "jormungandr-lib", "jormungandr", "jcli", + "jcli-lib", "modules/settings", "modules/blockchain", "testing/jormungandr-testing-utils", diff --git a/jcli-lib/Cargo.toml b/jcli-lib/Cargo.toml new file mode 100644 index 0000000000..87868aefdc --- /dev/null +++ b/jcli-lib/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "jcli-lib" +version = "0.11.1" +authors = [ "dev@iohk.io" ] +license = "MIT OR Apache-2.0" +repository = "https://github.com/input-output-hk/jormungandr" +homepage = "https://github.com/input-output-hk/jormungandr#README.md" +documentation = "https://github.com/input-output-hk/jormungandr#USAGE.md" +description = """ +Midgard Serpent +""" +edition = "2018" + +[dependencies] diff --git a/jcli-lib/src/lib.rs b/jcli-lib/src/lib.rs new file mode 100644 index 0000000000..31e1bb209f --- /dev/null +++ b/jcli-lib/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}