alpm.rs icon indicating copy to clipboard operation
alpm.rs copied to clipboard

Rust bindings for libalpm

Results 18 alpm.rs issues
Sort by recently updated
recently updated
newest added

This PR upstreams some local functionality I've had for a while, but it's better suited to live here than in Aura.

- Some getters should return Option #19 - FileList::contains has unneeded Result - Alpm should not be Send - Rename CommitResult::FileConflict -> CommitResult::Fileconflicts - Rework Commit/Prepare Result to be lazy?...

Currently it's a bit hard to figure out what changed between releases on crates.io. An easy thing to improve would be to add git tags per version published to crates.io,...

- Package::filename - Alpm::gpgdir - HookRunEvent::desc - PgpKey::name - PgpKey::email

The SPDX license identifier "GPL-3.0" has been deprecated since SPDX license list version 3.0, from December 2017, for being unclear if "GPL 3.0 only" or "GPL 3.0 or any later...

### Affected Version **alpm.rs 144ced6** on aarch64 **cargo 1.74.0** ### Description Building from source fails, resulting in the error provided below. ### Output ```sh error[E0308]: mismatched types --> alpm/src/cb.rs:244:60 |...

While trying to compile `paru` for `aarch64`, it seems compilation fails here: ``` error[E0308]: mismatched types --> /home/alarm/.cargo/git/checkouts/alpm.rs-a0070a235cf20bfa/306342e/alpm/src/cb.rs:244:60 | 244 | unsafe { alpm_option_set_logcb(self.as_ptr(), Some(cb), &*ctx as *const _ as...

Hi there. Between major versions 2 and 3, the `Alpm` type lost its `Send` implementation. This prevents it from being passed to other threads, even when wrapped in lock types...

I checked even with rust-analyzer not running: ```bash cargo new reproducer cd reproducer cargo add alpm --features=static cargo build cargo build ```