Skip to content

baakeydow/rusty-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

core-rusty-api

BAAKEYDOW's rusty playground


Setup

mv env-example .env.dev && cp .env.dev .env

Help

cargo run -- -c '--help'

Test all

cargo test --workspace


rusty_lib

Tests

cargo test --manifest-path=./rusty_lib/Cargo.toml -- --nocapture

Dev

cargo watch -x 'test html_to_md --manifest-path=./rusty_lib/Cargo.toml -- --nocapture'


core-rusty-api

Dev

cargo watch -x 'run --bin core-rusty-api -- --dev --log-level=debug'

Prod

sh run_rusty_api.sh

About

🦀 API with actix-web and actix-web-actors / global state management across requests => AppState shared with cron job and actor scheduler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages