Skip to content

Commit dd8164b

Browse files
authored
Update project dependencies (#168)
I don't remember when was the last time that I did this. ## Notable things * First, traitobject has finally been upgraded to 0.1.1, this is going to remove the warning about "future compatibility" received every time Cartero is compiled. * In general, traitobject has to go, because it is a transitive dependency of formdata, which is a crate that has been officially archived. I have to look for alternatives to generate the multipart/form-data body of a request, and then remove formdata, because of the amount of transitive dependencies it introduces. * srtemplate changed the name of their error type from SrTemplateError to just Error. The code has been updated to use the new name. ## License check This PR also introduces `cargo deny` as a tool to inspect for issues with dependencies. In the meantime I only check the license compatibility. If at some point a dependency that is not compatible with GPL-3.0 is added, it will complain. This is important because Cartero is statically linked due to how Rust works.
1 parent ccf04b1 commit dd8164b

File tree

6 files changed

+226
-199
lines changed

6 files changed

+226
-199
lines changed

.github/workflows/check.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ jobs:
6060
run: xvfb-run meson devenv -C build cargo test --manifest-path=../Cargo.toml
6161
- name: cargo-clippy
6262
run: meson devenv -C build cargo clippy --manifest-path=../Cargo.toml
63+
- name: cargo-deny
64+
run: |
65+
cargo install --locked cargo-deny
66+
meson devenv -C build cargo deny --manifest-path=../Cargo.toml check licenses
6367
- name: glib-schema
6468
run: glib-compile-schemas --dry-run --strict data
6569
- name: glib-desktop

0 commit comments

Comments
 (0)