Skip to content

Commit 138b24b

Browse files
oddgrdseanmonstar
authored andcommitted
refactor: split guides up into legacy and master
1 parent 1236e11 commit 138b24b

File tree

14 files changed

+439
-0
lines changed

14 files changed

+439
-0
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

_guides/legacy/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Getting Started
3+
layout: guide
4+
permalink: /guides/
5+
---
6+
7+
hyper is an HTTP library for the Rust language.
8+
9+
You can start using it by first adding it to your `Cargo.toml`:
10+
11+
```toml
12+
[dependencies]
13+
hyper = "0.14"
14+
```
15+
16+
- If building a web server, continue with the [Server guide][].
17+
- If trying to talk to a server, continue with the [Client guide][].
18+
19+
You could also look at the [generated API documentaton][docs].
20+
21+
[docs]: {{ site.docs_url }}
22+
[Server guide]: server/hello-world.md
23+
[Client guide]: client/basic.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

_guides/master/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Getting Started
3+
layout: guide
4+
permalink: /guides/
5+
---
6+
7+
hyper is an HTTP library for the Rust language.
8+
9+
You can start using it by first adding it to your `Cargo.toml`:
10+
11+
```toml
12+
[dependencies]
13+
hyper = { version = "1.0.0-rc.1", features = ["full"] }
14+
```
15+
16+
- If building a web server, continue with the [Server guide][].
17+
- If trying to talk to a server, continue with the [Client guide][].
18+
19+
You could also look at the [generated API documentaton][docs].
20+
21+
[docs]: {{ site.docs_url }}
22+
[Server guide]: server/hello-world.md
23+
[Client guide]: client/basic.md

0 commit comments

Comments
 (0)