diff --git a/site/source/developer-docs/build-package-example/02_create-service.rst b/site/source/developer-docs/build-package-example/02_create-service.rst index 35a5569..2473b46 100644 --- a/site/source/developer-docs/build-package-example/02_create-service.rst +++ b/site/source/developer-docs/build-package-example/02_create-service.rst @@ -57,6 +57,14 @@ In ``main.rs`` add: } } +And in ``Cargo.toml``, make sure your dependencies section looks like this: + +.. code:: toml + + [dependencies] + hyper = { version = "0.14.4", features = ["server", "http1", "http2", "tcp", "stream"] } + tokio = { version = "1.4.0", features = ["full"] } + **That's it!** We now have the code for our service. @@ -69,4 +77,4 @@ Let's build and run it! # start the executable target/debug/hello-world -Visit ``_ to see your running web page! \ No newline at end of file +Visit ``_ to see your running web page!