Skip to content

Commit d5fae3e

Browse files
authored
chore: rename branch to main (#3821)
1 parent e6958cc commit d5fae3e

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Benchmark
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66

77
permissions:
88
contents: read

.github/workflows/ci-post-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI (post-merge)
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66

77
permissions:
88
contents: read

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
merge_group:
77
types: [checks_requested]
88
push:
9-
branches: [master]
9+
branches: [main]
1010

1111
permissions:
1212
contents: read

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Coverage
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66

77
permissions:
88
contents: read

actix-multipart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ curl -v --request POST \
8484

8585
<!-- cargo-rdme end -->
8686

87-
[More available in the examples repo &rarr;](https://github.com/actix/examples/tree/master/forms/multipart)
87+
[More available in the examples repo &rarr;](https://github.com/actix/examples/tree/main/forms/multipart)

actix-web/MIGRATION-4.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ An alternative [path param type with public field but no `Deref` impl is availab
115115

116116
## Rustls Crate Upgrade
117117

118-
Actix Web now depends on version 0.20 of `rustls`. As a result, the server config builder has changed. [See the updated example project.](https://github.com/actix/examples/tree/master/https-tls/rustls/)
118+
Actix Web now depends on version 0.20 of `rustls`. As a result, the server config builder has changed. [See the updated example project.](https://github.com/actix/examples/tree/main/https-tls/rustls/)
119119

120120
## Removed `awc` Client Re-export
121121

actix-web/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
- [Website & User Guide](https://actix.rs)
4545
- [Examples Repository](https://github.com/actix/examples)
4646
- [API Documentation](https://docs.rs/actix-web)
47-
- [API Documentation (master branch)](https://actix.rs/actix-web/actix_web)
47+
- [API Documentation (mainranch)](https://actix.rs/actix-web/actix_web)
4848

4949
## Example
5050

@@ -78,23 +78,23 @@ async fn main() -> std::io::Result<()> {
7878

7979
### More Examples
8080

81-
- [Hello World](https://github.com/actix/examples/tree/master/basics/hello-world)
82-
- [Basic Setup](https://github.com/actix/examples/tree/master/basics/basics)
83-
- [Application State](https://github.com/actix/examples/tree/master/basics/state)
84-
- [JSON Handling](https://github.com/actix/examples/tree/master/json/json)
85-
- [Multipart Streams](https://github.com/actix/examples/tree/master/forms/multipart)
86-
- [MongoDB Integration](https://github.com/actix/examples/tree/master/databases/mongodb)
87-
- [Diesel Integration](https://github.com/actix/examples/tree/master/databases/diesel)
88-
- [SQLite Integration](https://github.com/actix/examples/tree/master/databases/sqlite)
89-
- [Postgres Integration](https://github.com/actix/examples/tree/master/databases/postgres)
90-
- [Tera Templates](https://github.com/actix/examples/tree/master/templating/tera)
91-
- [Askama Templates](https://github.com/actix/examples/tree/master/templating/askama)
92-
- [HTTPS using Rustls](https://github.com/actix/examples/tree/master/https-tls/rustls)
93-
- [HTTPS using OpenSSL](https://github.com/actix/examples/tree/master/https-tls/openssl)
94-
- [Simple WebSocket](https://github.com/actix/examples/tree/master/websockets)
95-
- [WebSocket Chat](https://github.com/actix/examples/tree/master/websockets/chat)
96-
97-
You may consider checking out [this directory](https://github.com/actix/examples/tree/master) for more examples.
81+
- [Hello World](https://github.com/actix/examples/tree/mainasics/hello-world)
82+
- [Basic Setup](https://github.com/actix/examples/tree/mainasics/basics)
83+
- [Application State](https://github.com/actix/examples/tree/mainasics/state)
84+
- [JSON Handling](https://github.com/actix/examples/tree/mainson/json)
85+
- [Multipart Streams](https://github.com/actix/examples/tree/mainorms/multipart)
86+
- [MongoDB Integration](https://github.com/actix/examples/tree/mainatabases/mongodb)
87+
- [Diesel Integration](https://github.com/actix/examples/tree/mainatabases/diesel)
88+
- [SQLite Integration](https://github.com/actix/examples/tree/mainatabases/sqlite)
89+
- [Postgres Integration](https://github.com/actix/examples/tree/mainatabases/postgres)
90+
- [Tera Templates](https://github.com/actix/examples/tree/mainemplating/tera)
91+
- [Askama Templates](https://github.com/actix/examples/tree/mainemplating/askama)
92+
- [HTTPS using Rustls](https://github.com/actix/examples/tree/mainttps-tls/rustls)
93+
- [HTTPS using OpenSSL](https://github.com/actix/examples/tree/mainttps-tls/openssl)
94+
- [Simple WebSocket](https://github.com/actix/examples/tree/mainebsockets)
95+
- [WebSocket Chat](https://github.com/actix/examples/tree/mainebsockets/chat)
96+
97+
You may consider checking out [this directory](https://github.com/actix/examples/tree/mainfor more examples.
9898

9999
## Benchmarks
100100

actix-web/examples/on-connect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! properties and pass them to a handler through request-local data.
33
//!
44
//! For an example of extracting a client TLS certificate, see:
5-
//! <https://github.com/actix/examples/tree/master/https-tls/rustls-client-cert>
5+
//! <https://github.com/actix/examples/tree/main/https-tls/rustls-client-cert>
66
77
use std::{any::Any, io, net::SocketAddr};
88

awc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## Examples
1616

17-
[Example project using TLS-enabled client →](https://github.com/actix/examples/tree/master/https-tls/awc-https)
17+
[Example project using TLS-enabled client →](https://github.com/actix/examples/tree/main/https-tls/awc-https)
1818

1919
Basic usage:
2020

0 commit comments

Comments
 (0)