mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-24 23:45:18 +00:00
- Implemented compact binary encoding for packets and messages - Reduced packet size significantly (13-byte fixed header + variable payload) - Optimized for BLE's limited MTU with smaller message sizes - Added BinaryProtocol.swift with encode/decode functions - Updated all message types to use binary serialization - Maintains all existing functionality with better performance
23 lines
399 B
Swift
23 lines
399 B
Swift
// swift-tools-version: 5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "bitchat",
|
|
platforms: [
|
|
.iOS(.v16),
|
|
.macOS(.v13)
|
|
],
|
|
products: [
|
|
.executable(
|
|
name: "bitchat",
|
|
targets: ["bitchat"]
|
|
),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "bitchat",
|
|
path: "bitchat"
|
|
),
|
|
]
|
|
) |