Skip to content

Commit

Permalink
project: update docs to point to trunk branch (#223)
Browse files Browse the repository at this point in the history
Following issue #222, the HEAD branch for the repository was renamed to
"trunk". This patch updates the documentation to point to the new branch
name in dependency listings.

Approved-by: Arzte
Merged-by: Vivian Hellyer <vivian@hellyer.dev>
Signed-off-by: Vivian Hellyer <vivian@hellyer.dev>
  • Loading branch information
zeylahellyer authored Jun 17, 2020
1 parent 052fc88 commit 7923d39
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Most of Twilight requires at least 1.40+ (rust stable).
Add this to your `Cargo.toml`'s `[dependencies]` section:

```toml
twilight = { git = "https://github.com/twilight-rs/twilight.git" }
twilight = { branch = "trunk", git = "https://github.com/twilight-rs/twilight.git" }
```

## Core Crates
Expand Down
2 changes: 1 addition & 1 deletion gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ disable `serde_json` if you are going to use `simd-json`. It is easy to switch t

```toml
[dependencies]
twilight-gateway = { default-features = false, features = ["simd-json"], git = "https://github.com/twilight-rs/twilight" }
twilight-gateway = { branch = "trunk", default-features = false, features = ["simd-json"], git = "https://github.com/twilight-rs/twilight" }
```

[simd-json]: https://github.com/simd-lite/simd-json
Expand Down
2 changes: 1 addition & 1 deletion gateway/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
//!
//! ```toml
//! [dependencies]
//! twilight-gateway = { default-features = false, features = ["simd-json"], git = "https://github.com/twilight-rs/twilight" }
//! twilight-gateway = { branch = "trunk", default-features = false, features = ["simd-json"], git = "https://github.com/twilight-rs/twilight" }
//! ```
//!
//! [simd-json]: https://github.com/simd-lite/simd-json
Expand Down
4 changes: 2 additions & 2 deletions http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ To enable `simd-json`, do something like this in your `Cargo.toml`:

```toml
[dependencies]
twilight-http = { default-features = false, features = ["native", "simd-json"], git = "https://github.com/twilight-rs/twilight" }
twilight-http = { branch = "trunk", default-features = false, features = ["native", "simd-json"], git = "https://github.com/twilight-rs/twilight" }
```

### TLS
Expand All @@ -65,7 +65,7 @@ To enable `rustls`, do something like this in your `Cargo.toml`:

```toml
[dependencies]
twilight-http = { default-features = false, features = ["rustls", "serde_json"], git = "https://github.com/twilight-rs/twilight" }
twilight-http = { branch = "trunk", default-features = false, features = ["rustls", "serde_json"], git = "https://github.com/twilight-rs/twilight" }
```

[`native-tls`]: https://crates.io/crates/native-tls
Expand Down
4 changes: 2 additions & 2 deletions http/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
//!
//! ```toml
//! [dependencies]
//! twilight-http = { default-features = false, features = ["native", "simd-json"], git = "https://github.com/twilight-rs/twilight" }
//! twilight-http = { branch = "trunk", default-features = false, features = ["native", "simd-json"], git = "https://github.com/twilight-rs/twilight" }
//! ```
//!
//! ### TLS
Expand All @@ -63,7 +63,7 @@
//!
//! ```toml
//! [dependencies]
//! twilight-http = { default-features = false, features = ["rustls", "serde_json"], git = "https://github.com/twilight-rs/twilight" }
//! twilight-http = { branch = "trunk", default-features = false, features = ["rustls", "serde_json"], git = "https://github.com/twilight-rs/twilight" }
//! ```
//!
//! [`native-tls`]: https://crates.io/crates/native-tls
Expand Down
2 changes: 1 addition & 1 deletion model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ If you don't need serde support, you can disable it:

```toml
[dependencies]
twilight-model = { default-features = false, git = "https://github.com/twilight-rs/twilight" }
twilight-model = { branch = "trunk", default-features = false, git = "https://github.com/twilight-rs/twilight" }
```

## License
Expand Down
2 changes: 1 addition & 1 deletion model/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
//!
//! ```toml
//! [dependencies]
//! twilight-model = { default-features = false, git = "https://github.com/twilight-rs/twilight" }
//! twilight-model = { branch = "trunk", default-features = false, git = "https://github.com/twilight-rs/twilight" }
//! ```
//!
//! ## License
Expand Down
2 changes: 1 addition & 1 deletion twilight/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//! Add this to your `Cargo.toml`'s `[dependencies]` section:
//!
//! ```toml
//! twilight = { git = "https://github.com/twilight-rs/twilight.git" }
//! twilight = { branch = "trunk", git = "https://github.com/twilight-rs/twilight.git" }
//! ```
//!
//! ## Core Crates
Expand Down

0 comments on commit 7923d39

Please sign in to comment.