Skip to content

Commit

Permalink
Enable minimal-versions and MSRV check on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jul 9, 2024
1 parent a66b29d commit e8b0310
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
needs:
- clippy
#- msrv
- msrv
- rustdoc
- rustfmt
- test
Expand Down Expand Up @@ -70,7 +70,6 @@ jobs:

msrv:
name: MSRV
if: ${{ false }} # TODO: re-enable once fully refactored
strategy:
fail-fast: false
matrix:
Expand Down
14 changes: 10 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 8 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8b0310

Please sign in to comment.