Skip to content

Commit 96eeac5

Browse files
authored
Stream and WebSocket support (#41)
1 parent 8cd9b7c commit 96eeac5

22 files changed

+3819
-447
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
fail-fast: false
6868
matrix:
6969
settings:
70-
- host: macos-latest
70+
- host: macos-13
7171
target: x86_64-apple-darwin
7272
build: pnpm run build --target x86_64-apple-darwin
7373
- host: macos-latest
@@ -185,7 +185,6 @@ jobs:
185185
- '3.11'
186186
- '3.12'
187187
- '3.13'
188-
# - '3.14-rc'
189188
runs-on: ${{ matrix.settings.host }}
190189
steps:
191190
- uses: actions/checkout@v4
@@ -206,6 +205,11 @@ jobs:
206205
with:
207206
name: bindings-${{ matrix.settings.target }}
208207
path: .
208+
- name: Remove old prebuilt binaries
209+
run: |
210+
echo "Removing old prebuilt binaries from node_modules..."
211+
rm -rf node_modules/@platformatic/python-node-*
212+
shell: bash
209213
- name: List packages
210214
run: ls -R .
211215
shell: bash
@@ -273,6 +277,11 @@ jobs:
273277
with:
274278
name: bindings-${{ matrix.settings.target }}
275279
path: .
280+
- name: Remove old prebuilt binaries
281+
run: |
282+
echo "Removing old prebuilt binaries from node_modules..."
283+
rm -rf node_modules/@platformatic/python-node-*
284+
shell: bash
276285
- name: List packages
277286
run: ls -R .
278287
shell: bash

Cargo.lock

Lines changed: 63 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ napi-support = ["dep:napi", "dep:napi-derive", "dep:napi-build", "http-handler/n
1919

2020
[lib]
2121
name = "python_node"
22-
crate-type = ["cdylib"]
22+
crate-type = ["cdylib", "rlib"]
2323

2424
[dependencies]
2525
async-trait = "0.1.88"
2626
bytes = "1.10.1"
27+
http = "1.0"
28+
http-body-util = "0.1"
2729
http-handler = { git = "https://github.com/platformatic/http-handler" }
2830
# http-handler = { path = "../http-handler" }
2931
http-rewriter = { git = "https://github.com/platformatic/http-rewriter" }

0 commit comments

Comments
 (0)