From af81a5f27d8d222abd2a172dadc1b00a24f04e0c Mon Sep 17 00:00:00 2001 From: Freddie Ridell Date: Sun, 8 Mar 2026 00:05:55 +0000 Subject: [PATCH] Use workspace dependency inheritance and shared README --- Cargo.toml | 6 ++++++ crates/bough-cli/Cargo.toml | 5 +++-- crates/bough-core/Cargo.toml | 3 ++- crates/bough-typed-hash-derive/Cargo.toml | 1 + crates/bough-typed-hash/Cargo.toml | 3 ++- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 599af6b1..0a30d412 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,9 @@ version = "0.0.2" edition = "2024" license = "MIT" repository = "https://github.com/CodeEnPlace/bough" +readme = "README.md" + +[workspace.dependencies] +bough-typed-hash-derive = { path = "crates/bough-typed-hash-derive", version = "0.0.2" } +bough-typed-hash = { path = "crates/bough-typed-hash", version = "0.0.2" } +bough-core = { path = "crates/bough-core", version = "0.0.2" } diff --git a/crates/bough-cli/Cargo.toml b/crates/bough-cli/Cargo.toml index 0153b283..b622f51d 100644 --- a/crates/bough-cli/Cargo.toml +++ b/crates/bough-cli/Cargo.toml @@ -4,11 +4,12 @@ version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true +readme.workspace = true description = "CLI for bough mutation testing" [dependencies] -bough-core = { path = "../bough-core", version = "0.0.2" } -bough-typed-hash = { path = "../bough-typed-hash", version = "0.0.2" } +bough-core = { workspace = true } +bough-typed-hash = { workspace = true } facet = "0.44" facet-json = "0.44" miette = { version = "7", features = ["fancy"] } diff --git a/crates/bough-core/Cargo.toml b/crates/bough-core/Cargo.toml index 8092e7f3..cd8f2a8e 100644 --- a/crates/bough-core/Cargo.toml +++ b/crates/bough-core/Cargo.toml @@ -4,10 +4,11 @@ version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true +readme.workspace = true description = "Core mutation testing engine for bough" [dependencies] -bough-typed-hash = { path = "../bough-typed-hash", version = "0.0.2" } +bough-typed-hash = { workspace = true } facet = { version = "0.44", features = ["uuid", "chrono"] } facet-json = "0.44.1" chrono = "0.4.44" diff --git a/crates/bough-typed-hash-derive/Cargo.toml b/crates/bough-typed-hash-derive/Cargo.toml index 3c954c66..82828be3 100644 --- a/crates/bough-typed-hash-derive/Cargo.toml +++ b/crates/bough-typed-hash-derive/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true +readme.workspace = true description = "Derive macros for bough-typed-hash" [lib] diff --git a/crates/bough-typed-hash/Cargo.toml b/crates/bough-typed-hash/Cargo.toml index 86e0252b..0464af17 100644 --- a/crates/bough-typed-hash/Cargo.toml +++ b/crates/bough-typed-hash/Cargo.toml @@ -4,13 +4,14 @@ version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true +readme.workspace = true description = "Type-safe content-addressable hashing for bough" [dependencies] sha2 = "0.10" tracing = "0.1" facet = "0.44" -bough-typed-hash-derive = { path = "../bough-typed-hash-derive", version = "0.0.2" } +bough-typed-hash-derive = { workspace = true } [dev-dependencies] tempfile = "3" -- knotmirror 0.0.1