6 个版本
使用旧 Rust 2015
| 0.1.6 | 2018年7月8日 | 
|---|---|
| 0.1.5 | 2018年6月2日 | 
| 0.1.4 | 2018年5月28日 | 
在 #pre-compiled 中排名 #11
4MB
 37K  SLoC
包含 (WOFF 字体, 99KB) fontawesome-webfont.woff, (WOFF 字体, 91KB) fontawesome-webfont.woff, (WOFF 字体, 72KB) fontawesome-webfont.woff2, (WOFF 字体, 78KB) fontawesome-webfont.woff2, (WOFF 字体, 68KB) ionicons.woff, (WOFF 字体, 31KB) public/static/fonts/photon-entypo.woff
Diwata CLI
此仓库是 diwata 项目的组成部分。
它包含预编译的静态 HTML 文件,您可以根据主 diwata 项目自行编译。
快速入门
如果您有一个现有的 PostgreSQL 数据库,您可以使用该应用程序快速打开它,方法如下
cargo install diwata_cli
diwata_cli --db-url postgres://user:passwd@localhost:5432/dbname -p 8000 --open
您还可以打开 SQLite 数据库。下载此 sqlite 示例数据库。然后,您可以通过执行以下命令打开它
diwata_cli --db-url sqlite://sakila.db  -p 80001 --open
USAGE:
    diwata_cli [OPTIONS]
FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
OPTIONS:
    -a, --address <address>    The address the server would listen, default is 0.0.0.0 [default: 0.0.0.0]
    -u, --db-url <db_url>      Database url to connect to, when set all data is exposed without login needed in the
                               client side
    -p, --port <port>          What port this server would listen to, default is 8000 [default: 8000]
依赖项
~33MB
~548K SLoC