-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from JasterV/refactor/cargo-workspace
[Refactor] Cargo workspace
- Loading branch information
Showing
6 changed files
with
32 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,14 @@ | ||
[package] | ||
name = "test-context" | ||
version = "0.1.4" | ||
[workspace] | ||
resolver = "2" | ||
members = ["test-context", "test-context-macros"] | ||
|
||
[workspace.package] | ||
edition = "2021" | ||
description = "A library for providing custom setup/teardown for Rust tests without needing a test harness" | ||
version = "0.1.4" | ||
homepage = "https://github.com/JasterV/test-context" | ||
repository = "https://github.com/JasterV/test-context" | ||
readme = "README.md" | ||
authors = [ | ||
"Mark Hildreth <[email protected]>", | ||
"Victor Martinez <[email protected]>", | ||
] | ||
license = "MIT" | ||
categories = ["development-tools::testing"] | ||
|
||
[dependencies] | ||
test-context-macros = { version = "0.1.4", path = "macros" } | ||
async-trait = "0.1.42" | ||
futures = "0.3" | ||
|
||
[dev-dependencies] | ||
tokio = { version = "1.0", features = ["macros", "rt"] } | ||
|
||
[workspace] | ||
members = ["macros"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
[package] | ||
name = "test-context-macros" | ||
version = "0.1.4" | ||
edition = "2021" | ||
description = "Macro crate for test-context" | ||
homepage = "https://github.com/JasterV/test-context" | ||
repository = "https://github.com/JasterV/test-context" | ||
authors = [ | ||
"Mark Hildreth <[email protected]>", | ||
"Victor Martinez <[email protected]>", | ||
] | ||
license = "MIT" | ||
version.workspace = true | ||
edition.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
authors.workspace = true | ||
license.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[lib] | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "test-context" | ||
description = "A library for providing custom setup/teardown for Rust tests without needing a test harness" | ||
readme = "../README.md" | ||
keywords = ["test", "setup", "teardown"] | ||
categories = ["development-tools::testing"] | ||
version.workspace = true | ||
edition.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
authors.workspace = true | ||
license.workspace = true | ||
|
||
[dependencies] | ||
test-context-macros = { version = "0.1.4", path = "../test-context-macros/" } | ||
async-trait = "0.1.42" | ||
futures = "0.3" | ||
|
||
[dev-dependencies] | ||
tokio = { version = "1.0", features = ["macros", "rt"] } |
File renamed without changes.
File renamed without changes.