#core #dbui

nightly dbui-core

Core classes used by dbui in the app and WASM

42 releases

✓ Uses Rust 2018 edition

0.0.64 Nov 24, 2019
0.0.63 Nov 16, 2019
0.0.55 Oct 31, 2019
0.0.25 Sep 29, 2019

#190 in WebAssembly

Download history 130/week @ 2019-11-01 141/week @ 2019-11-08 113/week @ 2019-11-15 86/week @ 2019-11-22 120/week @ 2019-11-29 447/week @ 2019-12-06 46/week @ 2019-12-13 1/week @ 2019-12-20 43/week @ 2019-12-27 31/week @ 2020-01-03 302/week @ 2020-01-10 45/week @ 2020-01-17 1/week @ 2020-01-24 3/week @ 2020-01-31 45/week @ 2020-02-07

707 downloads per month
Used in 6 crates

MIT license

16KB
547 lines

dbui

License Build Status Crate Docs Dependencies

An opinionated database interface for PostgreSQL. It's a work in progress.

Running as a client application or shared server, dbui allows you to query and inspect your database, with a focus on performance, correctness, and speed.

Rust nightly is required, at least for now

See installing.md for installation guidance. After installing, run dbui -h to get started.

See scripts.md for available tools for building, running, and packaging the app.

Crates

dbui splits its code into several library crates:

  • dbui-assets: Contains embedded static files intended to be served from the web application
  • dbui-client: Run in the client's browser as a WebAssembly package, includes templates
  • dbui-controllers: Contains actix-web HTTP controllers, usually calling methods from dbui-service
  • dbui-core: Contains definitions that are shared between server and client
  • dbui-database: Contains definitions for working with PostgreSQL database servers and marshalling results
  • dbui-service: Contains the primary logic for the application. It receives RequestMessages and emits ResponseMessages
  • dbui-templates: Contains Maud templates used by the server to render responses
  • dbui: Stored in the root of the project, this is the app's main library and binary

Config

Directories

By default, the application stores config files in your system's user configuration directory. See dbui --help to change the directory used.

  • macOS: ~/Library/Application Support/dbui
  • Linux: ~/.config/dbui
  • Windows: %APPDATA%\kyleu/dbui

Files

profile/*: User profile information

Dependencies

~1.7–2.4MB
~49K SLoC