Zhaofeng Li
938cb7634b
.cargo: Rename config to config.toml
...
Support added since 1.39.
2024-09-02 14:07:37 -04:00
Zhaofeng Li
f74cee0036
Merge pull request #165 from zhaofengli/flake-parts
...
Migrate to flake-parts
2024-08-30 14:08:15 -06:00
Zhaofeng Li
7f275f00d8
.github: Update bash on macOS runners
2024-08-30 12:33:28 -04:00
Zhaofeng Li
c5d84a475d
Migrate integration tests to flake-parts
...
Well, actually also to fix them.
2024-08-30 12:33:28 -04:00
Zhaofeng Li
a9cafe8298
.github: Factor unit tests out to justfile
2024-08-30 12:33:28 -04:00
Zhaofeng Li
eeb4275172
.github: Factor WebAssembly build out to justfile
2024-08-30 12:33:28 -04:00
Zhaofeng Li
6b1d4520f3
Migrate internalMatrix to flake-parts
2024-08-30 12:33:28 -04:00
Zhaofeng Li
0d9c1c826f
flake/devshells: Re-enable cargo-outdated
2024-08-30 12:33:28 -04:00
Zhaofeng Li
c6989fa54e
flake/devshells: Add Nix versions manifest
2024-08-30 12:33:28 -04:00
Zhaofeng Li
09038b7663
flake: Add attic.nix-versions
2024-08-30 12:33:28 -04:00
Zhaofeng Li
3ecea8d07f
Migrate NixOS modules to flake-parts
2024-08-30 12:33:28 -04:00
Zhaofeng Li
8dc0bdbf7f
Migrate overlays to flake-parts
2024-08-30 12:33:28 -04:00
Zhaofeng Li
11163ab253
Migrate packages to flake-parts
2024-08-30 12:33:28 -04:00
Zhaofeng Li
54f4854e9f
Start migration to flake-parts
2024-08-30 12:33:28 -04:00
Zhaofeng Li
fd6e3bdbef
Add CI-agnostic helper scripts
2024-08-30 12:33:28 -04:00
Zhaofeng Li
7712ed2c7f
flake: Bump unstable
2024-08-30 12:33:28 -04:00
Zhaofeng Li
fcb7c6067f
flake: Bump nixpkgs-stable to 24.05
2024-08-30 12:33:28 -04:00
Zhaofeng Li
c2354f6585
Merge pull request #164 from zhaofengli/devshell-fix-nix-include-path
...
flake.nix: Use default Nix headers in devShell
2024-08-24 17:31:02 -06:00
Zhaofeng Li
894e171388
Merge pull request #163 from zhaofengli/nix-base32-0.2.0
...
Update nix-base32 crate
2024-08-24 17:18:13 -06:00
Zhaofeng Li
e81151ed59
flake.nix: Use default Nix headers in devShell
2024-08-24 19:00:50 -04:00
Zhaofeng Li
b92e5ba4b5
attic: Update nix-base32 crate
2024-08-24 18:56:18 -04:00
Zhaofeng Li
b4eb905953
attic/Cargo.toml: Add missing tokio feature for crate-level build
2024-08-24 18:56:18 -04:00
Zhaofeng Li
0f9506ffba
Cargo.lock: Fix
2024-08-24 18:56:18 -04:00
Zhaofeng Li
6d9aeaef0a
Merge pull request #160 from zhaofengli/tokio-drift
...
Various cleanup and WebAssembly CI
2024-08-21 01:56:04 -06:00
Zhaofeng Li
bb4135c1e0
integration-tests: Fix deprecated alias
2024-08-19 14:49:56 -04:00
Zhaofeng Li
93cab5268d
.github/build: Add step to build certain crates in WebAssembly
2024-08-19 14:49:56 -04:00
Zhaofeng Li
c7b1f71954
attic: Activate unix tokio features for nix_store only
2024-08-19 14:49:56 -04:00
Zhaofeng Li
7401b14e71
flake.nix: Add WebAssembly tools
2024-08-19 14:49:56 -04:00
Zhaofeng Li
7050d8f292
rustfmt, clippy
2024-08-19 14:49:56 -04:00
Zhaofeng Li
49c565f792
Use tokio::test instead of tokio-test
2024-08-19 14:49:56 -04:00
Zhaofeng Li
a41e2d1724
attic: Add simple chunking benchmarks
2024-08-19 14:49:56 -04:00
Zhaofeng Li
deff31a850
Move chunking to attic crate
2024-08-19 14:49:56 -04:00
Zhaofeng Li
956d6915a5
attic: Split out stream feature
...
Right now it just depends on tokio, but the goal is to support
alternative async runtimes.
2024-08-19 14:49:56 -04:00
Zhaofeng Li
acf3c351f8
Merge pull request #159 from Mic92/nix-2.24
...
attic-client: fix build against Nix 2.24
2024-08-19 10:53:34 -06:00
Zhaofeng Li
38c42ae9ad
Run tests against different Nix versions
2024-08-19 12:21:30 -04:00
Zhaofeng Li
40c0bb406e
Fix build for Nix 2.20+
...
Perform version detection to keep supporting older versions
(and in the future, alternative implementations).
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2024-08-19 12:16:33 -04:00
Jörg Thalheim
aecca91fad
Build with Nix 2.24 in devShell
2024-08-19 12:16:33 -04:00
Zhaofeng Li
26b9417bde
Merge pull request #158 from zhaofengli/upsert-object-on-conflict
...
server: Upsert object row on conflict
2024-08-13 10:21:27 -04:00
Zhaofeng Li
443ceac40f
server: Upsert object row on conflict
...
Upsert instead of doing delete+insert or ignoring the specific error.
Fixes #132 .
2024-08-13 07:39:38 -06:00
Zhaofeng Li
e127acbf9a
Merge pull request #154 from cole-h/fixup-stream-error-logging
...
fixup: stream error logging
2024-07-31 20:41:06 -04:00
Cole Helbling
903fb4e39e
fixup: stream error logging
...
The call to `into_inner()` discards the wrapper type constructed by
`map_err()`. So instead, `map_err()` the actual stream, and call
`Body::from_stream` on the wrapped stream.
2024-07-26 10:21:52 -07:00
Zhaofeng Li
6139576a3c
Merge pull request #146 from zhaofengli/install-ci-hotfix
...
ci-installer: Remove drvPath from fake derivation
2024-07-09 12:27:54 -04:00
Zhaofeng Li
4168282329
.github: Use latest macOS runners
2024-07-09 12:26:18 -04:00
Zhaofeng Li
ee8f374737
Merge pull request #139 from NLincoln/sqlite-speedup
...
sqlite-specific performance tuning
2024-07-09 08:12:19 -04:00
Zhaofeng Li
71396b9518
ci-installer: Remove drvPath from fake derivation
...
Also hotfixes the current install-attic-ci.sh.
Fixes #145 .
Ref: f923ed6b6a
2024-07-09 07:56:03 -04:00
A cursed quail
759dbc9f7e
sqlite-specific performance tuning
2024-06-08 22:05:37 -05:00
Zhaofeng Li
717cc95983
Merge pull request #138 from zhaofengli/axum-0.7
...
Various bumps
2024-06-01 16:04:00 -06:00
Zhaofeng Li
14cb5f9e46
Trivial semver-incompatible upgrades
2024-06-01 13:47:27 -06:00
Zhaofeng Li
9a6b2cbf1d
server: Upgrade aws-sdk-rust
2024-06-01 13:47:27 -06:00
Zhaofeng Li
bc22e00a3b
server: Upgrade to Axum 0.7
2024-06-01 13:47:27 -06:00