Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 15, 2023
1 parent 562a372 commit b78f51c
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 25 deletions.
33 changes: 17 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ resolver = "2"
futures = "0.3.29"
serde = { version = "1.0.192", features = ["derive"] }
serde_json = "1.0.108"
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread"] }
hyper = { version = "0.14.27", features = ["http1", "http2", "client"] }
tokio = { version = "1.34.0", default-features = false }
hyper = { version = "0.14.27", default-features = false }
tracing = "0.1.40"
1 change: 1 addition & 0 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ path = "src/lib.rs"

[dependencies]
tracing = { workspace = true }
futures = { workspace = true }
3 changes: 3 additions & 0 deletions crates/common/src/http.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
use futures::AsyncRead;

pub type HttpRequestBody = AsyncRead + Send;
1 change: 1 addition & 0 deletions crates/common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod http;
12 changes: 5 additions & 7 deletions crates/conductor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
name = "conductor"
version = "0.1.0"
edition = "2021"
default-run = "conductor"

[[bin]]
name = "conductor"
path = "src/main.rs"
bench = false

[lib]
path = "src/lib.rs"

[dependencies]
conductor_config = { path = "../config" }
conductor_engine = { path = "../engine" }
conductor_common = { path = "../common" }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
hyper = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
hyper = { workspace = true, features = ["http1", "http2", "client"] }
axum = { version = "0.6.20", features = ["headers"] }
tracing = { workspace = true }
tracing-subscriber = "0.3.18"
Expand All @@ -35,6 +36,3 @@ openssl = { version = "0.10", features = ["vendored"] }

[dev-dependencies]
httpmock = "0.6"

[lib]
path = "src/lib.rs"

0 comments on commit b78f51c

Please sign in to comment.