-
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 #11 from mkatychev/chore/workspace
Split into cargo workspaces
- Loading branch information
Showing
11 changed files
with
80 additions
and
48 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,52 +1,46 @@ | ||
[package] | ||
name = "darkroom" | ||
[workspace.package] | ||
edition = "2021" | ||
version = "0.8.0" | ||
description = "A contract testing tool built in Rust" | ||
|
||
authors = ["Mikhail Katychev <[email protected]>"] | ||
edition = "2021" | ||
license = "GPL-3.0" | ||
readme = "README.md" | ||
|
||
documentation = "https://docs.rs/crate/darkroom/" | ||
homepage = "https://crates.io/crates/darkroom" | ||
repository = "https://github.com/mkatychev/darkroom/" | ||
|
||
[[bin]] | ||
name = "dark" | ||
path = "src/main.rs" | ||
repository = "https://github.com/mkatychev/darkroom" | ||
|
||
[workspace] | ||
members = [ | ||
"filmreel" | ||
"cli", | ||
"filmreel", | ||
] | ||
resolver = "2" | ||
|
||
[dependencies] | ||
[workspace.dependencies] | ||
anyhow = "1.0.71" | ||
argh = "0.1.10" | ||
chrono = "0.4.26" | ||
colored = "2.0.0" | ||
colored-diff = "0.2.3" | ||
colored_json = "2.1.0" | ||
filmreel = { version = "0.7.0", path = "filmreel" } | ||
glob = "0.3.1" | ||
http = "0.2.9" | ||
lazy_static = "1.4.0" | ||
log = { version = "0.4.18", features = ["std"] } | ||
mdcat = "0.30.3" | ||
# overflow broken for latest minus | ||
minus = { version = "3.4.0", features = ["static_output"] } | ||
paste = "1.0.12" | ||
pest = "2.6.0" | ||
pest_derive = "2.6.0" | ||
pretty_assertions = "0.7.2" | ||
prettytable-rs = "0.10.0" | ||
pulldown-cmark ="0.9.3" | ||
regex = "1.8.3" | ||
reqwest = { version = "0.11.18", features = ["blocking", "json"] } | ||
rstest = "0.16.0" | ||
serde = { version = "1.0.163", features = ["derive"] } | ||
serde-hashkey = { version = "0.4.5", features = ["ordered-float"] } | ||
serde_json = "1.0.96" | ||
syntect = "5.0.0" | ||
url = "2.3.1" | ||
which = "4.4.0" | ||
|
||
mdcat = { version = "0.30.3", optional = true } | ||
syntect = { version = "5.0.0", optional = true } | ||
pulldown-cmark = { version = "0.9.3", optional = true } | ||
# overflow broken for latest minus | ||
minus = { version = "3.4.0", optional = true, features = ["static_output"] } | ||
|
||
[dev-dependencies] | ||
rstest = "0.16.0" | ||
|
||
[features] | ||
default = ["man"] | ||
man = ["mdcat", "syntect", "pulldown-cmark", "minus"] |
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,41 @@ | ||
[package] | ||
name = "darkroom" | ||
version = "0.8.0" | ||
description = "A contract testing tool built in Rust" | ||
|
||
edition.workspace = true | ||
readme.workspace = true | ||
license.workspace = true | ||
authors.workspace = true | ||
repository.workspace = true | ||
|
||
[[bin]] | ||
name = "dark" | ||
path = "src/main.rs" | ||
|
||
[dependencies] | ||
anyhow.workspace = true | ||
argh.workspace = true | ||
chrono.workspace = true | ||
colored-diff.workspace = true | ||
colored.workspace = true | ||
colored_json.workspace = true | ||
http.workspace = true | ||
lazy_static.workspace = true | ||
log.workspace = true | ||
prettytable-rs.workspace = true | ||
reqwest.workspace = true | ||
serde.workspace = true | ||
serde_json.workspace = true | ||
url.workspace = true | ||
which.workspace = true | ||
filmreel.path = "../filmreel" | ||
|
||
mdcat = { workspace = true, optional = true } | ||
syntect = { workspace = true, optional = true } | ||
pulldown-cmark = { version = "0.9.3", optional = true } | ||
# overflow broken for latest minus | ||
minus = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
rstest.workspace = true |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,32 +1,29 @@ | ||
[package] | ||
name = "filmreel" | ||
version = "0.7.0" | ||
|
||
description = "filmReel parser for Rust" | ||
authors = ["Mikhail Katychev <[email protected]>"] | ||
edition = "2018" | ||
license = "GPL-3.0" | ||
readme = "README.md" | ||
|
||
documentation = "https://docs.rs/crate/filmreel/" | ||
homepage = "https://crates.io/crates/filmreel" | ||
repository = "https://github.com/mkatychev/darkroom" | ||
|
||
[lib] | ||
name = "filmreel" | ||
path = "src/lib.rs" | ||
edition.workspace = true | ||
license.workspace = true | ||
authors.workspace = true | ||
repository.workspace = true | ||
|
||
[dependencies] | ||
colored = "2.0.0" | ||
glob = "0.3.1" | ||
lazy_static = "1.4.0" | ||
paste = "1.0.12" | ||
pest = "2.6.0" | ||
pest_derive = "2.6.0" | ||
pretty_assertions = "0.7.2" | ||
regex = "1.8.3" | ||
serde = { version = "1.0.163", features = ["derive"] } | ||
serde_json = "1.0.96" | ||
serde-hashkey = { version = "0.4.5", features = ["ordered-float"] } | ||
colored.workspace = true | ||
glob.workspace = true | ||
lazy_static.workspace = true | ||
paste.workspace = true | ||
pest.workspace = true | ||
pest_derive.workspace = true | ||
pretty_assertions.workspace = true | ||
regex.workspace = true | ||
serde.workspace = true | ||
serde_json.workspace = true | ||
serde-hashkey.workspace = true | ||
|
||
jql = { version = "3.3.0", optional = true } | ||
|
||
|
@@ -35,5 +32,5 @@ default = [] | |
full_jql = ["jql"] | ||
|
||
[dev-dependencies] | ||
rstest = "0.11.0" | ||
paste = "1.0.12" | ||
rstest.workspace = true | ||
paste.workspace = true |