[package] name = "rust-actix-crud" version = "0.1.2" edition = "2021" description = "Learn how to create Rest API in Rust and setup CI/CD pipeline" repository = "https://github.com/hendrysuwanda/rust-actix-crud" license = "MIT" [dependencies] actix-web = "4" chrono = { version = "0.4.19", features = ["serde"] } diesel = { version = "2.1.3", features = ["postgres", "r2d2", "chrono"] } dotenv = "0.15.0" env_logger = "0.10.0" serde = { version = "1.0.136", features = ["derive"] } serde_json = "1.0" # The profile that 'cargo dist' will build with [profile.dist] inherits = "release" lto = "thin" # Config for 'cargo dist' [workspace.metadata.dist] # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) cargo-dist-version = "0.4.2" # CI backends to support ci = ["github"] # The installers to generate for each app installers = ["shell", "powershell"] # Target platforms to build apps for (Rust target-triple syntax) targets = ["x86_64-unknown-linux-gnu"] # Publish jobs to run in CI pr-run-mode = "upload"