3f5a452133
Better cache locking semantics
2024-10-31 18:26:09 +03:00
510a48ecb3
Merge pull request 'dev' ( #1 ) from dev into altlinux
...
Reviewed-on: konevsa/apt-pkg-native#1
2024-10-25 15:07:01 +03:00
c8a0505ff7
Minor binding fix to work with nullptr
2024-10-25 14:51:16 +03:00
07f8a400f2
Adapted library for ALT's apt
2024-10-25 13:56:17 +03:00
72edc80e94
First approach (source_version function remains unimplemented for now)
2024-10-24 14:28:30 +03:00
9a359a5e63
fix(raw.rs): pkg_cache_find_name_arch function signature
...
Removed from the function signature the parameter (arch: *const c_char) for alt-linux cfg
2024-10-24 12:34:06 +03:00
c7c7159bb1
fix(raw.rs): pkg_cache_find_name_arch function signature
...
Removed from the function signature the parameter (arch: *const c_char)
2024-10-24 11:46:21 +03:00
35f831435f
Redisigned few functions
2024-10-23 19:00:24 +03:00
72f3c7e0bb
Fixed some declarations and marked some funcs as TODO
2024-10-23 14:15:22 +03:00
Alexander Burmatov
51f7abc311
New feature
2024-08-02 18:57:04 +03:00
Alexander Burmatov
8bc333f3aa
Add ALT Linux support
2024-07-11 02:46:07 +03:00
Alexander Burmatov
af18754224
cargo vendor
2024-07-06 02:39:39 +03:00
Chris West
81bc331357
chore: link to rust-apt
...
Closes #8 .
2022-09-26 14:44:59 +01:00
Chris West (Faux)
a027786828
chore: clippy: unused import
2020-10-30 00:32:40 +00:00
Chris West (Faux)
a60323705f
chore: cripple some examples on ye-old-apt
2020-10-30 00:27:29 +00:00
Chris West (Faux)
99fba9024a
fix: missing header(?)
...
This seems to be required on 20.04.
2020-10-30 00:27:12 +00:00
Chris West (Faux)
a5b8ede7ec
chore: format
2020-10-30 00:26:45 +00:00
Stefan Reiter
e073fe8081
bump version to 0.3.2
2020-10-30 00:11:07 +00:00
Stefan Reiter
edc7008762
add DepIterator to list dependencies of package versions
...
Mostly the same boilerplate as the other iterators, but with a special
SinglePkgView type introduced to allow direct access to the nested
PkgIterator returned from target_pkg.
2020-10-30 00:11:07 +00:00
Stefan Reiter
7b2d146e8d
expose 'sane' interface to external consumers
2020-10-30 00:11:07 +00:00
Stefan Reiter
07c92f003b
add package detail accessors
...
* short description
* long description
* maintainer
* homepage
Requires constructing a pkgRecords::Parser to read for some reason.
AFAICT this parser is bound to the pkgRecords instance and deleted
together with it, so it doesn't require an explicit delete/free.
2020-10-30 00:11:07 +00:00
Stefan Reiter
1018536523
add priority type accessor to VerView
2020-10-30 00:11:07 +00:00
Stefan Reiter
f28cd3e499
use correct raw type in PkgFileIterator
2020-10-30 00:11:07 +00:00
Chris West (Faux)
52213cdd72
chore: dev itertools -> 0.9
2020-08-20 21:12:39 +01:00
Chris West (Faux)
6d16f0987f
chore: bump travis
2019-12-29 21:37:25 +00:00
Chris West (Faux)
ecd60906d2
fix: extra headers required on newer apt
2019-12-29 21:36:49 +00:00
Chris West (Faux)
3d66d108b2
hack: work around https://github.com/rust-lang/rust/pull/57018
2019-04-13 23:08:48 +01:00
Chris West (Faux)
f8c52cba96
travis: bump to xenial
2019-04-13 13:35:26 +01:00
Chris West (Faux)
dac9411a56
edition = 2018
2019-01-21 22:22:47 +00:00
Chris West (Faux)
be7b547623
minor lie in the readme
2019-01-21 22:20:47 +00:00
Chris West (Faux)
7f180bc3ef
bump dev dependency / fmt
2018-12-17 19:04:09 +00:00
Chris West (Faux)
46ad5e2bb2
upgrade gcc crate to cc
2018-04-14 20:43:04 +01:00
Chris West (Faux)
2f2167c027
new rustfmt
2018-04-12 20:35:08 +01:00
Chris West (Faux)
1d2364d800
test environment for building on trusty in docker
2017-12-12 20:45:01 +00:00
Chris West (Faux)
46aa9ed07f
#2 : support building with very old apt
2017-12-12 20:44:28 +00:00
Chris West (Faux)
7a55e2678b
update lazy-static to 1
2017-12-10 15:20:21 +00:00
Chris West (Faux)
3b7065ed95
add a note about singleton breakage
2017-11-18 11:05:57 +00:00
Chris West (Faux)
c4e7590239
remove empty test
2017-11-17 09:54:20 +00:00
Chris West (Faux)
b104724ccf
add a reload() ( #1 )
2017-11-17 09:54:14 +00:00
Chris West (Faux)
45741e2de1
PhantomData cares about the MutexGuard, not the Cache
2017-11-17 09:41:11 +00:00
Chris West (Faux)
e6f0bd8b6b
comments / unwrap->expect
2017-11-17 09:31:24 +00:00
Chris West (Faux)
9ee8a3ca09
Cache actually carries around a mutex
...
This is way less insane than the old way, I think. And it seems to work.
2017-11-17 09:28:57 +00:00
Chris West (Faux)
e1cf0fa26c
new rustfmt
2017-11-17 09:03:38 +00:00
Chris West (Faux)
477038c074
less specific version declarations
2017-11-17 09:00:44 +00:00
Chris West (Faux)
6b2bd29fed
example of running on docker
2017-10-15 21:05:14 +01:00
Chris West (Faux)
370a764967
some extra iterator utilities
2017-10-15 15:44:24 +01:00
Chris West (Faux)
db3be1e3d2
thread safety note
2017-10-15 15:12:24 +01:00
Chris West (Faux)
0aa1d738c6
upgrade
2017-10-15 15:04:46 +01:00
Chris West (Faux)
8fd3d146e3
try and convince travis to run in fast mode
2017-09-13 08:33:02 +01:00
Chris West (Faux)
6bf783c67b
cargo upgrade + fix deprecation warning
2017-09-13 08:28:30 +01:00