From 13b46fc3df4628836ea46d9342854f0195c28f98 Mon Sep 17 00:00:00 2001 From: Dominik Nakamura Date: Thu, 18 May 2023 17:09:00 +0900 Subject: [PATCH] Update dependencies --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 6 ++++-- Cargo.toml | 26 +++++++++++++------------- deny.toml | 5 ++++- rustfmt.toml | 1 + 5 files changed, 23 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7124496..333deaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] - toolchain: [stable, "1.63"] + toolchain: [stable, "1.68"] steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f4f796..5d5a53d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,8 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Changed -- Update all dependencies to their lates version, most notably `base64` and `tokio-tungstenite`. -- The MSRV is now **1.63**. +- **BREAKING CHANGE:** Due to the update of `bitflags` the list of derived traits changed. +- Update all dependencies to their lates version, most notably `base64`, `bitflags` and + `tokio-tungstenite`. +- The MSRV is now **1.68**. ## [0.10.0] - 2022-11-14 diff --git a/Cargo.toml b/Cargo.toml index 3623086..95144f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "obws" version = "0.10.0" authors = ["Dominik Nakamura "] edition = "2021" -rust-version = "1.63" +rust-version = "1.68" license = "MIT" readme = "README.md" description = "The obws (obvious) remote control library for OBS." @@ -17,29 +17,29 @@ include = ["examples/**/*", "tests/**/*", "src/**/*", "LICENSE", "README.md", "C features = ["events", "tls"] [dependencies] -async-stream = { version = "0.3.4", optional = true } +async-stream = { version = "0.3.5", optional = true } base64 = "0.21.0" -bitflags = { version = "2.0.2", features = ["serde"] } +bitflags = { version = "2.3.1", features = ["serde"] } futures-util = { version = "0.3.28", features = ["sink"] } rgb = { version = "0.8.36", default-features = false } semver = { version = "1.0.17", features = ["serde"] } -serde = { version = "1.0.159", features = ["derive"] } -serde_json = "1.0.95" +serde = { version = "1.0.163", features = ["derive"] } +serde_json = "1.0.96" serde_repr = "0.1.12" -serde_with = "2.3.1" +serde_with = "3.0.0" sha2 = "0.10.6" thiserror = "1.0.40" -time = "0.3.20" -tokio = { version = "1.27.0", features = ["net", "rt", "sync", "time"] } -tokio-tungstenite = "0.18.0" +time = "0.3.21" +tokio = { version = "1.28.1", features = ["net", "rt", "sync", "time"] } +tokio-tungstenite = "0.19.0" tracing = "0.1.37" [dev-dependencies] -anyhow = "1.0.70" +anyhow = "1.0.71" dotenvy = "0.15.7" -serde_test = "1.0.159" -tokio = { version = "1.27.0", features = ["fs", "macros", "rt-multi-thread", "time"] } -tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } +serde_test = "1.0.163" +tokio = { version = "1.28.1", features = ["fs", "macros", "rt-multi-thread", "time"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } [features] default = [] diff --git a/deny.toml b/deny.toml index badbdbf..acfc923 100644 --- a/deny.toml +++ b/deny.toml @@ -20,5 +20,8 @@ version = "*" [bans] skip = [ - { name = "base64", version = "=0.13.1" }, + { name = "regex-syntax", version = "=0.6.29" }, +] +skip-tree = [ + { name = "windows-sys", version = "=0.45.0", depth = 3 }, ] diff --git a/rustfmt.toml b/rustfmt.toml index 2f10164..7443197 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,5 @@ comment_width = 100 +format_code_in_doc_comments = true format_strings = true group_imports = "StdExternalCrate" imports_granularity = "Crate"