diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d54643b0..a8f58746c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} needs: - clippy - #- msrv + - msrv - rustdoc - rustfmt - test @@ -70,7 +70,6 @@ jobs: msrv: name: MSRV - if: ${{ false }} # TODO: re-enable once fully refactored strategy: fail-fast: false matrix: diff --git a/Cargo.toml b/Cargo.toml index c64918896..41c1c1e4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,16 +11,22 @@ repository = "https://github.com/instrumentisto/medea-turn-rs" publish = false [dependencies] -async-trait = "0.1" +async-trait = "0.1.43" bytecodec = "0.4.15" bytes = "1.6" derive_more = { version = "1.0.0-beta.6", features = ["debug", "display", "error", "from"] } -futures = "0.3" +futures = "0.3.30" log = "0.4" rand = "0.8" -stun_codec = "0.3" +stun_codec = "0.3.5" tokio = { version = "1.32", default-features = false, features = ["io-util", "macros", "net", "rt-multi-thread", "time"] } -tokio-util = { version = "0.7", features = ["codec"] } +tokio-util = { version = "0.7.11", features = ["codec"] } + +# TODO: Try remove once `bytecodec` is updated to new major version. +# Not really used, for surviving `minimal-versions` check only. +byteorder1 = { version = "1.5", package = "byteorder", default-features = false } +trackable02 = { version = "0.2.24", package = "trackable", default-features = false } +trackable1 = { version = "1.3", package = "trackable", default-features = false } [dev-dependencies] tokio-test = "0.4" diff --git a/src/lib.rs b/src/lib.rs index 1453ff189..2a4c18e94 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -164,6 +164,14 @@ pub use self::{ server::{Config as ServerConfig, Server}, }; +// TODO: Try remove once `bytecodec` is updated to new major version. +/// Not really used, for surviving `minimal-versions` check only. +mod minimal_versions { + use byteorder1 as _; + use trackable02 as _; + use trackable1 as _; +} + /// Authentication handler. pub trait AuthHandler { /// Performs authentication of the specified user, returning its ICE