letify 3.0.5__tar.gz → 3.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {letify-3.0.5 → letify-3.0.7}/.github/workflows/letify-link.yml +2 -2
- {letify-3.0.5 → letify-3.0.7}/PKG-INFO +1 -1
- {letify-3.0.5 → letify-3.0.7}/docs/SPEC.md +22 -1
- {letify-3.0.5 → letify-3.0.7}/letify/__init__.py +1 -1
- {letify-3.0.5 → letify-3.0.7}/letify-core/Cargo.lock +25 -2
- {letify-3.0.5 → letify-3.0.7}/letify-core/Cargo.toml +1 -1
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify/Cargo.toml +3 -1
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify/README.md +1 -1
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/Cargo.toml +14 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/README.md +2 -0
- letify-3.0.7/letify-core/letify-link/src/driver.rs +1158 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/lib.rs +3 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/sidecar.rs +93 -658
- letify-3.0.7/letify-core/letify-link/src/signal.rs +592 -0
- letify-3.0.7/letify-core/letify-link/tests/driver.rs +117 -0
- letify-3.0.7/letify-core/letify-link/tests/signal.rs +509 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/startup.rs +68 -33
- {letify-3.0.5 → letify-3.0.7}/letify-ext/package-lock.json +2 -2
- {letify-3.0.5 → letify-3.0.7}/letify-ext/package.json +1 -1
- {letify-3.0.5 → letify-3.0.7}/pyproject.toml +1 -1
- {letify-3.0.5 → letify-3.0.7}/.github/workflows/ci.yml +0 -0
- {letify-3.0.5 → letify-3.0.7}/.github/workflows/docs.yml +0 -0
- {letify-3.0.5 → letify-3.0.7}/.github/workflows/publish-crates.yml +0 -0
- {letify-3.0.5 → letify-3.0.7}/.github/workflows/publish.yml +0 -0
- {letify-3.0.5 → letify-3.0.7}/.github/workflows/reserve-crates.yml +0 -0
- {letify-3.0.5 → letify-3.0.7}/.gitignore +0 -0
- {letify-3.0.5 → letify-3.0.7}/.researchtree +0 -0
- {letify-3.0.5 → letify-3.0.7}/CLAUDE.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/LICENSE +0 -0
- {letify-3.0.5 → letify-3.0.7}/PROJECT.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/README.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/COMPONENT.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/INTENT.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/NETWORK.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/ROADMAP-3.0.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/01-getting-started.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/02-providers.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/03-execution-modes.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/04-environments-and-data.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/05-concurrency.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/06-cost.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/07-troubleshooting.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/08-releasing.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/09-agent.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/README.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/01-/354/213/234/354/236/221/355/225/230/352/270/260.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/02-/355/224/204/353/241/234/353/260/224/354/235/264/353/215/224.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/03-/354/213/244/355/226/211-/353/260/251/354/213/235.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/04-/355/231/230/352/262/275/352/263/274-/353/215/260/354/235/264/355/204/260.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/05-/353/217/231/354/213/234-/354/213/244/355/226/211.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/06-/353/271/204/354/232/251.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/07-/353/254/270/354/240/234-/355/225/264/352/262/260.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/08-/353/246/264/353/246/254/354/212/244.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/09-/354/227/220/354/235/264/354/240/204/355/212/270.md" +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/guide/ko/README.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/locales/README_ko.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/docs/mkdocs.yml +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/README.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/.letify.example +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/00_smoke.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/01_sweep.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/02_resume.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/03_watch.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/README.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/README_ko.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/common.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/examples/nvfp4-lora/recipe.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/cli.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/config/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/config/inventory.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/config/login.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/config/schema.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/config/secrets.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/config/writer.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/cache.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/env.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/exit.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/function.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/instance.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/reduce.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/declare/replicas.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/errors.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/install.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/launcher.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/paths.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/protocol/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/protocol/codec.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/protocol/driver.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/protocol/handle.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/protocol/wire.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/protocol/worker.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/base.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/colab.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/colab_files.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/colab_keepalive.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/elice.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/kaggle.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/kaggle_adapter.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/local.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/modal.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/modal_adapter.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/naming.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/shell.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/tunnel.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/providers/usage.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/client.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/cuda.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/executor.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/frames.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/guard.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/tensor.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/trace.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/remoting/device/value.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/render.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/bootstrap.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/broker.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/channel.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/control.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/lease.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/pool.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/reattach.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/session.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/takeover.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/telemetry.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/runtime/workers.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/backends/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/backends/drive.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/backends/filesystem.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/backends/google_auth.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/backends/layout.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/backends/objects.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/cas.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/handoff.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/pathdata.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/sendorder.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/store/volume.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/stubs.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/tools.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/__init__.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/announce.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/link.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkagent.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkchannel.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkd.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkmailbox.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkpump.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkshim.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linksignal.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkupload.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/linkwebsocket.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/nat.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/pipeline.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/portmap.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/probe.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/rendezvous.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/sshopts.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/transport/strategies.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify/useragent.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/.gitignore +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/build.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify/LICENSE +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify/src/lib.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify/tests/link.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/LICENSE +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/examples/bench.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/examples/udp_rate.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/acceptor.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/bin/letify-link.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/config.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/error.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/frame.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/handshake.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/hysteresis.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/identity.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/keys.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/observe.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/paths.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/plan.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/policing.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/punch.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/record.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/relay.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/rendezvous.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/replay.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/session.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/stream.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/stun.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/tcp.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/trace.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/src/udp.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/acceptor.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/api.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/common/mod.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/diag_sim.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/fairness.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/gauge.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/handshake.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/hysteresis.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/keepalive.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/mobile.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/nat.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/paths.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/qad.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/rekey.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/relay.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/relay_pairing.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/rendezvous.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/reorder.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/replay.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/resume.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/revoke.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/session.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/sidecar.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/subflows.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/trace.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/udp.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/letify-link/tests/udp_bench.rs +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-core/rust-toolchain.toml +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/.vscodeignore +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/LICENSE +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/README.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/media/icon.svg +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/src/cli.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/src/extension.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/src/history.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/src/model.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/src/poll.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/src/render.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/test/cli.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/test/manifest.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/test/model.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/test/regressions.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-ext/tsconfig.json +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/README.md +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/cloudflare.config.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/package-lock.json +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/package.json +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/auth.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/ed25519.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/handler.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/index.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/limiter.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/mailbox.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/objects.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/protocol.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/src/storage.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/auth.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/ed25519.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/helpers.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/interop.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/limiter.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/mailbox.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/objects.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/setup.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/test/worker.test.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/tsconfig.json +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify-signal/vitest.config.ts +0 -0
- {letify-3.0.5 → letify-3.0.7}/letify_providers.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/scripts/publish-crates.sh +0 -0
- {letify-3.0.5 → letify-3.0.7}/scripts/sync-main.sh +0 -0
- {letify-3.0.5 → letify-3.0.7}/scripts/version.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/conftest.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/fake_kaggle_adapter.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/fake_modal_adapter.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_cli.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_cli_output.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_colab_keepalive.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_config.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_core.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_data.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_data_in_place.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_data_streaming.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_declare.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_device.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_device_compile.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_distributed.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_drive_handoff.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_drive_store.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_editor_sessions.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_elice.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_frames.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_install.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_kaggle.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_kaggle_cookie.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_kaggle_link.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_agent.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_channel.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_command_channel.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_exec.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_log.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_mailbox_close.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_opt_in.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_signal.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_ssh_stream.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_link_upload.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_linkd.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_network_guard.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_notebook.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_parallel_placement.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_paths.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_portmap.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_protocol.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_providers.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_punch_sockets.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_quic_removed.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_remoting.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_render.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_run_control.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_run_reattach.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_run_takeover.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_runtime.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_shell_workers.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_ship.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_store.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_strategies.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_stubs.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_suite_guards.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_tailcat_removed.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_transport.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_tunnel_agent_login.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_tunnel_setup.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_user_agent.py +0 -0
- {letify-3.0.5 → letify-3.0.7}/tests/test_version.py +0 -0
|
@@ -48,8 +48,8 @@ jobs:
|
|
|
48
48
|
run: cargo clippy -p letify-link --all-targets --all-features --locked -- -D warnings
|
|
49
49
|
- name: Build
|
|
50
50
|
run: cargo build -p letify-link --all-features --locked
|
|
51
|
-
- name: Test with the relay role
|
|
52
|
-
run: cargo test -p letify-link --features relay --locked
|
|
51
|
+
- name: Test with the relay role and the signalling client
|
|
52
|
+
run: cargo test -p letify-link --features relay,signal --locked
|
|
53
53
|
|
|
54
54
|
mobile-ios:
|
|
55
55
|
name: check (aarch64-apple-ios)
|
|
@@ -2051,7 +2051,7 @@ TCP carries the networks that pass a simultaneous open, and UDP carries those th
|
|
|
2051
2051
|
|
|
2052
2052
|
> The crate is a library an application links. It owns no runtime, and a node is the pieces the embedder holds.
|
|
2053
2053
|
|
|
2054
|
-
1. **Public surface.** The crate root re-exports what an application needs: `Identity`, `NodeId` and `PeerPolicy`; `Session`, `Stream` and `Config`; `Acceptor`; `PathManager` with `Candidate` and `PathKinds` (the return type of `PathManager::kinds`); and the modules `rendezvous`, `record`, `stun`, `observe`, `punch`, `policing`, `udp`, `tcp` and, with the Cargo feature `relay`, `relay`. The sidecar protocol is also public, as the module `sidecar`, so another embedder can reuse it. `Session::close_when_revoked` is part of the surface, see Session item 9.
|
|
2054
|
+
1. **Public surface.** The crate root re-exports what an application needs: `Identity`, `NodeId` and `PeerPolicy`; `Session`, `Stream` and `Config`; `Acceptor`; `PathManager` with `Candidate` and `PathKinds` (the return type of `PathManager::kinds`); and the modules `rendezvous`, `record`, `stun`, `observe`, `punch`, `driver`, `policing`, `udp`, `tcp` and, with the Cargo feature `relay`, `relay`. The sidecar protocol is also public, as the module `sidecar`, so another embedder can reuse it. `Session::close_when_revoked` is part of the surface, see Session item 9.
|
|
2055
2055
|
2. **No `Node` object.** A node is an `Identity`, an `Acceptor` for incoming transports, and a `PathManager` or a `Session::connect` for outgoing ones. The embedder owns them and decides their lifetime.
|
|
2056
2056
|
3. **The caller owns the runtime.** The crate never creates a tokio runtime and never blocks a thread. Every function is async, and the tasks that a session, a path manager or a relay start are spawned with `tokio::spawn`, so they run on the runtime that is current at the call. An embedder with its own runtime calls the crate from inside it (`handle.spawn`, or inside `handle.enter()`). An embedder with no runtime builds one and keeps it alive while it holds a session; the sidecar does so. A runtime that the crate creates for C callers belongs to the future `letify-link-ffi` crate.
|
|
2057
2057
|
4. **Start and stop.** Start is: load or generate the `Identity`, build the `Acceptor`, then accept transports or start a `PathManager`. Stop is: `Session::close` (it writes the queued frames first), drop the `PathManager` (it aborts its dialers), and last shut the runtime down. Dropping every handle of a session ends it. A relay stops when its `run` task is dropped.
|
|
@@ -2260,6 +2260,12 @@ The service is the auxiliary rendezvous of [Rendezvous trait](#link-rendezvous).
|
|
|
2260
2260
|
- **The receiving agent never executes a command that the line supplies.** The agent is the program on the address-less machine that listens on its mailbox. It accepts a config line only from a node in its own list of paired nodes. Of the config line it takes `version`, `wait_s` (clamped to 1 to 600) and `resume_s` (clamped to 1 to 3600) and nothing else: `binary`, `python`, `bootstrap`, `relay`, `worker_command`, `relay_command`, `allow` and `bind` are ignored if present, and a test pins it. The agent builds the shim configuration from its own configuration: the `letify-link` binary it was installed with, its own Python, the worker and relay programs of its own installed letify, `allow` set to the verified sender and `bind` set to its own. Of the lines after the config, it passes to the shim only `rendezvous`, `punch` and `handover`, with the node they name set to the verified sender, and answers `ping` itself; any other `op` is dropped. An attacker who holds the paired node's key can start a worker on the machine, which is what pairing grants, and no one else can start anything.
|
|
2261
2261
|
7. **No sources in the config line.** The 4 KiB cap leaves no room for `linkchannel.bootstrap_source` and `relay_program()`, and the agent must not run what it is sent. A signalled bootstrap therefore sends this config line and no more: `{"op":"config","version":"<letify version>","wait_s":<int>,"resume_s":<int>}`. `SignalBootstrap` reduces the config line `connect_over` writes to this one. The agent runs the worker and relay programs of its own installed letify. The `ready` line the agent forwards carries `version`, the agent's letify version. The two sides refuse to go on when the versions differ: the agent answers the config line with `{"event":"error","error":"letify version mismatch: client <a>, agent <b>"}`, and the local side turns a `ready` line whose `version` differs from its own into the same error. The reason reaches the user in the connect failure, as every infrastructure failure of [Sidecar interface](#link-sidecar) does.
|
|
2262
2262
|
8. **Failure.** A service that does not answer, answers with a code above, or whose mailbox the agent never reads fails the bootstrap with the reason: `the signalling service ...`, or `the agent <node> did not answer in <s> s`. `SignalBootstrap.start` sends three `ping` lines before the shim config. The first only warms the connections, because it pays the TCP and TLS set-up of the send and the poll connection once, and its time is discarded. The larger of the round trips of the other two becomes `rtt_s` and so the lead of the punch, as for `MailboxBootstrap`. A ping that is not answered in `ping_timeout_s` fails the bootstrap, the first one included. No mailbox failure falls back to another bootstrap: the account's own order of bootstraps decides, as the [Rendezvous trait](#link-rendezvous) says.
|
|
2263
|
+
9. **Rust client.** The `signal` feature of letify-link (`letify_link::signal`, forwarded by the letify crate as `signal`) adds `SignalRendezvous`, a [`Rendezvous`](#link-rendezvous) over this service, so an embedder needs no client of its own. `SignalRendezvous::new(base_url, identity)` takes the service URL (`DEFAULT_URL` is `https://letify.darkpyonix.dev`) and the node `Identity`, and `.user_agent(text)` sets the User-Agent, which defaults to `letify-link/<crate version>` (an embedder names itself, for example `ember/1.0`; the default library agents of an HTTP stack are blocked as item 1 says). It speaks HTTP/1.1 over rustls with the ring backend and the Mozilla trust roots of `webpki-roots`, on tokio, and reuses one idle connection between requests, retrying once on a new connection when a reused one fails before any reply byte. An unusable URL (not `http` or `https`, or with a path) fails the first request with `InvalidInput`. The feature adds `tokio-rustls`, `webpki-roots`, `sha2` and `base64` and nothing else to the build; the default build gains none of them.
|
|
2264
|
+
- **Endpoints.** `send(to, msg)` is `POST /send/<to>`, and `recv()` is a loop of `GET /recv/<own id>?after=<cursor>&wait=25`. It does not use `/ws`: a WebSocket needs a framing and handshake implementation that no crate in the lock provides, and an embedder that waits all day on a mailbox is not the case that item 1 reserves `/ws` for.
|
|
2265
|
+
- **Signing.** Each request carries the four headers of item 2. The signature covers `letify-signal v1\n<METHOD>\n<path and query as sent>\n<time>\n<nonce>\n<sha256 hex of the body>`, byte for byte as the Python client signs it, and the nonce is 16 random bytes as 32 lowercase hex.
|
|
2266
|
+
- **Messages.** A `Rendezvous` message is the body as it is, with no envelope: the `from` the service stamps is the sender, which the trait reports as the `NodeId`. A message over `MAX_MESSAGE` (4096 bytes) fails `send` with `InvalidInput` before any request.
|
|
2267
|
+
- **Cursor and duplicates.** The client keeps the highest `seq` it has returned. Its next `recv` request sends that as `after`, which also acknowledges everything up to it, and a message with a `seq` at or below it is dropped. Messages of one reply are returned one by one in `seq` order. A reply whose `from` is not a valid node id is skipped.
|
|
2268
|
+
- **Errors.** A status of 400 or above fails with `io::Error` whose text is `the signalling service refused the request: <code> (HTTP <status>)`, with `, retry in <s> s)` when the reply carries `Retry-After` (kind `WouldBlock` for 429, `InvalidData` for 413, `PermissionDenied` for 401 and 403, `Other` otherwise). A connection, TLS or timeout failure fails with `the signalling service did not answer: <reason>`. `recv` does not retry on its own; the caller decides, as the trait leaves it.
|
|
2263
2269
|
|
|
2264
2270
|
#### Agent and pairing <!-- id: link-agent -->
|
|
2265
2271
|
|
|
@@ -2340,6 +2346,21 @@ The session resumption of Session item 5 also serves a client whose process was
|
|
|
2340
2346
|
|
|
2341
2347
|
The library does not assume a topology. A star of one server and about 10 nodes and clients per account, with long-lived connections and many streams, is the intended case for Ember. It requires only the Rendezvous trait, node ids and the relay role of [Relay](#link-relay), and letify does not depend on it.
|
|
2342
2348
|
|
|
2349
|
+
#### Punch driver <!-- id: link-punch-driver -->
|
|
2350
|
+
|
|
2351
|
+
> One public call runs a whole hole punch over a `Rendezvous` and returns an established `Session`; the sidecar's `punch` operation is built on the same driver.
|
|
2352
|
+
|
|
2353
|
+
The driver is the module `letify_link::driver`. An embedder that supplies its own `Rendezvous` calls it and does not reimplement the offer, answer and timing of [NAT traversal](#link-nat).
|
|
2354
|
+
|
|
2355
|
+
1. **Entry points.** `driver::punch_session(rdv, peer, endpoint, &options)` runs the punch and returns `PunchedSession { session, info }`. `driver::punch(rdv, peer, role, &options)` stops after the sockets are punched and returns `Punched`, for a caller that wants the paths and not a session. `rdv` is `&R` for any `R: Rendezvous`; `Rendezvous` is not object safe, so the driver is generic over it. `peer` is the other side's `NodeId`.
|
|
2356
|
+
2. **Roles.** `Endpoint::Initiator { identity: &Identity, config: Config }` offers, then dials: it vets every punched path, connects the session over the first usable path with `Session::connect` and adds the others with `Session::add_subflow`. `Endpoint::Responder { acceptor: Arc<Acceptor> }` waits for the offer, answers, and hands every punched path to the acceptor, which makes the session and adds further paths as subflows. `Role` is `Initiator` or `Responder`, for `punch`. The initiator's `Config` and the responder's `Acceptor` carry the identity policy; the driver adds none.
|
|
2357
|
+
3. **Options.** `PunchOptions` has the same fields and defaults as the sidecar `punch` request: `tcp_sockets` (4, at most 8), `udp_sockets` (0, at most 8), `public_ip` (`127.0.0.1`, the mapping of every socket when `observers` is `None`), `observers` (`None`, or the resolved address observers of NAT traversal item 1), `police` (`None`, or `Policing { floor_bps, burst }` with burst 500 ms), `lead` (2 s), `window` (20 s) and `answer_margin` (`None`, responder only, see Offers). `tcp_sockets + udp_sockets` of 0 is a `Usage` error. The driver binds `0.0.0.0` with ephemeral ports and holds them until the punch ends.
|
|
2358
|
+
4. **Relay.** The driver never falls back to a relay or to local execution. A failed punch returns the error of item 6, and the embedder decides whether to dial a relay with `relay::RelayDialer` and `PathManager`.
|
|
2359
|
+
5. **Paths.** `Punched::vet(prefix)` (initiator) checks every path with the policing check when `police` is set and returns `Vetting { usable, policed, failed }` with the paths named `<prefix>-<i>` for TCP and `<prefix>-u` for UDP. `Punched::accept_with(handler)` (responder) serves the policing check on each path when the offer asked for it, then calls `handler(PunchedPath)` for it in its own task, and returns how many paths were punched. `PunchedPath` is `Tcp(TcpStream)` or `Udp(UdpPath)` and is a `Transport`. `punch_session` is these calls followed by the session step of item 2.
|
|
2360
|
+
6. **Errors.** `PunchError` has a kind (`Usage` or `Infrastructure`) and a message. A failure after this side's NAT was classified carries the one-line report of NAT traversal item 8 appended to its message after `; `, and `PunchError::report()` returns the report alone, with `nat`, `peer_nat` and `nat_error` as in that item. Display prints the message with the report. The initiator's report ends with `; udp: did not open: <reason>` under the conditions of item 8, and `PunchedSession::info.report` holds it. When every vetted path is dropped, the error says how many were policed and how many failed their check, and carries the report.
|
|
2361
|
+
7. **Timing and cancellation.** The initiator waits `lead + window` for its answers. The responder waits `lead + window + 60 s` for the offer, and `window` after the punch for the first session. Dropping the returned future cancels the punch, closes the sockets and aborts the tasks it started. The driver never blocks a thread and never creates a runtime.
|
|
2362
|
+
8. **One implementation.** The sidecar `punch` operation parses its request into `PunchOptions`, calls `driver::punch` with its `ControlRendezvous`, then names, vets or accepts the paths with item 5 and builds its reply. Its reply fields, the `path_policed` event and the report line are those of [Sidecar interface](#link-sidecar) and NAT traversal item 8, unchanged.
|
|
2363
|
+
|
|
2343
2364
|
#### Sidecar interface <!-- id: link-sidecar -->
|
|
2344
2365
|
|
|
2345
2366
|
> Python starts one executable per node and talks to it over local sockets. No Python extension is linked.
|
|
@@ -396,15 +396,16 @@ dependencies = [
|
|
|
396
396
|
|
|
397
397
|
[[package]]
|
|
398
398
|
name = "letify"
|
|
399
|
-
version = "3.0.
|
|
399
|
+
version = "3.0.7"
|
|
400
400
|
dependencies = [
|
|
401
401
|
"letify-link",
|
|
402
402
|
]
|
|
403
403
|
|
|
404
404
|
[[package]]
|
|
405
405
|
name = "letify-link"
|
|
406
|
-
version = "3.0.
|
|
406
|
+
version = "3.0.7"
|
|
407
407
|
dependencies = [
|
|
408
|
+
"base64",
|
|
408
409
|
"ed25519-dalek",
|
|
409
410
|
"getrandom 0.2.17",
|
|
410
411
|
"libc",
|
|
@@ -412,9 +413,12 @@ dependencies = [
|
|
|
412
413
|
"rcgen",
|
|
413
414
|
"rustls",
|
|
414
415
|
"serde_json",
|
|
416
|
+
"sha2",
|
|
415
417
|
"snow",
|
|
416
418
|
"socket2 0.5.10",
|
|
417
419
|
"tokio",
|
|
420
|
+
"tokio-rustls",
|
|
421
|
+
"webpki-roots",
|
|
418
422
|
]
|
|
419
423
|
|
|
420
424
|
[[package]]
|
|
@@ -1008,6 +1012,16 @@ dependencies = [
|
|
|
1008
1012
|
"syn 3.0.6",
|
|
1009
1013
|
]
|
|
1010
1014
|
|
|
1015
|
+
[[package]]
|
|
1016
|
+
name = "tokio-rustls"
|
|
1017
|
+
version = "0.26.6"
|
|
1018
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1019
|
+
checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db"
|
|
1020
|
+
dependencies = [
|
|
1021
|
+
"rustls",
|
|
1022
|
+
"tokio",
|
|
1023
|
+
]
|
|
1024
|
+
|
|
1011
1025
|
[[package]]
|
|
1012
1026
|
name = "tracing"
|
|
1013
1027
|
version = "0.1.44"
|
|
@@ -1122,6 +1136,15 @@ dependencies = [
|
|
|
1122
1136
|
"wasm-bindgen",
|
|
1123
1137
|
]
|
|
1124
1138
|
|
|
1139
|
+
[[package]]
|
|
1140
|
+
name = "webpki-roots"
|
|
1141
|
+
version = "1.0.12"
|
|
1142
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1143
|
+
checksum = "7265c9301c16a8711c992c2d8da90ee77ef54b1ed51482d6dfeb00dc756b1297"
|
|
1144
|
+
dependencies = [
|
|
1145
|
+
"rustls-pki-types",
|
|
1146
|
+
]
|
|
1147
|
+
|
|
1125
1148
|
[[package]]
|
|
1126
1149
|
name = "windows-link"
|
|
1127
1150
|
version = "0.2.1"
|
|
@@ -14,8 +14,10 @@ categories = ["development-tools", "network-programming"]
|
|
|
14
14
|
[dependencies]
|
|
15
15
|
# The pin keeps a published letify on the letify-link of its own release. scripts/version.py
|
|
16
16
|
# rewrites it with the version.
|
|
17
|
-
letify-link = { version = "=3.0.
|
|
17
|
+
letify-link = { version = "=3.0.7", path = "../letify-link" }
|
|
18
18
|
|
|
19
19
|
[features]
|
|
20
20
|
# Enable the relay role of letify-link.
|
|
21
21
|
relay = ["letify-link/relay"]
|
|
22
|
+
# Enable letify_link::signal, the Rendezvous over the signalling service.
|
|
23
|
+
signal = ["letify-link/signal"]
|
|
@@ -12,7 +12,7 @@ Source, documentation and issues are at <https://github.com/DarkPyonix/letify>.
|
|
|
12
12
|
|
|
13
13
|
## This crate
|
|
14
14
|
|
|
15
|
-
This crate is the Rust face of the project. It re-exports the letify components that are meant for use outside letify. The first is the connection library [`letify-link`](https://crates.io/crates/letify-link), which provides NAT traversal and multipath links, as the module `letify::link`. The Cargo feature `relay` enables the relay role of `letify-link
|
|
15
|
+
This crate is the Rust face of the project. It re-exports the letify components that are meant for use outside letify. The first is the connection library [`letify-link`](https://crates.io/crates/letify-link), which provides NAT traversal and multipath links, as the module `letify::link`. The Cargo feature `relay` enables the relay role of `letify-link`, and the feature `signal` enables `letify::link::signal`, the `Rendezvous` over the signalling service. The crate also exports `VERSION`. Its version follows the Python package: crate `letify` 2.8.6 is released together with PyPI `letify` 2.8.6.
|
|
16
16
|
|
|
17
17
|
## License
|
|
18
18
|
|
|
@@ -26,6 +26,13 @@ quinn = { version = "0.11", default-features = false, features = ["runtime-tokio
|
|
|
26
26
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
|
|
27
27
|
rcgen = "0.13"
|
|
28
28
|
serde_json = "1.0.154"
|
|
29
|
+
# The signal feature. rustls is the dependency above, with the ring backend. webpki-roots
|
|
30
|
+
# carries the Mozilla trust roots as data, so the client verifies the service the same way on
|
|
31
|
+
# Linux, macOS, Windows, iOS and Android without a platform verifier.
|
|
32
|
+
tokio-rustls = { version = "0.26", default-features = false, features = ["ring"], optional = true }
|
|
33
|
+
webpki-roots = { version = "1", optional = true }
|
|
34
|
+
sha2 = { version = "0.10", optional = true }
|
|
35
|
+
base64 = { version = "0.22", optional = true }
|
|
29
36
|
|
|
30
37
|
[target.'cfg(unix)'.dependencies]
|
|
31
38
|
# geteuid, to check who owns a key file.
|
|
@@ -35,6 +42,13 @@ libc = "0.2"
|
|
|
35
42
|
# The relay role: a node that forwards session ciphertext between two authenticated nodes, and
|
|
36
43
|
# the dialer that reaches a peer through one. The sidecar is built with it.
|
|
37
44
|
relay = ["tokio/rt-multi-thread"]
|
|
45
|
+
# SignalRendezvous: the Rendezvous trait over the signalling service, for an embedder that
|
|
46
|
+
# wants the owner's Worker without writing a client. It adds tokio-rustls, webpki-roots, sha2
|
|
47
|
+
# and base64 to the build, and nothing when the feature is off.
|
|
48
|
+
signal = ["dep:tokio-rustls", "dep:webpki-roots", "dep:sha2", "dep:base64"]
|
|
38
49
|
|
|
39
50
|
[dev-dependencies]
|
|
51
|
+
# The signal test verifies requests the way the Worker does.
|
|
52
|
+
sha2 = "0.10"
|
|
53
|
+
base64 = "0.22"
|
|
40
54
|
tokio = { version = "1", features = ["full", "test-util"] }
|
|
@@ -9,6 +9,8 @@ letify-link is the connection layer of [letify](https://github.com/DarkPyonix/le
|
|
|
9
9
|
|
|
10
10
|
The crate has a Cargo feature `relay`, which adds a node that forwards session ciphertext between two authenticated nodes.
|
|
11
11
|
|
|
12
|
+
The feature `signal` adds `signal::SignalRendezvous`, a `Rendezvous` over the owner's signalling service at `https://letify.darkpyonix.dev`: `SignalRendezvous::new(url, identity).user_agent("my-app/1.0")`. It adds `tokio-rustls`, `webpki-roots`, `sha2` and `base64`.
|
|
13
|
+
|
|
12
14
|
```sh
|
|
13
15
|
cargo add letify-link
|
|
14
16
|
```
|