Skip to content

Commit

Permalink
make workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Dec 5, 2023
1 parent 1ee09e4 commit e23f087
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 19 deletions.
27 changes: 8 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
[package]
name = "gateway"
version = "0.1.0"
edition = "2021"
[workspace]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
members = [
"xps"
]

[dependencies]
tonic = "0.9"
prost = "0.11"
http = "0.2.9"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
tokio-stream = { version = "0.1", features = ["net"] }
async-stream = "0.2"
clap = { version = "4.3.21", features = ["derive"] }
tonic-web = "0.9.2"
tower-http = { version = "0.4.0", default-features = false, features = [
"cors",
] }
exclude = [ ]

[build-dependencies]
tonic-build = "0.9"
# Make the feature resolver explicit.
# See https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#details
resolver = "2"
22 changes: 22 additions & 0 deletions xps/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "gateway"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tonic = "0.9"
prost = "0.11"
http = "0.2.9"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
tokio-stream = { version = "0.1", features = ["net"] }
async-stream = "0.2"
clap = { version = "4.3.21", features = ["derive"] }
tonic-web = "0.9.2"
tower-http = { version = "0.4.0", default-features = false, features = [
"cors",
] }

[build-dependencies]
tonic-build = "0.9"
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.

0 comments on commit e23f087

Please sign in to comment.