Skip to content

Commit 33ba638

Browse files
committed
Try using sys crates instead of libs on Ubuntu CI.
1 parent 4f8cfb0 commit 33ba638

File tree

7 files changed

+215
-14
lines changed

7 files changed

+215
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ jobs:
2525
sudo apt-get -y upgrade
2626
sudo apt-get install \
2727
pkg-config \
28-
libgnutls28-dev \
2928
libmsgpack-dev \
30-
libargon2-dev \
3129
libasio-dev \
32-
libfmt-dev \
33-
nettle-dev \
3430
ninja-build -y
3531
- name: Build
3632
run: cargo build --verbose

.github/workflows/clippy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Rust Clippy Check
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [ "main" ]
99
pull_request:
10-
branches: [ main ]
10+
branches: [ "main" ]
1111
workflow_dispatch:
1212

1313
jobs:

.github/workflows/rustfmt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Rust Format Check
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [ "main" ]
99
pull_request:
10-
branches: [ main ]
10+
branches: [ "main" ]
1111
workflow_dispatch:
1212

1313
jobs:

.github/workflows/vet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Cargo Vet Check
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [ "main" ]
99
pull_request:
10-
branches: [ main ]
10+
branches: [ "main" ]
1111
workflow_dispatch:
1212

1313
jobs:

Cargo.lock

Lines changed: 205 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ repository = "https://github.com/SentryPeer/opendht-sys.git"
1111
readme = "README.md"
1212

1313
[dependencies]
14+
argon2-sys = "0.1.0"
15+
gnutls-sys = "0.1.2"
16+
nettle-sys = "2.3.1"
1417
libc = "0.2.170"
1518

1619
[build-dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If we build via `cmake`, we need the following installed first (Debian or Ubuntu
2222
* `libgnutls28-dev` - yes, on crates.io
2323
* `libmsgpack-dev` - no
2424
* `libargon2-dev` - yes, on crates.io
25-
* `libasio-dev` - yes, on crates.io
25+
* `libasio-dev` - no
2626
* `libfmt-dev` - no, needed?
2727
* `nettle-dev` - yes, on crates.io
2828
* `ninja-build`

0 commit comments

Comments
 (0)