# 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 = "polyphony-types" version = "0.12.0" description = "Types used throughout the Polyphony project." readme = "README.md" license = "GPL-3.0" repository = "https://github.com/polyphony-chat/types" [dependencies.atomic] version = "0.5.1" [dependencies.base64] version = "0.21.0" [dependencies.bigdecimal] version = "0.3.0" [dependencies.bitflags] version = "2.2.1" features = ["serde"] [dependencies.chrono] version = "0.4.24" features = ["serde"] [dependencies.hostname] version = "0.3.1" [dependencies.jsonwebtoken] version = "8.3.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.num-bigint] version = "0.4.3" [dependencies.num-traits] version = "0.2.15" [dependencies.openssl] version = "0.10.52" [dependencies.poem] version = "1.3.55" optional = true [dependencies.regex] version = "1.8.1" [dependencies.serde] version = "1.0.162" features = ["derive"] [dependencies.serde_json] version = "1.0.96" features = ["raw_value"] [dependencies.sqlx] version = "0.6.3" features = [ "mysql", "sqlite", "json", "chrono", "ipnetwork", "runtime-tokio-native-tls", "any", ] optional = true [dependencies.thiserror] version = "1.0.40" [dependencies.tokio] version = "1.28.1" features = ["full"] optional = true [features] backend = [ "sqlx", "tokio", "poem", ] client = ["tokio"] web = []