# 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 = "open-stock" version = "0.1.20" authors = ["bennjii"] description = "An Inventory Management Database Interface Layer for MySQL" readme = "README.md" license = "MIT" [profile.dev] [profile.release] strip = false [dependencies.async-trait] version = "0.1.58" optional = true [dependencies.chrono] version = "0.4.31" features = ["serde"] [dependencies.dotenv] version = "0.15.0" optional = true [dependencies.enum-iterator] version = "1.4.1" [dependencies.futures] version = "^0.3" optional = true [dependencies.geo] version = "0.27.0" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.okapi] version = "0.7.0" features = ["impl_json_schema"] [dependencies.photon-geocoding] version = "1.1.0" optional = true [dependencies.rand] version = "0.8.5" optional = true [dependencies.regex] version = "1.10.2" [dependencies.rocket] version = "0.5.0" features = [ "json", "secrets", "tls", ] optional = true [dependencies.rocket-validation] version = "0.2.0" [dependencies.rocket_db_pools] version = "0.1.0" [dependencies.rocket_okapi] version = "0.8.0" features = [ "uuid", "swagger", "rocket_db_pools", ] [dependencies.rust-argon2] version = "2.0.0" optional = true [dependencies.schemars] version = "0.8.16" features = ["chrono"] [dependencies.sea-orm] version = "0.12.1" features = [ "macros", "runtime-tokio-native-tls", "sqlx-mysql", ] optional = true [dependencies.sea-orm-migration] version = "0.12.1" optional = true [dependencies.sea-orm-rocket] version = "0.5.3" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.strum] version = "0.25.0" [dependencies.tokio] version = "1.28.2" features = ["rt"] optional = true [dependencies.uuid] version = "1.2.2" features = [ "v4", "fast-rng", "serde", ] [dependencies.validator] version = "0.16.1" [features] all = [ "types", "methods", "sql", "process", "sea-orm/sqlx-mysql", ] default = ["all"] methods = ["types"] process = [ "sea-orm", "sea-orm-migration", "sea-orm-rocket", "photon-geocoding", "geo", "tokio", "rocket", "async-trait", "futures", "dotenv", "rust-argon2", "rand", ] sql = ["methods"] types = []