Skip to content

Commit 93b4a7f

Browse files
committed
guides: add /init/setup
1 parent 1719a2e commit 93b4a7f

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

_data/stable.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
- title: Guide
22
path: ""
33
guides:
4+
- init
45
- server
56
- client
67
- upgrading
78

9+
- title: Init
10+
path: "/init"
11+
guides:
12+
- setup
13+
814
- title: Server
915
path: "/server"
1016
guides:

_stable/client/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Client Guides
3-
permalink: /1/client/
3+
layout: guide
4+
permalink: /guides/1/client/
45
---
56

67
This is just placeholder page. It should probably become a table of

_stable/init/setup.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Initial Setup
3+
layout: guide
4+
permalink: /guides/1/init/setup/
5+
---
6+
7+
This will help get your initial setup ready to be able to try out the
8+
lessons in the guides.
9+
10+
## Dependencies
11+
12+
To make things simple, you can add the follow crates to your
13+
`Cargo.toml`:
14+
15+
```toml
16+
[dependencies]
17+
hyper = { version = "1", features = ["full"] }
18+
tokio = { version = "1", features = ["full"] }
19+
http-body-util = "0.1"
20+
hyper-util = { version = "0.1", features = ["full"] }
21+
```
22+
23+
And with that, you're good to go! Depending on what you want to
24+
accomplish, you can move on to either the [client][] or [server][]
25+
guides.
26+
27+
[client]: ../../client
28+
[server]: ../../server

_stable/server/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Server Guides
3-
permalink: /1/server/
3+
layout: guide
4+
permalink: /guides/1/server/
45
---
56

67
This is just placeholder page. It should probably become a table of

0 commit comments

Comments
 (0)