mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-07-14 16:18:49 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d322c4e7d4 |
@@ -74,7 +74,6 @@ jobs:
|
|||||||
CARGO_INCREMENTAL=${{ env.BUILDKIT_ENDPOINT != '' && '1' || '0' }}
|
CARGO_INCREMENTAL=${{ env.BUILDKIT_ENDPOINT != '' && '1' || '0' }}
|
||||||
TARGET_CPU=
|
TARGET_CPU=
|
||||||
RUST_PROFILE=release
|
RUST_PROFILE=release
|
||||||
CARGO_FEATURES=default
|
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platform }}
|
||||||
labels: ${{ steps.prepare.outputs.metadata_labels }}
|
labels: ${{ steps.prepare.outputs.metadata_labels }}
|
||||||
annotations: ${{ steps.prepare.outputs.metadata_annotations }}
|
annotations: ${{ steps.prepare.outputs.metadata_annotations }}
|
||||||
@@ -162,7 +161,6 @@ jobs:
|
|||||||
CARGO_INCREMENTAL=${{ env.BUILDKIT_ENDPOINT != '' && '1' || '0' }}
|
CARGO_INCREMENTAL=${{ env.BUILDKIT_ENDPOINT != '' && '1' || '0' }}
|
||||||
TARGET_CPU=${{ matrix.target_cpu }}
|
TARGET_CPU=${{ matrix.target_cpu }}
|
||||||
RUST_PROFILE=release-max-perf
|
RUST_PROFILE=release-max-perf
|
||||||
CARGO_FEATURES=default,release_max_log_level
|
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platform }}
|
||||||
labels: ${{ steps.prepare.outputs.metadata_labels }}
|
labels: ${{ steps.prepare.outputs.metadata_labels }}
|
||||||
annotations: ${{ steps.prepare.outputs.metadata_annotations }}
|
annotations: ${{ steps.prepare.outputs.metadata_annotations }}
|
||||||
|
|||||||
@@ -36,16 +36,14 @@
|
|||||||
self'.packages.stable-toolchain
|
self'.packages.stable-toolchain
|
||||||
);
|
);
|
||||||
|
|
||||||
# extra features via `cargoExtraArgs`
|
|
||||||
cargoExtraArgs = "-F http3";
|
|
||||||
|
|
||||||
default = pkgs.callPackage ./continuwuity.nix {
|
default = pkgs.callPackage ./continuwuity.nix {
|
||||||
inherit self craneLib;
|
inherit self craneLib;
|
||||||
|
|
||||||
liburing = (if isStatic then pkgs.pkgsStatic else pkgs).liburing;
|
liburing = (if isStatic then pkgs.pkgsStatic else pkgs).liburing;
|
||||||
rocksdb = if isStatic then null else self'.packages.rocksdb;
|
rocksdb = if isStatic then null else self'.packages.rocksdb;
|
||||||
|
|
||||||
inherit cargoExtraArgs;
|
# extra features via `cargoExtraArgs`
|
||||||
|
cargoExtraArgs = "-F http3";
|
||||||
# extra RUSTFLAGS via `rustflags`
|
# extra RUSTFLAGS via `rustflags`
|
||||||
# the stuff below is required for http3
|
# the stuff below is required for http3
|
||||||
rustflags = "--cfg reqwest_unstable";
|
rustflags = "--cfg reqwest_unstable";
|
||||||
|
|||||||
+1
-1
@@ -42,12 +42,12 @@ assets = [
|
|||||||
[features]
|
[features]
|
||||||
default = [
|
default = [
|
||||||
"standard",
|
"standard",
|
||||||
|
"release_max_log_level",
|
||||||
"ring",
|
"ring",
|
||||||
"bindgen-runtime", # replace with bindgen-static on alpine
|
"bindgen-runtime", # replace with bindgen-static on alpine
|
||||||
]
|
]
|
||||||
standard = [
|
standard = [
|
||||||
"brotli_compression",
|
"brotli_compression",
|
||||||
"direct_tls",
|
|
||||||
"element_hacks",
|
"element_hacks",
|
||||||
"gzip_compression",
|
"gzip_compression",
|
||||||
"io_uring",
|
"io_uring",
|
||||||
|
|||||||
Reference in New Issue
Block a user