# 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 = "essence" version = "0.5.0" authors = ["jay3332"] description = "Essential models and database logic for the Adapt chat platform." homepage = "https://adapt.chat" readme = "README.md" keywords = [ "adapt", "adapt-chat", ] license = "AGPL-3.0" repository = "https://github.com/AdaptChat/essence" [dependencies.argon2-async] version = "0.2" optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.base64] version = "0.20" optional = true [dependencies.bincode] version = "2.0.0-rc" features = ["serde"] optional = true [dependencies.bitflags] version = "1.3.2" [dependencies.chrono] version = "0.4.23" features = ["serde"] [dependencies.itertools] version = "0.10" optional = true [dependencies.ring] version = "0.16.20" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.sqlx] version = "0.6" features = [ "postgres", "macros", "offline", "runtime-tokio-rustls", "chrono", "json", ] optional = true [dependencies.tokio] version = "1" features = ["sync"] optional = true default-features = false [dependencies.utoipa] version = "3" features = ["chrono"] optional = true [features] auth = [ "snowflakes", "dep:argon2-async", "dep:ring", "token-parsing", ] client = [] db = [ "dep:async-trait", "dep:itertools", "dep:sqlx", "dep:tokio", "snowflakes", "serde_json", ] default = ["snowflakes"] snowflakes = [] token-parsing = [ "dep:base64", "snowflakes", ] webserver = [ "auth", "bincode", "db", "utoipa", "utoipa/axum_extras", "utoipa/yaml", ]