Crates.io | acid |
lib.rs | acid |
version | |
source | src |
created_at | 2024-11-30 14:41:02.616418 |
updated_at | 2024-11-30 21:18:15.160587 |
description | API for acidarchive.com |
homepage | https://acidarchive.com |
repository | https://github.com/acidarchive/api |
max_upload_size | |
id | 1466679 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
acidarchive.com backend
# archlinux
sudo pacman -S lld clang postgresql
# macos
brew install michaeleisel/zld/zld
cp .env.example .env
./scripts/init_db.sh
./scripts/init_redis.sh
cargo build
cargo run
Docs: http://localhost:8000/docs/api
cargo test
./scripts/setup_hooks.sh
rustup component add clippy rustfmt
cargo install --version="~0.8.2" sqlx-cli --no-default-features --features rustls,postgres
cargo sqlx prepare -- --lib
cargo sqlx prepare -- --tests