Skip to content

Commit

Permalink
Use rustls-tls instead of OpenSSL (#62)
Browse files Browse the repository at this point in the history
* Use `rustls-tls` instead of `OpenSSL`

* Bump MSRV to `1.63.0`, format `ci.yml`

* Bump MSRV to `1.65.0`

* Remove `openssl` completely
  • Loading branch information
DervexDev committed May 5, 2024
1 parent 52c4fe3 commit cc0ed2b
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 147 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: CI
on:
push:
branches:
- main
- main

pull_request:
branches:
- main
- main

jobs:
build:
Expand All @@ -17,40 +17,40 @@ jobs:
strategy:
fail-fast: false
matrix:
rust_version: [stable, 1.60.0]
rust_version: [stable, 1.65.0]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
override: true
profile: minimal
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
override: true
profile: minimal

- name: Build
run: cargo build --locked --verbose
- name: Build
run: cargo build --locked --verbose

- name: Test
run: cargo test --locked --verbose
- name: Test
run: cargo test --locked --verbose

lint:
name: Rustfmt and Clippy
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

- name: Rustfmt
run: cargo fmt -- --check
- name: Rustfmt
run: cargo fmt -- --check

- name: Clippy
run: cargo clippy
- name: Clippy
run: cargo clippy
194 changes: 73 additions & 121 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cc0ed2b

Please sign in to comment.