# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "user-service" version = "0.4.1" description = "A user management microservice." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/uniteme-pty-ltd/user-service" [profile.release] lto = true codegen-units = 1 strip = true [lib] name = "user_client" path = "src/client/lib.rs" [[bin]] name = "user_service" path = "src/service/main.rs" [dependencies.actix-web] version = "4" [dependencies.argon2] version = "0.4" [dependencies.base64] version = "0.21" [dependencies.derive_more] version = "0.99" [dependencies.diesel] version = "2" features = [ "postgres", "r2d2", "time", ] [dependencies.diesel_migrations] version = "2" [dependencies.env_logger] version = "0.10" [dependencies.futures] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.lazy_static] version = "1" [dependencies.num_cpus] version = "1" [dependencies.password-hash] version = "0.4" features = ["alloc"] [dependencies.rand] version = "0.8" [dependencies.regex] version = "1" [dependencies.reqwest] version = "0.11" features = ["json"] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_with] version = "2" [dependencies.time] version = "0.3" features = ["serde-human-readable"] [dev-dependencies.tokio] version = "1" features = ["full"]