zero4rs 1.0.0

serv4rs is a powerful, pragmatic, and extremely fast web framework for Rust
docs.rs failed to build zero4rs-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: zero4rs-1.3.19

macos 安装cmake

$ sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install=/usr/local/bin

本程序依赖以下 Rust 工具

$ rustup toolchain install nightly --allow-downgrade $ rustup component add clippy $ rustup component add rustfmt

$ cargo install cargo-expand $ cargo install cargo-udeps $ cargo install cargo-watch $ cargo install cargo-tarpaulin $ cargo install watchexec-cli $ cargo install cargo-tree

$ cargo install cargo-edit $ cargo install -f cargo-upgrades

$ cargo install sqlx-cli --no-default-features --features postgres $ cargo install sqlx-cli --version 0.6.3 --force $ cargo +nightly expand $ cargo +nightly udeps

新建一个 Rust 可执行程序

$ cargo new zero4rs --bin && cd zero4rs

这是一个 web 程序, 在参考了大量文档后发现 actix-web 在这方面做的很好, 所以将以下 dependencies 加入工程

$ cargo add actix-web $ cargo add tokio --features macros,rt-multi-thread $ cargo check