tcp-sansio 0.1.0__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.
@@ -0,0 +1,2 @@
1
+ * text=auto eol=lf
2
+ *.bat text eol=crlf
@@ -0,0 +1,33 @@
1
+ name: Bug report
2
+ description: Something does not work as documented.
3
+ labels: [bug]
4
+ body:
5
+ - type: textarea
6
+ id: description
7
+ attributes:
8
+ label: What happened?
9
+ description: What you expected and what happened instead.
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ id: reproduction
14
+ attributes:
15
+ label: How to reproduce
16
+ description: A minimal script, ideally using two in-memory stacks like `examples/loopback.py`.
17
+ render: python
18
+ validations:
19
+ required: true
20
+ - type: input
21
+ id: version
22
+ attributes:
23
+ label: tcp-sansio version
24
+ placeholder: "0.1.0"
25
+ validations:
26
+ required: true
27
+ - type: input
28
+ id: environment
29
+ attributes:
30
+ label: Python version and operating system
31
+ placeholder: "CPython 3.13 on Windows 11"
32
+ validations:
33
+ required: true
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: true
2
+ contact_links:
3
+ - name: Report a security vulnerability
4
+ url: https://github.com/AngeloHH/tcp-sansio/security/advisories/new
5
+ about: Please report security problems privately.
@@ -0,0 +1,16 @@
1
+ name: Feature request
2
+ description: Suggest a new capability or an API improvement.
3
+ labels: [enhancement]
4
+ body:
5
+ - type: textarea
6
+ id: problem
7
+ attributes:
8
+ label: What are you trying to do?
9
+ description: The use case, and what makes it hard with the current API.
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ id: proposal
14
+ attributes:
15
+ label: Proposed solution
16
+ description: How the API could look. Alternatives you considered are welcome too.
@@ -0,0 +1,17 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ groups:
8
+ actions:
9
+ patterns: ["*"]
10
+
11
+ - package-ecosystem: cargo
12
+ directory: /
13
+ schedule:
14
+ interval: weekly
15
+ groups:
16
+ cargo:
17
+ patterns: ["*"]
@@ -0,0 +1,9 @@
1
+ ## Summary
2
+
3
+ <!-- What does this change and why? Link related issues. -->
4
+
5
+ ## Checklist
6
+
7
+ - [ ] Tests cover the change
8
+ - [ ] `cargo fmt`, `cargo clippy --all-targets -- -D warnings` and `python -m pytest` pass
9
+ - [ ] `CHANGELOG.md` describes user-visible changes
@@ -0,0 +1,50 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ workflow_dispatch:
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ concurrency:
13
+ group: ci-${{ github.ref }}
14
+ cancel-in-progress: true
15
+
16
+ jobs:
17
+ lint:
18
+ name: Rust lint
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v7
22
+ - uses: actions/setup-python@v7
23
+ with:
24
+ python-version: "3.13"
25
+ - uses: dtolnay/rust-toolchain@stable
26
+ with:
27
+ components: rustfmt, clippy
28
+ - run: cargo fmt --check
29
+ - run: cargo clippy --all-targets -- -D warnings
30
+
31
+ test:
32
+ name: Test (${{ matrix.os }}, Python ${{ matrix.python }})
33
+ runs-on: ${{ matrix.os }}
34
+ strategy:
35
+ fail-fast: false
36
+ matrix:
37
+ os: [ubuntu-latest, windows-latest, macos-latest]
38
+ python: ["3.10", "3.14"]
39
+ steps:
40
+ - uses: actions/checkout@v7
41
+ - uses: actions/setup-python@v7
42
+ with:
43
+ python-version: ${{ matrix.python }}
44
+ - uses: dtolnay/rust-toolchain@stable
45
+ - name: Build and install
46
+ run: python -m pip install ".[test]"
47
+ - name: Run tests
48
+ run: python -m pytest -v
49
+ - name: Run example
50
+ run: python examples/loopback.py
@@ -0,0 +1,158 @@
1
+ name: Release
2
+
3
+ # Publishing a GitHub release builds every wheel and the sdist, then uploads
4
+ # them to PyPI with Trusted Publishing. Running the workflow by hand only builds
5
+ # and tests the distributions, which is useful before tagging a release.
6
+ on:
7
+ release:
8
+ types: [published]
9
+ workflow_dispatch:
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ jobs:
15
+ linux:
16
+ name: Linux ${{ matrix.target }} (${{ matrix.libc }})
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ include:
22
+ - { target: x86_64, libc: manylinux, manylinux: auto, test: true }
23
+ - { target: aarch64, libc: manylinux, manylinux: auto, test: false }
24
+ - { target: armv7, libc: manylinux, manylinux: auto, test: false }
25
+ - { target: x86_64, libc: musllinux, manylinux: musllinux_1_2, test: false }
26
+ - { target: aarch64, libc: musllinux, manylinux: musllinux_1_2, test: false }
27
+ steps:
28
+ - uses: actions/checkout@v7
29
+ - uses: actions/setup-python@v7
30
+ with:
31
+ python-version: "3.10"
32
+ - name: Build wheel
33
+ uses: PyO3/maturin-action@v1
34
+ with:
35
+ target: ${{ matrix.target }}
36
+ manylinux: ${{ matrix.manylinux }}
37
+ args: --release --out dist
38
+ - name: Test wheel
39
+ if: ${{ matrix.test }}
40
+ run: |
41
+ python -m pip install pytest
42
+ python -m pip install --no-index --find-links dist tcp-sansio
43
+ python -m pytest -v
44
+ - uses: actions/upload-artifact@v7
45
+ with:
46
+ name: wheels-linux-${{ matrix.libc }}-${{ matrix.target }}
47
+ path: dist
48
+
49
+ windows:
50
+ name: Windows ${{ matrix.target }}
51
+ runs-on: ${{ matrix.runner }}
52
+ strategy:
53
+ fail-fast: false
54
+ matrix:
55
+ include:
56
+ - { runner: windows-latest, target: x64, python_arch: x64 }
57
+ - { runner: windows-11-arm, target: aarch64, python_arch: arm64 }
58
+ steps:
59
+ - uses: actions/checkout@v7
60
+ - uses: actions/setup-python@v7
61
+ with:
62
+ python-version: "3.13"
63
+ architecture: ${{ matrix.python_arch }}
64
+ - name: Build wheel
65
+ uses: PyO3/maturin-action@v1
66
+ with:
67
+ target: ${{ matrix.target }}
68
+ args: --release --out dist
69
+ - name: Test wheel
70
+ run: |
71
+ python -m pip install pytest
72
+ python -m pip install --no-index --find-links dist tcp-sansio
73
+ python -m pytest -v
74
+ - uses: actions/upload-artifact@v7
75
+ with:
76
+ name: wheels-windows-${{ matrix.target }}
77
+ path: dist
78
+
79
+ macos:
80
+ name: macOS ${{ matrix.target }}
81
+ runs-on: ${{ matrix.runner }}
82
+ strategy:
83
+ fail-fast: false
84
+ matrix:
85
+ include:
86
+ - { runner: macos-15-intel, target: x86_64 }
87
+ - { runner: macos-latest, target: aarch64 }
88
+ steps:
89
+ - uses: actions/checkout@v7
90
+ - uses: actions/setup-python@v7
91
+ with:
92
+ python-version: "3.13"
93
+ - name: Build wheel
94
+ uses: PyO3/maturin-action@v1
95
+ with:
96
+ target: ${{ matrix.target }}
97
+ args: --release --out dist
98
+ - name: Test wheel
99
+ run: |
100
+ python -m pip install pytest
101
+ python -m pip install --no-index --find-links dist tcp-sansio
102
+ python -m pytest -v
103
+ - uses: actions/upload-artifact@v7
104
+ with:
105
+ name: wheels-macos-${{ matrix.target }}
106
+ path: dist
107
+
108
+ sdist:
109
+ name: Source distribution
110
+ runs-on: ubuntu-latest
111
+ steps:
112
+ - uses: actions/checkout@v7
113
+ - name: Build sdist
114
+ uses: PyO3/maturin-action@v1
115
+ with:
116
+ command: sdist
117
+ args: --out dist
118
+ - uses: actions/upload-artifact@v7
119
+ with:
120
+ name: wheels-sdist
121
+ path: dist
122
+
123
+ publish:
124
+ name: Publish to PyPI
125
+ if: ${{ github.event_name == 'release' }}
126
+ needs: [linux, windows, macos, sdist]
127
+ runs-on: ubuntu-latest
128
+ environment:
129
+ name: pypi
130
+ url: https://pypi.org/project/tcp-sansio/
131
+ permissions:
132
+ # Trusted Publishing and PEP 740 attestations.
133
+ id-token: write
134
+ # Attaching the distributions to the GitHub release.
135
+ contents: write
136
+ steps:
137
+ - uses: actions/download-artifact@v8
138
+ with:
139
+ pattern: wheels-*
140
+ path: dist
141
+ merge-multiple: true
142
+ - name: Check that the tag matches the package version
143
+ env:
144
+ TAG: ${{ github.event.release.tag_name }}
145
+ run: |
146
+ version="${TAG#v}"
147
+ if [ ! -f "dist/tcp_sansio-${version}.tar.gz" ]; then
148
+ echo "::error::Release tag $TAG does not match the version in Cargo.toml"
149
+ ls dist
150
+ exit 1
151
+ fi
152
+ - name: Publish to PyPI
153
+ uses: pypa/gh-action-pypi-publish@release/v1
154
+ - name: Attach distributions to the GitHub release
155
+ env:
156
+ GH_TOKEN: ${{ github.token }}
157
+ TAG: ${{ github.event.release.tag_name }}
158
+ run: gh release upload "$TAG" dist/* --repo "$GITHUB_REPOSITORY"
@@ -0,0 +1,8 @@
1
+ /.venv/
2
+ /target/
3
+ *.pyd
4
+ *.pdb
5
+ *.so
6
+ __pycache__/
7
+ .pytest_cache/
8
+ /dist/
@@ -0,0 +1,34 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file. The format
4
+ is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the
5
+ project follows [Semantic Versioning](https://semver.org/). While the version
6
+ is `0.x`, minor releases may change the public API.
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.0] - 2026-11-22
11
+
12
+ First public release.
13
+
14
+ ### Added
15
+
16
+ - `TCPStack`, a Sans-I/O IPv4 TCP stack backed by `smoltcp`: applications feed
17
+ raw packets with `receive()`, collect outgoing packets with `transmit()` and
18
+ drive timers with `advance()` and `next_timeout()`.
19
+ - Outgoing connections with `connect()`, including randomized ephemeral ports,
20
+ and listeners with `listen()` and `accept()` whose backlog bounds pending
21
+ and unaccepted connections.
22
+ - `events()`, reporting readable data, writable space, completed connections
23
+ and end of stream for every connection.
24
+ - Orderly release: a connection released after `close()` finishes its FIN
25
+ handshake in the background; other released connections are reset.
26
+ - `any_ip` stacks and `intercept()`, which answer a client's SYN as the
27
+ destination it was addressed to, for VPN and proxy servers.
28
+ - Automatic or explicit timestamps, and seeded randomness for reproducible
29
+ simulations.
30
+ - `AddressInUseError`, `PacketError` and `TCPStateError` exceptions.
31
+ - Type hints for the whole public API.
32
+
33
+ [Unreleased]: https://github.com/AngeloHH/tcp-sansio/compare/v0.1.0...HEAD
34
+ [0.1.0]: https://github.com/AngeloHH/tcp-sansio/releases/tag/v0.1.0
@@ -0,0 +1,48 @@
1
+ # Contributing
2
+
3
+ Thank you for helping improve `tcp-sansio`. Bug reports, questions and pull
4
+ requests are welcome.
5
+
6
+ ## Development setup
7
+
8
+ You need Python 3.10 or newer and a recent stable
9
+ [Rust toolchain](https://rustup.rs/).
10
+
11
+ ```
12
+ python -m venv .venv
13
+ # Windows: .venv\Scripts\activate Linux and macOS: source .venv/bin/activate
14
+ python -m pip install maturin pytest
15
+ maturin develop --release
16
+ python -m pytest
17
+ ```
18
+
19
+ Run `maturin develop` again after changing Rust code. Python changes under
20
+ `python/tcp_sansio` are picked up without rebuilding.
21
+
22
+ ## Project layout
23
+
24
+ - `src/`: the native extension, which wraps `smoltcp` with PyO3.
25
+ - `python/tcp_sansio/`: the public Python API and its type stubs.
26
+ - `tests/`: the test suite, which runs entirely in memory.
27
+ - `examples/`: small programs that are also run by CI.
28
+
29
+ ## Before opening a pull request
30
+
31
+ - Add or update tests for the behaviour you change.
32
+ - Run `cargo fmt`, `cargo clippy --all-targets -- -D warnings` and
33
+ `python -m pytest`. CI runs the same checks on Linux, Windows and macOS.
34
+ - Describe user-visible changes under `[Unreleased]` in `CHANGELOG.md`.
35
+
36
+ ## Releases
37
+
38
+ Maintainers bump the version in `Cargo.toml`, move the changelog entries to a
39
+ new version section and publish a GitHub release tagged `vX.Y.Z`. The release
40
+ workflow builds the wheels and the source distribution and uploads them to
41
+ PyPI.
42
+
43
+ ## License
44
+
45
+ Unless you explicitly state otherwise, any contribution intentionally
46
+ submitted for inclusion in this project by you, as defined in the Apache-2.0
47
+ license, shall be dual licensed under the MIT and Apache-2.0 licenses, without
48
+ any additional terms or conditions.
@@ -0,0 +1,305 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "bitflags"
7
+ version = "1.3.2"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
10
+
11
+ [[package]]
12
+ name = "byteorder"
13
+ version = "1.5.0"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
16
+
17
+ [[package]]
18
+ name = "cfg-if"
19
+ version = "1.0.5"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
22
+
23
+ [[package]]
24
+ name = "defmt"
25
+ version = "1.2.0"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "e4a0795ac740cb54d7b3775c9c17345f6aaecf884c01733b39d6017738e0e3e1"
28
+ dependencies = [
29
+ "bitflags",
30
+ "defmt-macros",
31
+ ]
32
+
33
+ [[package]]
34
+ name = "defmt-macros"
35
+ version = "1.2.0"
36
+ source = "registry+https://github.com/rust-lang/crates.io-index"
37
+ checksum = "840bb056bd99c495c9188198a258ab787c79f306d864db3e6e8451442d6d8366"
38
+ dependencies = [
39
+ "defmt-parser",
40
+ "proc-macro2",
41
+ "quote",
42
+ "syn 3.0.10",
43
+ ]
44
+
45
+ [[package]]
46
+ name = "defmt-parser"
47
+ version = "1.1.0"
48
+ source = "registry+https://github.com/rust-lang/crates.io-index"
49
+ checksum = "71958f69fb2de856c5dd51ac9377e986ca1aa5919f931bf5395a807277f889a0"
50
+ dependencies = [
51
+ "thiserror",
52
+ ]
53
+
54
+ [[package]]
55
+ name = "hash32"
56
+ version = "0.3.1"
57
+ source = "registry+https://github.com/rust-lang/crates.io-index"
58
+ checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606"
59
+ dependencies = [
60
+ "byteorder",
61
+ ]
62
+
63
+ [[package]]
64
+ name = "heapless"
65
+ version = "0.9.4"
66
+ source = "registry+https://github.com/rust-lang/crates.io-index"
67
+ checksum = "411fdef4df93751117bd9ef8caa0e7f99c65dafec5bd84313eb8e2fdd75e32f2"
68
+ dependencies = [
69
+ "hash32",
70
+ "stable_deref_trait",
71
+ ]
72
+
73
+ [[package]]
74
+ name = "heck"
75
+ version = "0.5.0"
76
+ source = "registry+https://github.com/rust-lang/crates.io-index"
77
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
78
+
79
+ [[package]]
80
+ name = "libc"
81
+ version = "0.2.191"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
84
+
85
+ [[package]]
86
+ name = "managed"
87
+ version = "0.8.0"
88
+ source = "registry+https://github.com/rust-lang/crates.io-index"
89
+ checksum = "0ca88d725a0a943b096803bd34e73a4437208b6077654cc4ecb2947a5f91618d"
90
+
91
+ [[package]]
92
+ name = "once_cell"
93
+ version = "1.21.4"
94
+ source = "registry+https://github.com/rust-lang/crates.io-index"
95
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
96
+
97
+ [[package]]
98
+ name = "portable-atomic"
99
+ version = "1.15.0"
100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
101
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
102
+
103
+ [[package]]
104
+ name = "ppv-lite86"
105
+ version = "0.2.21"
106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
107
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
108
+ dependencies = [
109
+ "zerocopy",
110
+ ]
111
+
112
+ [[package]]
113
+ name = "proc-macro2"
114
+ version = "1.0.107"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
117
+ dependencies = [
118
+ "unicode-ident",
119
+ ]
120
+
121
+ [[package]]
122
+ name = "pyo3"
123
+ version = "0.30.1"
124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
125
+ checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
126
+ dependencies = [
127
+ "libc",
128
+ "once_cell",
129
+ "portable-atomic",
130
+ "pyo3-build-config",
131
+ "pyo3-ffi",
132
+ "pyo3-macros",
133
+ ]
134
+
135
+ [[package]]
136
+ name = "pyo3-build-config"
137
+ version = "0.30.1"
138
+ source = "registry+https://github.com/rust-lang/crates.io-index"
139
+ checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
140
+ dependencies = [
141
+ "target-lexicon",
142
+ ]
143
+
144
+ [[package]]
145
+ name = "pyo3-ffi"
146
+ version = "0.30.1"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
149
+ dependencies = [
150
+ "libc",
151
+ "pyo3-build-config",
152
+ ]
153
+
154
+ [[package]]
155
+ name = "pyo3-macros"
156
+ version = "0.30.1"
157
+ source = "registry+https://github.com/rust-lang/crates.io-index"
158
+ checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
159
+ dependencies = [
160
+ "proc-macro2",
161
+ "pyo3-macros-backend",
162
+ "quote",
163
+ "syn 3.0.10",
164
+ ]
165
+
166
+ [[package]]
167
+ name = "pyo3-macros-backend"
168
+ version = "0.30.1"
169
+ source = "registry+https://github.com/rust-lang/crates.io-index"
170
+ checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
171
+ dependencies = [
172
+ "heck",
173
+ "proc-macro2",
174
+ "quote",
175
+ "syn 3.0.10",
176
+ ]
177
+
178
+ [[package]]
179
+ name = "quote"
180
+ version = "1.0.47"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
183
+ dependencies = [
184
+ "proc-macro2",
185
+ ]
186
+
187
+ [[package]]
188
+ name = "rand_chacha"
189
+ version = "0.10.0"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "3e6af7f3e25ded52c41df4e0b1af2d047e45896c2f3281792ed68a1c243daedb"
192
+ dependencies = [
193
+ "ppv-lite86",
194
+ "rand_core",
195
+ ]
196
+
197
+ [[package]]
198
+ name = "rand_core"
199
+ version = "0.10.1"
200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
201
+ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
202
+
203
+ [[package]]
204
+ name = "smoltcp"
205
+ version = "0.14.0"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "b6f8b28ad56c6e35524a37dd492af5d1a47e31e1a4d175cd12f89c075f01980f"
208
+ dependencies = [
209
+ "bitflags",
210
+ "byteorder",
211
+ "cfg-if",
212
+ "defmt",
213
+ "heapless",
214
+ "managed",
215
+ ]
216
+
217
+ [[package]]
218
+ name = "stable_deref_trait"
219
+ version = "1.2.1"
220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
221
+ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
222
+
223
+ [[package]]
224
+ name = "syn"
225
+ version = "2.0.119"
226
+ source = "registry+https://github.com/rust-lang/crates.io-index"
227
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
228
+ dependencies = [
229
+ "proc-macro2",
230
+ "quote",
231
+ "unicode-ident",
232
+ ]
233
+
234
+ [[package]]
235
+ name = "syn"
236
+ version = "3.0.10"
237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
238
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
239
+ dependencies = [
240
+ "proc-macro2",
241
+ "quote",
242
+ "unicode-ident",
243
+ ]
244
+
245
+ [[package]]
246
+ name = "target-lexicon"
247
+ version = "0.13.6"
248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
249
+ checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
250
+
251
+ [[package]]
252
+ name = "tcp-sansio-native"
253
+ version = "0.1.0"
254
+ dependencies = [
255
+ "pyo3",
256
+ "rand_chacha",
257
+ "rand_core",
258
+ "smoltcp",
259
+ ]
260
+
261
+ [[package]]
262
+ name = "thiserror"
263
+ version = "2.0.21"
264
+ source = "registry+https://github.com/rust-lang/crates.io-index"
265
+ checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
266
+ dependencies = [
267
+ "thiserror-impl",
268
+ ]
269
+
270
+ [[package]]
271
+ name = "thiserror-impl"
272
+ version = "2.0.21"
273
+ source = "registry+https://github.com/rust-lang/crates.io-index"
274
+ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
275
+ dependencies = [
276
+ "proc-macro2",
277
+ "quote",
278
+ "syn 3.0.10",
279
+ ]
280
+
281
+ [[package]]
282
+ name = "unicode-ident"
283
+ version = "1.0.27"
284
+ source = "registry+https://github.com/rust-lang/crates.io-index"
285
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
286
+
287
+ [[package]]
288
+ name = "zerocopy"
289
+ version = "0.8.64"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "ed43f3060383c64b000f3c630550aebdfa9d3b76d48de32390483dd2cc7e0865"
292
+ dependencies = [
293
+ "zerocopy-derive",
294
+ ]
295
+
296
+ [[package]]
297
+ name = "zerocopy-derive"
298
+ version = "0.8.64"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+ checksum = "a5cbd820fe3e35fb38c83b6dc7e6b1618bc46e0cd10073ae94e8d52dc468d8b9"
301
+ dependencies = [
302
+ "proc-macro2",
303
+ "quote",
304
+ "syn 2.0.119",
305
+ ]