Commit Graph

590 Commits

Author SHA1 Message Date
Taiki Endo bf64d51914 Update permissions for security_audit 2023-03-07 00:18:36 +09:00
dependabot[bot] b2a51bb937 Update async-native-tls requirement from 0.4 to 0.5
Updates the requirements on [async-native-tls](https://github.com/async-email/async-native-tls) to permit the latest version.
- [Release notes](https://github.com/async-email/async-native-tls/releases)
- [Commits](https://github.com/async-email/async-native-tls/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: async-native-tls
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 23:41:24 +09:00
dependabot[bot] 678f70de25 Update scraper requirement from 0.14 to 0.15
Updates the requirements on [scraper](https://github.com/causal-agent/scraper) to permit the latest version.
- [Release notes](https://github.com/causal-agent/scraper/releases)
- [Commits](https://github.com/causal-agent/scraper/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: scraper
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 23:29:07 +09:00
Taiki Endo c65906cac8 Bump MSRV to 1.48
async-lock 2.7.0 requires Rust 1.48.

```
error[E0658]: use of unstable library feature 'future_readiness_fns'
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/async-lock-2.7.0/src/once_cell.rs:430:45
    |
430 |             self.initialize_or_wait(move || std::future::ready(closure()), &mut Blocking),
    |                                             ^^^^^^^^^^^^^^^^^^
    |
```
2023-03-06 01:47:28 +09:00
Taiki Endo b2a5e69394 Minimize GITHUB_TOKEN permissions
Refs: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token
2023-03-04 11:41:39 +09:00
Taiki Endo be21c2f968 Set CARGO_NET_GIT_FETCH_WITH_CLI=true in CI 2023-03-04 11:41:39 +09:00
dependabot[bot] 9e13aecceb Update async-tungstenite requirement from 0.19 to 0.20
Updates the requirements on [async-tungstenite](https://github.com/sdroege/async-tungstenite) to permit the latest version.
- [Release notes](https://github.com/sdroege/async-tungstenite/releases)
- [Changelog](https://github.com/sdroege/async-tungstenite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sdroege/async-tungstenite/compare/0.19.0...0.20.0)

---
updated-dependencies:
- dependency-name: async-tungstenite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 23:23:50 +09:00
John Nunley 36e085f9fa
Add an official MSRV policy (#243) 2023-01-15 11:42:17 +09:00
dependabot[bot] f5c45807c2 Update async-tungstenite requirement from 0.17 to 0.19
Updates the requirements on [async-tungstenite](https://github.com/sdroege/async-tungstenite) to permit the latest version.
- [Release notes](https://github.com/sdroege/async-tungstenite/releases)
- [Changelog](https://github.com/sdroege/async-tungstenite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sdroege/async-tungstenite/compare/0.17.0...0.19.0)

---
updated-dependencies:
- dependency-name: async-tungstenite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 15:18:01 +09:00
dependabot[bot] faee9a8ca5 Update tungstenite requirement from 0.17 to 0.18
Updates the requirements on [tungstenite](https://github.com/snapview/tungstenite-rs) to permit the latest version.
- [Release notes](https://github.com/snapview/tungstenite-rs/releases)
- [Changelog](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/snapview/tungstenite-rs/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: tungstenite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 15:18:01 +09:00
dependabot[bot] 0ae00dac77 Update nix requirement from 0.24 to 0.26
Updates the requirements on [nix](https://github.com/nix-rust/nix) to permit the latest version.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.0...v0.26.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 12:50:31 +09:00
dependabot[bot] fc6acf23c9 Update scraper requirement from 0.13 to 0.14
Updates the requirements on [scraper](https://github.com/causal-agent/scraper) to permit the latest version.
- [Release notes](https://github.com/causal-agent/scraper/releases)
- [Commits](https://github.com/causal-agent/scraper/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: scraper
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 12:46:24 +09:00
Taiki Endo 4b16219609 Enable dependabot update for Rust 2022-12-28 12:25:47 +09:00
Taiki Endo 3022d23f27 Clean up CI config 2022-12-28 12:25:47 +09:00
Taiki Endo 29a075db59 Release 1.3.0 2022-11-29 22:46:36 +09:00
Taiki Endo 10a00cff81 Remove msrv field from .clippy.toml
Since Rust 1.64, Clippy respects `rust-version` field in Cargo.toml.
rust-lang/rust@b776fb8
2022-11-29 22:46:36 +09:00
John Nunley 8e97a4477e
Replace once-cell with async-lock (#241)
* Replace once-cell with async-lock

* Update dependencies
2022-11-27 20:39:36 -08:00
Taiki Endo 78d512a277 Ignore clippy::type_complexity lint in example
```
warning: very complex type used. Consider factoring parts into `type` definitions
   --> examples/hyper-server.rs:132:15
    |
132 |     Handshake(Pin<Box<dyn Future<Output = io::Result<TlsStream<Async<TcpStream>>>> + Send>>),
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(clippy::type_complexity)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
```
2022-07-17 21:26:29 +09:00
Taiki Endo 9699af3649 Fix clippy::unused_unit warning in examples
```
warning: unneeded unit expression
   --> examples/hyper-client.rs:139:25
    |
139 |                         ()
    |                         ^^ help: remove the final `()`
    |
    = note: `#[warn(clippy::unused_unit)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit

warning: unneeded unit expression
   --> examples/hyper-client.rs:147:25
    |
147 |                         ()
    |                         ^^ help: remove the final `()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit

warning: unneeded unit expression
   --> examples/hyper-server.rs:154:29
    |
154 | ...                   ()
    |                       ^^ help: remove the final `()`
    |
    = note: `#[warn(clippy::unused_unit)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit

warning: unneeded unit expression
   --> examples/hyper-server.rs:162:29
    |
162 | ...                   ()
    |                       ^^ help: remove the final `()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
```
2022-07-17 21:25:23 +09:00
Taiki Endo 534ac48a01 Apply clippy to all targets 2022-07-17 21:22:12 +09:00
Taiki Endo 31c3582ef5
Update dependencies (#239) 2022-07-08 02:16:10 +09:00
Taiki Endo 38bf6dc05e Bump MSRV to Rust 1.47
https://github.com/smol-rs/async-task/releases/tag/v4.3.0
2022-07-08 01:51:58 +09:00
Taiki Endo 2c78616547 Update CI config 2022-07-08 01:51:12 +09:00
Taiki Endo 473ca3cb3b Update actions/checkout action to v3 2022-05-01 14:47:31 +09:00
Taiki Endo c2f5bfcd61
Merge pull request #231 from smol-rs/deps
Update dev-dependencies
2022-01-09 01:23:58 +09:00
Taiki Endo 08f027b9b5 Update dev-dependencies 2022-01-09 01:15:27 +09:00
Taiki Endo 404c7bcc0a Remove rustfmt.toml 2022-01-09 01:15:08 +09:00
Taiki Endo 953620d52b Create GitHub release automatically 2022-01-09 01:05:11 +09:00
Taiki Endo fb0d263f71 Clean up CI config 2022-01-09 01:04:47 +09:00
Taiki Endo 440c224b49
Merge pull request #229 from smol-rs/deps
Update dev-dependencies
2021-06-30 23:38:58 +09:00
Taiki Endo c210c4033a Update dev-dependencies 2021-06-30 23:28:19 +09:00
Taiki Endo ad0839e1b3
Merge pull request #227 from smol-rs/hyper-example
Fix hyper-server example
2021-02-14 21:09:15 +09:00
Taiki Endo 95cc5842dc
Merge pull request #226 from smol-rs/readme
Remove readme field from Cargo.toml
2021-02-14 21:09:04 +09:00
Taiki Endo 4bed635df7
Merge pull request #224 from smol-rs/badge
Update license badge to match Cargo.toml
2021-02-14 21:00:36 +09:00
Taiki Endo 90891b0305 Fix hyper-server example 2021-02-14 20:53:00 +09:00
Taiki Endo ba1f3d2c69 Remove readme field from Cargo.toml 2021-02-14 20:49:54 +09:00
Taiki Endo 2526bf7d80 Update license badge to match Cargo.toml 2021-02-14 20:49:21 +09:00
Taiki Endo f8bebeb348
Merge pull request #225 from smol-rs/surf
Temporarily disable example that using surf
2021-02-14 20:48:05 +09:00
Taiki Endo 9a0bed4273 Temporarily disable example that using surf 2021-02-14 20:25:19 +09:00
Taiki Endo 76dac2a493
Merge pull request #218 from nickbp/master
Bump dev-dependencies for examples
2021-01-21 12:22:50 +09:00
Nick Parker 79e577a919 Update surf and any recently updated dev-dependencies 2021-01-21 11:28:52 +13:00
Nick Parker 5f7c474431 Bump dev-dependencies for examples
Updates the dependencies used by examples to current - some have had API-breaking changes, so some examples are updated to catch up with those as well.

Note that the hyper-server example doesn't seem to work when tested, but it also didn't work before this PR. Looked at it a bit and found that poll_accept() returns Pending via incoming.poll_next() and then poll_accept() isn't invoked again. hyper-client meanwhile works fine, so the issue doesn't seem to be related to the AsyncRead updates.
2021-01-04 23:56:16 +13:00
Taiki Endo f4eea3133f
Merge pull request #215 from atouchet/url
Update URLs
2020-12-26 21:27:45 +09:00
Taiki Endo 9060e0f247
Merge pull request #216 from taiki-e/ci
Remove CURRENT_WEEK environment variable
2020-12-24 18:12:52 +09:00
Taiki Endo a5ae0afa2b Remove CURRENT_WEEK environment variable 2020-12-24 17:57:13 +09:00
atouchet b1dbdc00f9 Update URLs 2020-12-23 12:31:12 -08:00
Stjepan Glavina 9a1ad8d2ba
. 2020-11-30 12:31:16 +01:00
Stjepan Glavina ea4dec080b Bump to v1.2.5 2020-11-28 21:45:58 +01:00
Stjepan Glavina 77998a9f0a Fix CI 2020-11-28 21:44:08 +01:00
Stjepan Glavina f7d0eba792
Update README.md 2020-10-14 23:48:24 +02:00