fix(daemon): ship the OpenRPC document inside the crate
docs/openrpc.json lived at the repository root, outside the soulseek-rs package, so the include_str! in proto compiled from a checkout but not from the published tarball - cargo publish failed verification and the v13.0.0 release stopped after publishing the lib. The document moves into the crate's own docs/, where packaging can see it; the generator test and every link follow.
This commit is contained in:
@@ -202,7 +202,7 @@ the internet. Reach it over SSH instead, with a tunnel
|
||||
|
||||
The daemon speaks newline-delimited JSON-RPC 2.0, described by an
|
||||
[OpenRPC](https://open-rpc.org) document,
|
||||
[`docs/openrpc.json`](docs/openrpc.json), which it also serves over
|
||||
[`soulseek-rs/docs/openrpc.json`](soulseek-rs/docs/openrpc.json), which it also serves over
|
||||
`rpc.discover`. Point a client generator at it for typed bindings in your
|
||||
language. Searches, transfers, rooms, private messages and shares are all on
|
||||
the interface this CLI uses, with no private back channel, and live updates are
|
||||
|
||||
Reference in New Issue
Block a user