Commit Graph

620 Commits

Author SHA1 Message Date
dependabot[bot] 641326b54f Update http requirement from 0.2 to 1.1
Updates the requirements on [http](https://github.com/hyperium/http) to permit the latest version.
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.2.0...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 07:30:05 -07:00
dependabot[bot] bc7a85d170 Update scraper requirement from 0.18 to 0.19
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.18.0...v0.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 23:17:49 +09:00
dependabot[bot] f8f5a4af67 Update async-tungstenite requirement from 0.24 to 0.25
Updates the requirements on [async-tungstenite](https://github.com/sdroege/async-tungstenite) to permit the latest version.
- [Changelog](https://github.com/sdroege/async-tungstenite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sdroege/async-tungstenite/compare/0.24.0...0.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 06:25:23 -08:00
John Nunley 490c4c6e64 ex: Use smol-hyper in hyper-server example
Signed-off-by: John Nunley <dev@notgull.net>
2024-01-15 17:54:46 -08:00
John Nunley f3054c3537 ex: Use smol-hyper in hyper-client example
Signed-off-by: John Nunley <dev@notgull.net>
2024-01-15 17:54:46 -08:00
John Nunley 5b505fc26d
docs: Add link to Matrix chat to README
This should hopefully improve discovery for our Matrix chatroom.

Signed-off-by: John Nunley <dev@notgull.net>
2024-01-15 17:40:30 -08:00
John Nunley d37bf58d8d
v2.0.0
Signed-off-by: John Nunley <dev@notgull.net>
2023-12-31 10:42:28 -08:00
dependabot[bot] b1c9f8743e Update async-tungstenite requirement from 0.23 to 0.24
Updates the requirements on [async-tungstenite](https://github.com/sdroege/async-tungstenite) to permit the latest version.
- [Changelog](https://github.com/sdroege/async-tungstenite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sdroege/async-tungstenite/compare/0.23.0...0.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 22:44:06 +09:00
dependabot[bot] bdc061956a Update scraper requirement from 0.17 to 0.18
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.17.0...v0.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 22:59:53 +09:00
John Nunley 75c8dcedfa Run the process driver on the executor thread
This allows us to avoid spawning an additional thread in some cases.

Signed-off-by: John Nunley <dev@notgull.net>
2023-11-02 06:38:41 -07:00
John Nunley 19ca79660f
breaking: Bump all subcrates to their newest versions
This is a breaking change.

Signed-off-by: John Nunley <dev@notgull.net>
2023-11-01 19:30:30 -07:00
dependabot[bot] f337143aba Update async-fs requirement from 1.3.0 to 2.0.0
Updates the requirements on [async-fs](https://github.com/smol-rs/async-fs) to permit the latest version.
- [Release notes](https://github.com/smol-rs/async-fs/releases)
- [Changelog](https://github.com/smol-rs/async-fs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/async-fs/compare/v1.3.0...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 01:27:36 +09:00
dependabot[bot] 19a6a3faaa Update async-lock requirement from 2.6.0 to 3.0.0
Updates the requirements on [async-lock](https://github.com/smol-rs/async-lock) to permit the latest version.
- [Release notes](https://github.com/smol-rs/async-lock/releases)
- [Changelog](https://github.com/smol-rs/async-lock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/async-lock/compare/v2.6.0...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 00:52:01 +09:00
dependabot[bot] 1beb26f5d1 Update async-channel requirement from 1.4.2 to 2.0.0
Updates the requirements on [async-channel](https://github.com/smol-rs/async-channel) to permit the latest version.
- [Release notes](https://github.com/smol-rs/async-channel/releases)
- [Changelog](https://github.com/smol-rs/async-channel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/async-channel/compare/v1.4.2...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 00:44:11 +09:00
dependabot[bot] d1da833155 Update async-net requirement from 1.4.3 to 2.0.0
Updates the requirements on [async-net](https://github.com/smol-rs/async-net) to permit the latest version.
- [Release notes](https://github.com/smol-rs/async-net/releases)
- [Changelog](https://github.com/smol-rs/async-net/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/async-net/compare/v1.4.3...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 00:43:37 +09:00
Alex Touchet f0cd8e37d9
docs: Fix build badge 2023-10-18 05:47:03 -07:00
Taiki Endo 8d8879df0f Update actions/checkout action to v4 2023-09-10 18:28:30 +09:00
Taiki Endo 7e95fff0bf Use rustix in linux-timerfd example 2023-08-30 01:53:44 +09:00
John Nunley 86dad666a1
Merge pull request #262 from esp-rs-compat/espidf 2023-08-29 07:09:15 -07:00
dependabot[bot] 2ca5cd505b Update nix requirement from 0.26 to 0.27
Updates the requirements on [nix](https://github.com/nix-rust/nix) to permit the latest version.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.26.0...v0.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:47:06 +09:00
imarkov 5d51de0bd5 Support for the ESP-IDF framework 2023-08-18 07:11:34 +00:00
dependabot[bot] 084a207cf1 Update async-tungstenite requirement from 0.22 to 0.23
Updates the requirements on [async-tungstenite](https://github.com/sdroege/async-tungstenite) to permit the latest version.
- [Changelog](https://github.com/sdroege/async-tungstenite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sdroege/async-tungstenite/compare/0.22.0...0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 23:03:27 +09:00
Taiki Endo 8a67449e06 Remove tungstenite dev-dependency
Use re-export from async-tungstenite.
2023-08-06 16:41:08 +09:00
Taiki Endo c428a2b225 Bump MSRV to 1.63
rustix 0.38 and the next version of many io-related async-* crates
require Rust 1.63.
2023-08-06 16:06:53 +09:00
John Nunley 35b45aa3da
docs: Use the new smol logo in docs and README 2023-07-16 07:22:16 -07:00
dependabot[bot] 14d27a94c5 Update scraper requirement from 0.16 to 0.17
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.16.0...v0.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 23:02:47 +09:00
Taiki Endo 4604978cf0 Fix deprecated warning in example
```
error: use of deprecated method `inotify::Inotify::add_watch`: use `Inotify.watches().add()` instead
  --> examples/linux-inotify.rs:38:27
   |
38 |         inotify.get_mut().add_watch(".", WatchMask::ALL_EVENTS)?;
   |                           ^^^^^^^^^
   |
   = note: `-D deprecated` implied by `-D warnings`
```
2023-06-11 18:04:49 +09:00
dependabot[bot] b35cafc04b Update async-tungstenite requirement from 0.21 to 0.22
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.21.0...0.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 23:18:59 +09:00
Taiki Endo ef89385fcb Update tungstenite to 0.19, async-tungstenite to 0.21 2023-04-21 01:26:41 +09:00
dependabot[bot] 5ceeb1598b
Update scraper requirement from 0.15 to 0.16 (#253) 2023-04-10 08:15:51 -07:00
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