diff --git a/Cargo.lock b/Cargo.lock index b2684a9..b1c97a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3948,6 +3948,13 @@ dependencies = [ "serde_stacker", ] +[[package]] +name = "revive-dt-common" +version = "0.1.0" +dependencies = [ + "anyhow", +] + [[package]] name = "revive-dt-compiler" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 1d2d610..d077231 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ repository = "https://github.com/paritytech/revive-differential-testing.git" rust-version = "1.85.0" [workspace.dependencies] +revive-dt-common = { version = "0.1.0", path = "crates/common" } revive-dt-compiler = { version = "0.1.0", path = "crates/compiler" } revive-dt-config = { version = "0.1.0", path = "crates/config" } revive-dt-core = { version = "0.1.0", path = "crates/core" } diff --git a/crates/common/Cargo.toml b/crates/common/Cargo.toml new file mode 100644 index 0000000..5f956f9 --- /dev/null +++ b/crates/common/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "revive-dt-common" +description = "A library containing common concepts that other crates in the workspace can rely on" +version.workspace = true +authors.workspace = true +license.workspace = true +edition.workspace = true +repository.workspace = true +rust-version.workspace = true + +[dependencies] +anyhow = { workspace = true } diff --git a/crates/common/src/lib.rs b/crates/common/src/lib.rs new file mode 100644 index 0000000..a55ae5b --- /dev/null +++ b/crates/common/src/lib.rs @@ -0,0 +1,2 @@ +//! This crate provides common concepts, functionality, types, macros, and more that other crates in +//! the workspace can benefit from.