[package] name = "user-service" version = "0.4.1" edition = "2021" license = "Apache-2.0" description = "A user management microservice." repository = "https://github.com/uniteme-pty-ltd/user-service" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] actix-web = "4" serde = { version = "1", features = ["derive"] } diesel = { version = "2", features = ["postgres", "r2d2", "time"] } diesel_migrations = "2" time = { version = "0.3", features = ["serde-human-readable"] } env_logger = "0.10" num_cpus = "1" derive_more = "0.99" futures = "0.3" futures-util = "0.3" serde_with = "2" rand = "0.8" password-hash = { version = "0.4", features = ["alloc"] } argon2 = "0.4" reqwest = { version = "0.11", features = ["json"] } base64 = "0.21" lazy_static = "1" regex = "1" # Depends on mail-service 0.1.0 [dev-dependencies] tokio = { version = "1", features = ["full"] } [lib] name = "user_client" path = "src/client/lib.rs" [[bin]] name = "user_service" path = "src/service/main.rs" [profile.release] strip = true lto = true codegen-units = 1