Skip to content

Commit

Permalink
deps: update async-io, if-addrs, env_logger (#33)
Browse files Browse the repository at this point in the history
async-io just released a 2.0.0
(https://github.com/smol-rs/async-io/releases/tag/v2.0.0) which offers saner
dependencies and fixes an unsafety (which I don't claim is relevant to usage
here, yet justifies async-io 2.0.0 adoption in general across the ecosystem).

if-addrs 0.7 (the prior version) used winapi. if-addrs 0.8 moved to the
official Windows bindings provided by Microsoft. 0.8 also included a bug fix.
0.9 added support for big-endian architectures.
  • Loading branch information
kayabaNerve authored Nov 21, 2023
1 parent 9b87056 commit f21df81
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.2.0]

### Fixed

- Update `async-io`, `if-addrs` crates.
See [PR 33](https://github.com/mxinden/if-watch/pull/33).

## [3.1.0]

### Fixed
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "if-watch"
version = "3.1.0"
version = "3.2.0"
authors = ["David Craven <[email protected]>", "Parity Technologies Limited <[email protected]>"]
edition = "2021"
keywords = ["asynchronous", "routing"]
Expand All @@ -26,21 +26,21 @@ rtnetlink = { version = "0.10.0", default-features = false }

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
core-foundation = "0.9.2"
if-addrs = "0.7.0"
if-addrs = "0.10.0"
system-configuration = "0.5.0"
tokio = { version = "1.21.2", features = ["rt"], optional = true }
smol = { version = "1.2.5", optional = true }

[target.'cfg(target_os = "windows")'.dependencies]
if-addrs = "0.7.0"
if-addrs = "0.10.0"
windows = { version = "0.51.0", features = ["Win32_NetworkManagement_IpHelper", "Win32_Foundation", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock"] }

[target.'cfg(not(any(target_os = "ios", target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies]
async-io = "1.6.0"
if-addrs = "0.7.0"
async-io = "2.0.0"
if-addrs = "0.10.0"

[dev-dependencies]
env_logger = "0.9.0"
env_logger = "0.10.0"
smol = "1.2.5"
tokio = { version = "1.21.2", features = ["rt", "macros"] }

Expand Down

0 comments on commit f21df81

Please sign in to comment.