Joseph LaFreniere
aec142cd89
Use Nix to run cargo test
in CI
...
Using Nix ensures that known versions of all external
dependencies (e.g. `poppler`) are available when running the tests.
2023-04-23 21:22:56 -05:00
Joseph LaFreniere
89d57cf094
Run cargo update
2023-04-23 20:39:12 -05:00
Joseph LaFreniere
d2940e187d
Run cargo fmt
2023-04-23 20:38:19 -05:00
Joseph LaFreniere
0eddb2d67f
Require full references for pkgs.lib
...
Some of crane's documentation refers to `crane.lib.${system}` as just "`lib`",
so removing the import from our flake reduces opportunities for confusion.
2023-04-23 20:38:19 -05:00
Joseph LaFreniere
272b5add4a
Declare rga
package in Nix flake
2023-04-23 20:38:19 -05:00
Joseph LaFreniere
fc5ec4f01b
Follow latest nixpkgs and propagate inputs to pre-commit-hooks
2023-04-23 20:38:06 -05:00
Joseph LaFreniere
096ebc9b53
Include JSONC file when building via Nix
2023-04-23 19:11:26 -05:00
phiresky
5fa777605d
fix #157 (page numbers) and remove trailing empty page from pdf prefix
2023-02-19 00:54:39 +01:00
phiresky
4abed49dfc
bump version
2023-02-19 00:16:44 +01:00
phiresky
98ea929978
flexible
2023-02-19 00:07:26 +01:00
phiresky
523baf6db2
better custom adapter
2023-02-19 00:05:51 +01:00
phiresky
ddcfff9b4d
simplify sqlite adapter
2023-02-18 23:43:58 +01:00
phiresky
816e27802a
fix writing file adapter
2023-02-18 23:24:07 +01:00
phiresky
c089e44b59
cargo fix
2023-01-06 17:35:56 +05:30
phiresky
2795f96aed
add test for zip
2023-01-06 17:34:30 +05:30
phiresky
94a037fcca
fix zip reader kinda
2023-01-06 17:08:23 +05:30
phiresky
2b4caf067b
not working
2023-01-06 14:59:59 +05:30
phiresky
7984d5f784
Merge pull request #152 from lafrenierejm/feature/flake-buildinputs
...
Include cargo, nixfmt, rustc, and rustfmt in devShell
2023-01-01 02:21:31 +05:30
Joseph LaFreniere
84b2a2c3bb
Include cargo, nixfmt, rustc, and rustfmt in devShell
2022-12-31 13:59:04 -06:00
phiresky
8c47d6d9ba
adds test for fixes #106
2022-12-26 23:26:20 +01:00
phiresky
82b303bb3d
fix sqlite adapter
2022-12-26 22:55:38 +01:00
phiresky
f624a6a29a
partial zip adapter, cleanup
2022-12-26 21:51:22 +01:00
phiresky
b29e6dec0e
handle io error, add example config
2022-12-26 21:11:53 +01:00
phiresky
3b8e1230ed
fix lint
2022-12-26 19:30:58 +01:00
phiresky
96ebcdef27
simplify pagebreaks and add one space
2022-12-26 19:30:24 +01:00
phiresky
2d28651bcb
add tar test
2022-12-26 19:04:33 +01:00
phiresky
c4dbabaf10
reimplement tar adapter async
2022-12-26 18:58:17 +01:00
phiresky
9ce11656d1
readd decompress adapter
2022-12-25 20:00:47 +01:00
phiresky
8e84288a55
more lint fixes
2022-12-25 19:19:29 +01:00
phiresky
fff5b39470
cargo fmt
2022-12-25 19:07:50 +01:00
phiresky
ee034f695c
replace ci config
2022-12-25 19:05:11 +01:00
phiresky
960883b616
fix clippy lints
2022-12-25 18:56:11 +01:00
phiresky
0d70be4b74
cleanup warnings
2022-12-25 18:46:57 +01:00
phiresky
24e866a153
fix poppler test
2022-12-25 18:44:52 +01:00
phiresky
ddeceb0ce9
fix recursion and pdf adapter
2022-12-25 18:27:50 +01:00
phiresky
616c0a560b
fix tests
2022-12-25 18:06:50 +01:00
phiresky
2e1c74909e
remove one level of abstraction from spawning adapters
2022-12-25 18:05:58 +01:00
phiresky
3efc0a727c
use regex replace syntax for arg replacement
2022-12-25 17:45:53 +01:00
phiresky
6f3488682f
add page breaks adapter (wip)
2022-12-25 17:37:31 +01:00
phiresky
ea5d6c3367
Merge pull request #150 from lafrenierejm/feature/async-pagebreaks
...
Implement async `postproc_pagebreaks`
2022-12-25 17:11:51 +01:00
Joseph LaFreniere
4cac831a8f
Restore line_prefix
parameter to postproc_pagebreaks
2022-12-24 22:02:03 -06:00
Joseph LaFreniere
8f7f5a1ed4
fixup! Implement async postproc_pagebreaks
2022-12-24 16:06:20 -06:00
Joseph LaFreniere
15a85275ef
Pin postproc_prefix
's StreamReader
and add unit test
2022-12-24 15:44:13 -06:00
Joseph LaFreniere
1b97abfbca
fixup! Implement async postproc_pagebreaks
2022-12-24 15:41:16 -06:00
Joseph LaFreniere
d3803f892c
fixup! Implement async postproc_pagebreaks
2022-12-23 18:35:37 -06:00
Joseph LaFreniere
f19e173585
fixup! Implement async postproc_pagebreaks
2022-12-22 16:47:05 -06:00
Joseph LaFreniere
af168efe1a
Implement async postproc_pagebreaks
2022-12-22 15:15:33 -06:00
phiresky
0d75d5bcc2
Merge pull request #148 from lafrenierejm/nix-flake
...
Add Nix Flake and direnv configs and instructions
2022-12-21 13:49:20 +01:00
Joseph LaFreniere
454e47d2ac
Run cargo fmt
across repository
2022-12-08 22:08:24 -06:00
Joseph LaFreniere
78451d9ba0
Add Nix Flake and direnv configs and instructions
...
Nix Flake makes it easy to get a reproducible and self-contained development
environment.
2022-12-08 22:08:23 -06:00