Skip to content

Commit ecae181

Browse files
mickvandijkeclaude
andcommitted
refactor!: rename project from ant-quic to saorsa-transport
Full project rename: crate becomes saorsa_transport, binary becomes saorsa-transport, repository moves to github.com/saorsa-labs/saorsa-transport. All naming variants updated (ant-quic, ant_quic, ANT_QUIC, AntQuic). Protocol ID constants shortened to saorsa/ prefix to fit 16-byte ProtocolId array. Crypto domain-separation labels use full saorsa-transport name. CHANGELOG historical entries preserved as-is. Breaking: wire-incompatible with previous ant-quic versions (protocol IDs, crypto labels, transport parameters all changed). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0c9b38f commit ecae181

244 files changed

Lines changed: 1644 additions & 1382 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Windows-specific configuration to avoid PDB linker issues (LNK1318)
2-
# The PDB file generated for large binaries like ant-quic-test can exceed
2+
# The PDB file generated for large binaries like saorsa-transport-test can exceed
33
# Windows limits when building in release mode with MSVC
44

55
[target.x86_64-pc-windows-msvc]

.config/hakari.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
hakari-package = "ant-quic-workspace-hack"
1+
hakari-package = "saorsa-transport-workspace-hack"
22
dep-format-version = "4"
33
resolver = "2"
44
platforms = []

.githooks/pre-push

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ url="$2"
99
if [[ "$url" == *"quinn-rs/quinn"* ]] || [[ "$url" == *"github.com/quinn-rs"* ]]; then
1010
echo "❌ ERROR: Attempting to push to quinn-rs/quinn repository!"
1111
echo ""
12-
echo "ant-quic is NOT a fork of Quinn - it's an independent project."
12+
echo "saorsa-transport is NOT a fork of Quinn - it's an independent project."
1313
echo "This repository should never push to quinn-rs/quinn."
1414
echo ""
15-
echo "If you're trying to contribute to ant-quic, use:"
15+
echo "If you're trying to contribute to saorsa-transport, use:"
1616
echo " git push origin <branch-name>"
1717
echo ""
18-
echo "Repository: github.com/dirvine/ant-quic"
18+
echo "Repository: github.com/saorsa-labs/saorsa-transport"
1919
exit 1
2020
fi
2121

2222
# Check remote name
2323
if [[ "$remote" == "upstream" ]]; then
2424
echo "⚠️ WARNING: Pushing to 'upstream' remote."
25-
echo "ant-quic doesn't have an upstream - it's not a fork."
25+
echo "saorsa-transport doesn't have an upstream - it's not a fork."
2626
echo "Did you mean to push to 'origin'?"
2727
read -p "Continue anyway? (y/N): " -n 1 -r
2828
echo

.github/CI_ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
The ant-quic CI/CD pipeline is designed as a modular, extensible system that ensures code quality, security, and compatibility across multiple platforms.
5+
The saorsa-transport CI/CD pipeline is designed as a modular, extensible system that ensures code quality, security, and compatibility across multiple platforms.
66

77
## Pipeline Flow
88

.github/CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
# Contributing to ant-quic
1+
# Contributing to saorsa-transport
22

33
## ⚠️ IMPORTANT: Repository Independence
44

5-
**ant-quic is NOT a fork of Quinn - it's an independent project!**
5+
**saorsa-transport is NOT a fork of Quinn - it's an independent project!**
66

77
-**DO NOT** create PRs to quinn-rs/quinn
88
-**DO NOT** reference "upstream" Quinn repository
9-
-**DO** create PRs to github.com/dirvine/ant-quic
9+
-**DO** create PRs to github.com/saorsa-labs/saorsa-transport
1010
-**DO** treat this as a standalone project
1111

12-
Although GitHub may show this as a fork (legacy reason), ant-quic has diverged completely and is maintained independently.
12+
Although GitHub may show this as a fork (legacy reason), saorsa-transport has diverged completely and is maintained independently.
1313

1414
## How to Contribute
1515

