mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-08 11:01:47 +01:00
refactor: move dagger-rs and adopt workspace.deps
This commit is contained in:
parent
76fab3f466
commit
b55bcc159f
3
Cargo.lock
generated
3
Cargo.lock
generated
@ -262,11 +262,9 @@ dependencies = [
|
|||||||
name = "dagger-core"
|
name = "dagger-core"
|
||||||
version = "0.2.8"
|
version = "0.2.8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
|
||||||
"dirs",
|
"dirs",
|
||||||
"eyre",
|
"eyre",
|
||||||
"flate2",
|
"flate2",
|
||||||
"genco",
|
|
||||||
"graphql-introspection-query",
|
"graphql-introspection-query",
|
||||||
"graphql_client",
|
"graphql_client",
|
||||||
"hex",
|
"hex",
|
||||||
@ -292,7 +290,6 @@ dependencies = [
|
|||||||
"dirs",
|
"dirs",
|
||||||
"eyre",
|
"eyre",
|
||||||
"flate2",
|
"flate2",
|
||||||
"genco",
|
|
||||||
"graphql-introspection-query",
|
"graphql-introspection-query",
|
||||||
"graphql_client",
|
"graphql_client",
|
||||||
"hex",
|
"hex",
|
||||||
|
32
Cargo.toml
32
Cargo.toml
@ -1,42 +1,20 @@
|
|||||||
[package]
|
|
||||||
name = "dagger-rs"
|
|
||||||
version = "0.2.10"
|
|
||||||
edition = "2021"
|
|
||||||
readme = "README.md"
|
|
||||||
license-file = "LICENSE.MIT"
|
|
||||||
description = "A dagger sdk for rust, written in rust"
|
|
||||||
repository = "https://github.com/kjuulh/dagger-rs"
|
|
||||||
publish = true
|
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"crates/dagger-codegen",
|
"crates/dagger-codegen",
|
||||||
"crates/dagger-sdk",
|
"crates/dagger-sdk",
|
||||||
"crates/dagger-core",
|
"crates/dagger-core",
|
||||||
|
"crates/dagger-rs",
|
||||||
"ci",
|
"ci",
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[workspace.dependencies]
|
||||||
dagger-codegen = { path = "crates/dagger-codegen", version = "^0.2.5" }
|
dagger-codegen = { path = "crates/dagger-codegen", version = "^0.2.5" }
|
||||||
dagger-core = { path = "crates/dagger-core", version = "^0.2.8" }
|
dagger-core = { path = "crates/dagger-core", version = "^0.2.8" }
|
||||||
|
dagger-rs = { path = "crates/dagger-rs", version = "^0.2.10" }
|
||||||
|
dagger-sdk = { path = "crates/dagger-sdk", version = "^0.2.19" }
|
||||||
|
|
||||||
clap = "4.1.6"
|
|
||||||
dirs = "4.0.0"
|
|
||||||
eyre = "0.6.8"
|
eyre = "0.6.8"
|
||||||
flate2 = { version = "1.0.25", features = ["zlib"] }
|
color-eyre = "0.6.2"
|
||||||
genco = "0.17.3"
|
|
||||||
graphql-introspection-query = "0.2.0"
|
|
||||||
graphql_client = { version = "0.12.0", features = ["reqwest"] }
|
|
||||||
hex = "0.4.3"
|
|
||||||
hex-literal = "0.3.4"
|
|
||||||
platform-info = "1.0.2"
|
|
||||||
reqwest = { version = "0.11.14", features = ["stream", "deflate"] }
|
|
||||||
serde = { version = "1.0.152", features = ["derive"] }
|
serde = { version = "1.0.152", features = ["derive"] }
|
||||||
serde_json = "1.0.93"
|
serde_json = "1.0.93"
|
||||||
sha2 = "0.10.6"
|
|
||||||
tar = "0.4.38"
|
|
||||||
tempfile = "3.3.0"
|
|
||||||
color-eyre = "0.6.2"
|
|
||||||
tokio = { version = "1.25.0", features = ["full"] }
|
tokio = { version = "1.25.0", features = ["full"] }
|
||||||
|
@ -10,12 +10,15 @@ publish = true
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
convert_case = "0.6.0"
|
dagger-core = { workspace = true }
|
||||||
dagger-core = { path = "../dagger-core", version = "^0.2.8" }
|
|
||||||
|
eyre = { workspace = true }
|
||||||
|
serde = { workspace = true }
|
||||||
|
serde_json = { workspace = true }
|
||||||
|
|
||||||
eyre = "0.6.8"
|
|
||||||
genco = "0.17.3"
|
genco = "0.17.3"
|
||||||
|
convert_case = "0.6.0"
|
||||||
itertools = "0.10.5"
|
itertools = "0.10.5"
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
pretty_assertions = "1.3.0"
|
pretty_assertions = "1.3.0"
|
||||||
serde = { version = "1.0.152", features = ["derive"] }
|
|
||||||
serde_json = "1.0.93"
|
|
||||||
|
@ -10,20 +10,19 @@ publish = true
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "4.1.6"
|
eyre = { workspace = true }
|
||||||
|
serde = { workspace = true }
|
||||||
|
serde_json = { workspace = true }
|
||||||
|
tokio = { workspace = true }
|
||||||
|
|
||||||
dirs = "4.0.0"
|
dirs = "4.0.0"
|
||||||
eyre = "0.6.8"
|
|
||||||
flate2 = { version = "1.0.25", features = ["zlib"] }
|
flate2 = { version = "1.0.25", features = ["zlib"] }
|
||||||
genco = "0.17.3"
|
|
||||||
graphql-introspection-query = "0.2.0"
|
graphql-introspection-query = "0.2.0"
|
||||||
graphql_client = { version = "0.12.0", features = ["reqwest"] }
|
graphql_client = { version = "0.12.0", features = ["reqwest"] }
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
hex-literal = "0.3.4"
|
hex-literal = "0.3.4"
|
||||||
platform-info = "1.0.2"
|
platform-info = "1.0.2"
|
||||||
reqwest = { version = "0.11.14", features = ["stream", "deflate"] }
|
reqwest = { version = "0.11.14", features = ["stream", "deflate"] }
|
||||||
serde = { version = "1.0.152", features = ["derive"] }
|
|
||||||
serde_json = "1.0.93"
|
|
||||||
sha2 = "0.10.6"
|
sha2 = "0.10.6"
|
||||||
tar = "0.4.38"
|
tar = "0.4.38"
|
||||||
tempfile = "3.3.0"
|
tempfile = "3.3.0"
|
||||||
tokio = { version = "1.25.0", features = ["full"] }
|
|
||||||
|
34
crates/dagger-rs/Cargo.toml
Normal file
34
crates/dagger-rs/Cargo.toml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[package]
|
||||||
|
name = "dagger-rs"
|
||||||
|
version = "0.2.10"
|
||||||
|
edition = "2021"
|
||||||
|
readme = "README.md"
|
||||||
|
license-file = "LICENSE.MIT"
|
||||||
|
description = "A dagger sdk for rust, written in rust"
|
||||||
|
repository = "https://github.com/kjuulh/dagger-rs"
|
||||||
|
publish = true
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
dagger-core = { workspace = true }
|
||||||
|
dagger-codegen = { workspace = true }
|
||||||
|
|
||||||
|
eyre = { workspace = true }
|
||||||
|
color-eyre = { workspace = true }
|
||||||
|
serde = { workspace = true }
|
||||||
|
serde_json = { workspace = true }
|
||||||
|
tokio = { workspace = true }
|
||||||
|
|
||||||
|
clap = "4.1.6"
|
||||||
|
dirs = "4.0.0"
|
||||||
|
flate2 = { version = "1.0.25", features = ["zlib"] }
|
||||||
|
graphql-introspection-query = "0.2.0"
|
||||||
|
graphql_client = { version = "0.12.0", features = ["reqwest"] }
|
||||||
|
hex = "0.4.3"
|
||||||
|
hex-literal = "0.3.4"
|
||||||
|
platform-info = "1.0.2"
|
||||||
|
reqwest = { version = "0.11.14", features = ["stream", "deflate"] }
|
||||||
|
sha2 = "0.10.6"
|
||||||
|
tar = "0.4.38"
|
||||||
|
tempfile = "3.3.0"
|
@ -11,15 +11,16 @@ publish = true
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dagger-core = { path = "../dagger-core", version = "^0.2.8" }
|
dagger-core = { workspace = true }
|
||||||
|
|
||||||
|
eyre = { workspace = true }
|
||||||
|
tokio = { workspace = true }
|
||||||
|
serde = { workspace = true }
|
||||||
|
serde_json = { workspace = true }
|
||||||
|
|
||||||
base64 = "0.21.0"
|
base64 = "0.21.0"
|
||||||
eyre = "0.6.8"
|
|
||||||
futures = "0.3.27"
|
futures = "0.3.27"
|
||||||
gql_client = "1.0.7"
|
gql_client = "1.0.7"
|
||||||
serde = { version = "1.0.152", features = ["derive"] }
|
|
||||||
serde_json = { version = "1.0.93", features = ["raw_value"] }
|
|
||||||
tokio = { version = "1.25.0", features = ["full"] }
|
|
||||||
derive_builder = "0.12.0"
|
derive_builder = "0.12.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
Loading…
Reference in New Issue
Block a user