Skip to content

Commit

Permalink
guides: add /init/setup
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Nov 27, 2023
1 parent 1719a2e commit 93b4a7f
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
6 changes: 6 additions & 0 deletions _data/stable.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
- title: Guide
path: ""
guides:
- init
- server
- client
- upgrading

- title: Init
path: "/init"
guides:
- setup

- title: Server
path: "/server"
guides:
Expand Down
3 changes: 2 additions & 1 deletion _stable/client/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Client Guides
permalink: /1/client/
layout: guide
permalink: /guides/1/client/
---

This is just placeholder page. It should probably become a table of
Expand Down
28 changes: 28 additions & 0 deletions _stable/init/setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Initial Setup
layout: guide
permalink: /guides/1/init/setup/
---

This will help get your initial setup ready to be able to try out the
lessons in the guides.

## Dependencies

To make things simple, you can add the follow crates to your
`Cargo.toml`:

```toml
[dependencies]
hyper = { version = "1", features = ["full"] }
tokio = { version = "1", features = ["full"] }
http-body-util = "0.1"
hyper-util = { version = "0.1", features = ["full"] }
```

And with that, you're good to go! Depending on what you want to
accomplish, you can move on to either the [client][] or [server][]
guides.

[client]: ../../client
[server]: ../../server
3 changes: 2 additions & 1 deletion _stable/server/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Server Guides
permalink: /1/server/
layout: guide
permalink: /guides/1/server/
---

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

0 comments on commit 93b4a7f

Please sign in to comment.