8000 README: the UI ships in the binary, and /whoami returns no roles (0.1.3) by ynishi · Pull Request #23 · ynishi/evalhub · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/*"]

[workspace.package]
version = "0.1.2"
version = "0.1.3"
edition = "2024"
# sqlx 0.9 declares rust-version 1.94.0; the workspace cannot claim less.
rust-version = "1.94"
Expand All @@ -21,10 +21,10 @@ categories = ["web-programming::http-server", "science"]

[workspace.dependencies]
# internal
evalhub-schema = { path = "crates/evalhub-schema", version = "0.1.2" }
evalhub-core = { path = "crates/evalhub-core", version = "0.1.2" }
evalhub-query = { path = "crates/evalhub-query", version = "0.1.2" }
evalhub-store = { path = "crates/evalhub-store", version = "0.1.2" }
evalhub-schema = { path = "crates/evalhub-schema", version = "0.1.3" }
evalhub-core = { path = "crates/evalhub-core", version = "0.1.3" }
evalhub-query = { path = "crates/evalhub-query", version = "0.1.3" }
evalhub-store = { path = "crates/evalhub-store", version = "0.1.3" }

# serde
serde = { version = "1", features = ["derive"] }
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ does not rewrite what it receives, and never calls anything "verified".

Pre-alpha. The API is complete: records with validation, fingerprints and
badges, attachments, relations, the query language, the registry and the
audit log. The web UI is being built; a binary without it serves the API and
a placeholder page. Read the design in the crate docs:
audit log. The web UI is compiled into the binary; a debug build without it
serves the API and a placeholder page. Read the design in the crate docs:

```bash
cargo doc --no-deps --open
Expand Down Expand Up @@ -93,7 +93,7 @@ covers it.
| -------- | --------------------------------- | ------------------------------------------------------------------------ |
| `POST` | `/session` | Exchange a token for a session cookie: `{ token }`. The hub has no passwords, so a token is the credential. |
| `DELETE` | `/session` | End the session, revoking the token its cookie carries. |
| `GET` | `/whoami` | The token's user, scope, namespaces and organisation roles. |
| `GET` | `/whoami` | The token's user, scope and namespaces. |
| `GET` | `/tokens` | The caller's tokens, by prefix. Secrets are shown once, at issue. |
| `POST` | `/tokens` | Issue one: `{ scope, namespaces[] }`, capped by the presenting token's scope and by the caller's own login and admin organisations. |
| `DELETE` | `/tokens/{token_id}` | Revoke one of the caller's tokens, effective at once. |
Expand Down
Loading
0