Skip to content

Commit 4d67626

Browse files
committed
Stream and WebSocket support
1 parent 7dd0126 commit 4d67626

22 files changed

+3832
-459
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,11 @@ jobs:
206206
with:
207207
name: bindings-${{ matrix.settings.target }}
208208
path: .
209+
- name: Remove old prebuilt binaries
210+
run: |
211+
echo "Removing old prebuilt binaries from node_modules..."
212+
rm -rf node_modules/@platformatic/python-node-*
213+
shell: bash
209214
- name: List packages
210215
run: ls -R .
211216
shell: bash
@@ -273,6 +278,11 @@ jobs:
273278
with:
274279
name: bindings-${{ matrix.settings.target }}
275280
path: .
281+
- name: Remove old prebuilt binaries
282+
run: |
283+
echo "Removing old prebuilt binaries from node_modules..."
284+
rm -rf node_modules/@platformatic/python-node-*
285+
shell: bash
276286
- name: List packages
277287
run: ls -R .
278288
shell: bash

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ 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-handler = { git = "https://github.com/platformatic/http-handler" }
27+
http = "1.0"
28+
http-body-util = "0.1"
29+
http-handler = { git = "https://github.com/platformatic/http-handler", branch = "streams-and-ws" }
2830
# http-handler = { path = "../http-handler" }
29-
http-rewriter = { git = "https://github.com/platformatic/http-rewriter" }
31+
http-rewriter = { git = "https://github.com/platformatic/http-rewriter", branch = "stream-and-ws" }
3032
# http-rewriter = { path = "../http-rewriter" }
3133
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
3234
napi = { version = "3", default-features = false, features = ["napi4", "tokio_rt", "async"], optional = true }

0 commit comments

Comments
 (0)