Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cargo cache
uses: actions/cache@v1
uses: actions/cache@v5
with:
path: ~/.cargo
key: cargo-${{ matrix.rust }}
Expand All @@ -31,6 +31,10 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true

- name: Downgrade libloading
if: ${{ matrix.rust == '1.56.0' }}
run: cargo update -p libloading --precise 0.8.7

- name: Test link
uses: actions-rs/cargo@v1
with:
Expand Down
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dlib"
version = "0.5.2"
version = "0.5.3"
repository = "https://github.com/elinorbgr/dlib"
authors = ["Elinor Berger <elinor@safaradeg.net>"]
license = "MIT"
Expand All @@ -10,6 +10,12 @@ readme = "README.md"
keywords = ["dylib", "dlopen"]
categories = ["api-bindings"]
edition = "2021"
rust-version = "1.56"

[dependencies]
libloading = ">=0.7, <0.9"

[workspace]
members = [
"dlib-test",
]
5 changes: 3 additions & 2 deletions dlib-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "dlib-test"
version = "0.1.0"
authors = ["Victor Berger <victor.berger@m4x.org>"]
edition = "2018"
authors = ["Elinor Berger <elinor@safaradeg.net>"]
edition = "2021"
publish = false
rust-version = "1.56"

[dependencies]
dlib = { path = "../" }
Expand Down
1 change: 0 additions & 1 deletion dlib-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ mod tests {
let angle = 1.8;
let cosinus = unsafe { ffi_dispatch!(M_STATIC, cos, angle) };
assert_eq!(cosinus, angle.cos());

}

#[cfg(feature = "sin")]
Expand Down
Loading