docs: vendored spork/http note in the interop section; ring-core/ring-codec in libraries.md

This commit is contained in:
Yogthos 2026-06-11 20:42:41 -04:00
parent 9ba8e0870c
commit 9aadbf42fd
2 changed files with 10 additions and 1 deletions

View file

@ -138,7 +138,12 @@ function expecting a tuple needs an explicit conversion. The `jolt.interop`,
This bridge is what makes networking (and everything else in Janet's stdlib)
available to ordinary Clojure — for example, `jolt.nrepl` (below) is plain
Clojure over `janet.net/*`.
Clojure over `janet.net/*`. Jolt also vendors
[spork/http](https://janet-lang.org/spork/api/http.html) into its binary
(`vendor/spork/http.janet`, MIT), reachable as `janet.spork.http/*` — the
`jolt.http` client and the Ring adapter in
[examples/ring-app](https://github.com/jolt-lang/examples/tree/main/ring-app)
are built on it. No `jpm install spork` required.
```clojure
(require '[jolt.interop :as j])

View file

@ -8,3 +8,7 @@ Libraries confirmed to load and pass their conformance checks on Jolt
* [Selmer](https://github.com/yogthos/Selmer)
* [medley](https://github.com/weavejester/medley)
* [cuerdas](https://github.com/funcool/cuerdas)
* [ring-core](https://github.com/ring-clojure/ring) — via `:deps/root "ring-core"`,
on the [ring-app example](https://github.com/jolt-lang/examples/tree/main/ring-app)'s
spork/http adapter
* [ring-codec](https://github.com/ring-clojure/ring-codec)