A minimal CWIST application written in Rust using the cwist safe wrapper.
CWIST must be built and installed first so cwist-sys can find it through
pkg-config:
make && make install PREFIX=$HOME/.local
export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfigThen build the example:
cargo build --release --manifest-path example/rust-hello/Cargo.tomlcargo run --manifest-path example/rust-hello/Cargo.tomlThe server listens on http://127.0.0.1:8080 and serves:
GET /→Hello, World!GET /users/:id→user <id>