Skip to content

Commit

Permalink
chore(tonic-web) include crate in top-level workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
alce committed May 15, 2021
1 parent f613386 commit 5236ba0
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 423 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = [
"tonic-health",
"tonic-types",
"tonic-reflection",
"tonic-web",

# Non-published crates
"examples",
Expand All @@ -20,5 +21,6 @@ members = [
"tests/extern_path/my_application",
"tests/integration_tests",
"tests/stream_conflict",
"tonic-web/tests/integration"
]

6 changes: 0 additions & 6 deletions tonic-web/.gitignore

This file was deleted.

27 changes: 21 additions & 6 deletions tonic-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
[workspace]
members = [
"tonic-web",
"interop",
"tests/integration"
]
[package]
name = "tonic-web"
version = "0.1.0"
authors = ["Juan Alvarez <[email protected]>"]
edition = "2018"

[dependencies]
tonic = { path = "../tonic", default-features = false, features = ["transport"] }
http = "0.2"
base64 = "0.13"
futures-core = "0.3"
bytes = "1.0"
hyper = "0.14"
http-body = "0.4"
tower-service = "0.3"
tracing = "0.1"
pin-project = "1"

[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt"] }
tonic = { path = "../tonic", default-features = false, features = ["transport", "tls"] }
2 changes: 0 additions & 2 deletions tonic-web/interop/.dockerignore

This file was deleted.

13 changes: 0 additions & 13 deletions tonic-web/interop/Cargo.toml

This file was deleted.

28 changes: 0 additions & 28 deletions tonic-web/interop/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions tonic-web/interop/README.md

This file was deleted.

204 changes: 0 additions & 204 deletions tonic-web/interop/client/interop_client.js

This file was deleted.

19 changes: 0 additions & 19 deletions tonic-web/interop/client/package.json

This file was deleted.

Loading

0 comments on commit 5236ba0

Please sign in to comment.