fix: Make push notifications optional for MIPS compatibility

- Add push-notifications feature flag (enabled by default)
- Make web-push and openssl optional dependencies
- Conditionally compile push notification code
- Disable push notifications for MIPS builds in CI
- Fixes AtomicU64 error on 32-bit MIPS architecture
- x86_64/ARM builds still have full push notification support
This commit is contained in:
spinline
2026-02-06 00:12:02 +03:00
parent b41c3a2ecf
commit 8cd4a998a8
5 changed files with 65 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ jobs:
CROSS_NO_WARNINGS: 0
run: |
cd backend
cross build --target mips-unknown-linux-musl --release -Z build-std=std,panic_abort
cross build --target mips-unknown-linux-musl --release --no-default-features -Z build-std=std,panic_abort
- name: Debug - List Files
run: |