diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4f8fc24..558306c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -78,3 +78,18 @@ jobs: with: github_token: ${{ secrets.github_token }} locale: "US" + + cocogitto: + name: cocogitto + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} + + - name: "Conventional commit check" + uses: cocogitto/cocogitto-action@v3 + with: + check: true + check-latest-tag-only: true diff --git a/relay_client/Cargo.toml b/relay_client/Cargo.toml index c1bad1d..b3e6e6a 100644 --- a/relay_client/Cargo.toml +++ b/relay_client/Cargo.toml @@ -3,12 +3,16 @@ name = "relay_client" version = "0.1.0" edition = "2021" +[features] +default = ["tokio-tungstenite/native-tls"] +rustls = ["tokio-tungstenite/rustls-tls-native-roots"] + [dependencies] relay_rpc = { path = "../relay_rpc" } futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } thiserror = "1.0" tokio = { version = "1.22", features = ["rt", "time", "sync", "macros", "rt-multi-thread"] } -tokio-tungstenite = { version = "0.17", features = ["connect", "native-tls"] } +tokio-tungstenite = "0.18" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_qs = "0.10"