16-
1. Fork the repository from https://github.com/dirvine/ant-quic
16+
1. Fork the repository from https://github.com/saorsa-labs/saorsa-transport
1717
2. Create a feature branch: `git checkout -b feature/your-feature`
1818
3. Make your changes and ensure tests pass: `cargo test`
1919
4. Run formatting and linting: `cargo fmt && cargo clippy`
2020
5. Push to YOUR fork: `git push origin feature/your-feature`
21-
6. Create a PR to `dirvine/ant-quic:master` (NOT to quinn-rs/quinn!)
21+
6. Create a PR to `saorsa-labs/saorsa-transport:master` (NOT to quinn-rs/quinn!)
2222

2323
## Development Setup
2424

2525
```bash
2626
# Clone YOUR fork
27-
git clone https://github.com/YOUR-USERNAME/ant-quic.git
28-
cd ant-quic
27+
git clone https://github.com/YOUR-USERNAME/saorsa-transport.git
28+
cd saorsa-transport
2929

3030
# Set up Git hooks to prevent accidental upstream pushes
3131
git config core.hooksPath .githooks
@@ -45,4 +45,4 @@ cargo test
4545

4646
## Questions?
4747

48-
Open an issue at https://github.com/dirvine/ant-quic/issues
48+
Open an issue at https://github.com/saorsa-labs/saorsa-transport/issues

.github/actions/cross-platform-test/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ runs:
4040
{
4141
"client": {
4242
"os": "${{ inputs.client-os }}",
43-
"binary": "ant-quic-${{ inputs.client-os }}"
43+
"binary": "saorsa-transport-${{ inputs.client-os }}"
4444
},
4545
"server": {
4646
"os": "${{ inputs.server-os }}",
47-
"binary": "ant-quic-${{ inputs.server-os }}"
47+
"binary": "saorsa-transport-${{ inputs.server-os }}"
4848
},
4949
"scenario": "${{ inputs.test-scenario }}",
5050
"timeout": ${{ inputs.timeout }}
@@ -59,8 +59,8 @@ runs:
5959
echo "Downloading binaries for testing..."
6060
6161
# Placeholder - would actually download from artifacts
62-
echo "Downloaded ant-quic-${{ inputs.client-os }}"
63-
echo "Downloaded ant-quic-${{ inputs.server-os }}"
62+
echo "Downloaded saorsa-transport-${{ inputs.client-os }}"
63+
echo "Downloaded saorsa-transport-${{ inputs.server-os }}"
6464
6565
- name: Run cross-platform test
6666
id: test

.github/actions/docker-nat-test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ runs:
6969
# Start test with timeout
7070
timeout ${{ inputs.test-duration }} \
7171
docker-compose -f ${{ inputs.docker-compose-file }} \
72-
exec -T bootstrap /usr/local/bin/ant-quic \
72+
exec -T bootstrap /usr/local/bin/saorsa-transport \
7373
--nat-test-mode \
7474
--nat-type ${{ inputs.nat-type }} \
7575
--client-count ${{ inputs.client-count }} \

.github/scripts/generate-dashboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def generate_dashboard_html(history: Dict[str, List[Tuple[str, float]]]) -> str:
5353
<head>
5454
<meta charset="UTF-8">
5555
<meta name="viewport" content="width=device-width, initial-scale=1.0">
56-
<title>ant-quic Performance Dashboard</title>
56+
<title>saorsa-transport Performance Dashboard</title>
5757
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
5858
<style>
5959
body {{
@@ -120,7 +120,7 @@ def generate_dashboard_html(history: Dict[str, List[Tuple[str, float]]]) -> str:
120120
</head>
121121
<body>
122122
<div class="container">
123-
<h1>🚀 ant-quic Performance Dashboard</h1>
123+
<h1>🚀 saorsa-transport Performance Dashboard</h1>
124124
<div class="updated">Last updated: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}</div>
125125
126126
<div class="summary">

.github/scripts/platform-test.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Platform-specific test runner for ant-quic
2+
# Platform-specific test runner for saorsa-transport
33
# Handles platform-specific test requirements and configurations
44

55
set -e
@@ -33,33 +33,33 @@ setup_platform_env() {
3333
fi
3434

3535
# Set Linux-specific test flags
36-
export ANT_QUIC_TEST_LINUX=1
36+
export SAORSA_TRANSPORT_TEST_LINUX=1
3737

3838
# Check for network namespaces support (for advanced NAT tests)
3939
if command -v ip &> /dev/null && [ "$EUID" -eq 0 ]; then
40-
export ANT_QUIC_TEST_NETNS=1
40+
export SAORSA_TRANSPORT_TEST_NETNS=1
4141
echo "Network namespace tests enabled"
4242
fi
4343
;;
4444

4545
darwin)
4646
echo "Setting up macOS environment..."
4747
# macOS-specific setup
48-
export ANT_QUIC_TEST_MACOS=1
48+
export SAORSA_TRANSPORT_TEST_MACOS=1
4949

5050
# Check for macOS version
5151
sw_vers
5252

5353
# Handle different architectures
5454
if [[ "$ARCH" == "arm64" ]]; then
5555
echo "Running on Apple Silicon"
56-
export ANT_QUIC_TEST_APPLE_SILICON=1
56+
export SAORSA_TRANSPORT_TEST_APPLE_SILICON=1
5757
fi
5858
;;
5959

6060
mingw*|msys*|cygwin*|windows*)
6161
echo "Setting up Windows environment..."
62-
export ANT_QUIC_TEST_WINDOWS=1
62+
export SAORSA_TRANSPORT_TEST_WINDOWS=1
6363

6464
# Windows-specific network setup
6565
echo "Windows Firewall status:"
@@ -239,11 +239,11 @@ generate_platform_report() {
239239
"performance": true
240240
},
241241
"environment": {
242-
"ANT_QUIC_TEST_LINUX": "${ANT_QUIC_TEST_LINUX:-0}",
243-
"ANT_QUIC_TEST_MACOS": "${ANT_QUIC_TEST_MACOS:-0}",
244-
"ANT_QUIC_TEST_WINDOWS": "${ANT_QUIC_TEST_WINDOWS:-0}",
245-
"ANT_QUIC_TEST_NETNS": "${ANT_QUIC_TEST_NETNS:-0}",
246-
"ANT_QUIC_TEST_APPLE_SILICON": "${ANT_QUIC_TEST_APPLE_SILICON:-0}"
242+
"SAORSA_TRANSPORT_TEST_LINUX": "${SAORSA_TRANSPORT_TEST_LINUX:-0}",
243+
"SAORSA_TRANSPORT_TEST_MACOS": "${SAORSA_TRANSPORT_TEST_MACOS:-0}",
244+
"SAORSA_TRANSPORT_TEST_WINDOWS": "${SAORSA_TRANSPORT_TEST_WINDOWS:-0}",
245+
"SAORSA_TRANSPORT_TEST_NETNS": "${SAORSA_TRANSPORT_TEST_NETNS:-0}",
246+
"SAORSA_TRANSPORT_TEST_APPLE_SILICON": "${SAORSA_TRANSPORT_TEST_APPLE_SILICON:-0}"
247247
}
248248
}
249249
EOF

.github/workflows/comprehensive-ci.yml.disabled

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@ jobs:
174174

175175
- name: Test release binary
176176
run: |
177-
./target/release/ant-quic --version
178-
./target/release/ant-quic --help
177+
./target/release/saorsa-transport --version
178+
./target/release/saorsa-transport --help
179179

180180
- name: Upload release binary
181181
uses: actions/upload-artifact@v4
182182
with:
183-
name: ant-quic-linux-x64
184-
path: target/release/ant-quic
183+
name: saorsa-transport-linux-x64
184+
path: target/release/saorsa-transport
185185
retention-days: 7
186186

187187
# Docker build
@@ -232,15 +232,15 @@ jobs:
232232
# Deploy
233233
ssh $DO_USER@$DO_HOST << 'ENDSSH'
234234
set -e
235-
cd ~/ant-quic || git clone https://github.com/dirvine/ant-quic ~/ant-quic
236-
cd ~/ant-quic
235+
cd ~/saorsa-transport || git clone https://github.com/saorsa-labs/saorsa-transport ~/saorsa-transport
236+
cd ~/saorsa-transport
237237
git fetch origin
238238
git checkout ${{ github.sha }}
239239
cargo build --release --features "pqc aws-lc-rs"
240240

241241
# Restart service if exists
242-
if systemctl is-active --quiet ant-quic; then
243-
sudo systemctl restart ant-quic
242+
if systemctl is-active --quiet saorsa-transport; then
243+
sudo systemctl restart saorsa-transport
244244
fi
245245
ENDSSH
246246

0 commit comments

Comments
 (0)