Skip to content

Commit d1f7686

Browse files
author
Jannis Pohlmann
committed
server/http: Rename thegraph-server-hyper to thegraph-server-http
1 parent 0506405 commit d1f7686

16 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ members = [
66
"mock",
77
"node",
88
"runtime/wasm",
9-
"server/hyper",
9+
"server/http",
1010
"store/postgres",
1111
"thegraph",
1212
]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Right now, this includes:
1919
introspection and more.
2020
- `mock` — A library providing mock implementations for all system components.
2121
- `runtime/wasm` — A library for running WASM data extraction scripts.
22-
- `server/hyper` — A library providing a GraphQL server based on Hyper.
22+
- `server/http` — A library providing a GraphQL server over HTTP.
2323
- `store/postgres` — A Postgres store with a GraphQL friendly interface
2424
and audit logs.
2525

node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ thegraph-core = { path = "../core" }
1717
thegraph-datasource-ethereum = { path = "../datasource/ethereum" }
1818
thegraph-mock = { path = "../mock" }
1919
thegraph-runtime-wasm = { path = "../runtime/wasm" }
20-
thegraph-server-hyper = { path = "../server/hyper" }
20+
thegraph-server-http = { path = "../server/http" }
2121
thegraph-store-postgres = { path = "../store/postgres" }
2222

2323
[dev-dependencies]

node/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extern crate thegraph_core;
1212
extern crate thegraph_datasource_ethereum;
1313
extern crate thegraph_mock;
1414
extern crate thegraph_runtime_wasm;
15-
extern crate thegraph_server_hyper;
15+
extern crate thegraph_server_http;
1616
extern crate thegraph_store_postgres;
1717
extern crate tokio;
1818
extern crate tokio_core;
@@ -34,7 +34,7 @@ use thegraph::util::log::logger;
3434
use thegraph_datasource_ethereum::Transport;
3535
use thegraph_node::DataSourceProvider as IpfsDataSourceProvider;
3636
use thegraph_runtime_wasm::RuntimeHostBuilder as WASMRuntimeHostBuilder;
37-
use thegraph_server_hyper::GraphQLServer as HyperGraphQLServer;
37+
use thegraph_server_http::GraphQLServer as HyperGraphQLServer;
3838
use thegraph_store_postgres::{Store as DieselStore, StoreConfig};
3939

4040
fn main() {

server/hyper/Cargo.toml renamed to server/http/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "thegraph-server-hyper"
2+
name = "thegraph-server-http"
33
version = "0.1.0"
44

55
[dependencies]
@@ -13,4 +13,4 @@ slog = "2.2.3"
1313
thegraph = { path = "../../thegraph" }
1414
thegraph-graphql = { path = "../../graphql" }
1515
tokio = "0.1.6"
16-
tokio-core = "0.1.17"
16+
tokio-core = "0.1.17"
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.

server/hyper/tests/server.rs renamed to server/http/tests/server.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extern crate serde_json;
66
#[macro_use]
77
extern crate slog;
88
extern crate thegraph;
9-
extern crate thegraph_server_hyper;
9+
extern crate thegraph_server_http;
1010
extern crate tokio;
1111
extern crate tokio_core;
1212

@@ -21,8 +21,8 @@ use tokio_core::reactor::Core;
2121
use thegraph::components::schema::SchemaProviderEvent;
2222
use thegraph::prelude::*;
2323

24-
use thegraph_server_hyper::test_utils;
25-
use thegraph_server_hyper::GraphQLServer as HyperGraphQLServer;
24+
use thegraph_server_http::test_utils;
25+
use thegraph_server_http::GraphQLServer as HyperGraphQLServer;
2626

2727
/// Helper function that simulates running a single incoming query and then
2828
/// closing the query stream.

0 commit comments

Comments
 (0)