mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-05 06:41:46 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
546c2774f2 |
No files matched your search
@@ -69,7 +69,7 @@ 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
|
CARGO_FEATURES=default,http3
|
||||||
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 }}
|
||||||
@@ -154,7 +154,7 @@ 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
|
CARGO_FEATURES=default,http3,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 }}
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@ assets = [
|
|||||||
default = [
|
default = [
|
||||||
"standard",
|
"standard",
|
||||||
"jemalloc",
|
"jemalloc",
|
||||||
"ring",
|
"aws_lc_rs",
|
||||||
"bindgen-runtime", # replace with bindgen-static on alpine
|
"bindgen-runtime", # replace with bindgen-static on alpine
|
||||||
]
|
]
|
||||||
standard = [
|
standard = [
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ pub fn run_with_args(args: &Args) -> Result<()> {
|
|||||||
#[cfg(feature = "aws_lc_rs")]
|
#[cfg(feature = "aws_lc_rs")]
|
||||||
rustls::crypto::aws_lc_rs::default_provider()
|
rustls::crypto::aws_lc_rs::default_provider()
|
||||||
.install_default()
|
.install_default()
|
||||||
.expect("failed to initialise ring rustls crypto provider");
|
.expect("failed to initialise aws_lc_rs rustls crypto provider");
|
||||||
|
|
||||||
#[cfg(all(feature = "ring", not(feature = "aws_lc_rs")))]
|
#[cfg(all(feature = "ring", not(feature = "aws_lc_rs")))]
|
||||||
rustls::crypto::ring::default_provider()
|
rustls::crypto::ring::default_provider()
|
||||||
|
|||||||
@@ -149,4 +149,4 @@ ignored = ["reqwest_0_12"]
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
opentelemetry.workspace = true
|
opentelemetry.workspace = true
|
||||||
rustls = { workspace = true, features = ["ring"] }
|
rustls = { workspace = true, features = ["aws_lc_rs"] }
|
||||||
@@ -19,7 +19,7 @@ pub(crate) async fn test_services() -> TestServices { test_services_with(json!({
|
|||||||
|
|
||||||
pub(crate) async fn test_services_with(overrides: serde_json::Value) -> TestServices {
|
pub(crate) async fn test_services_with(overrides: serde_json::Value) -> TestServices {
|
||||||
let guard = DATABASE.lock().await;
|
let guard = DATABASE.lock().await;
|
||||||
let _ = rustls::crypto::ring::default_provider().install_default();
|
let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
|
||||||
let path = std::env::temp_dir()
|
let path = std::env::temp_dir()
|
||||||
.join(format!("continuwuity-shared-state-{:016x}", rand::random::<u64>()));
|
.join(format!("continuwuity-shared-state-{:016x}", rand::random::<u64>()));
|
||||||
std::fs::create_dir(&path).unwrap();
|
std::fs::create_dir(&path).unwrap();
|
||||||
|
|||||||
Reference in new issue
Block a user