# 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 = "botx-api" version = "0.1.7" authors = ["Vidrochka"] description = "Обертка над BotX api (eXpress)" readme = "README.md" keywords = [ "express", "botx", "botx-api", "lobss", "bot", ] license = "MIT" resolver = "1" [[example]] name = "auth" [dependencies.anthill-di] version = "1.2.4" optional = true [dependencies.async-lock] version = "2.6" [dependencies.async-trait-with-sync] version = "0.1" optional = true [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.csv] version = "1.2" [dependencies.derive_builder] version = "0.12" [dependencies.easy-ext] version = "1" [dependencies.hmac] version = "0.12" [dependencies.log] version = "0.4" [dependencies.reqwest] version = "=0.11.17" features = [ "json", "multipart", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" [dependencies.thiserror] version = "1" [dependencies.uuid] version = "1.1" features = [ "v4", "serde", ] [dev-dependencies.anyhow] version = "1" [dev-dependencies.dotenv] version = "0.15" [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.tokio] version = "1.28" features = [ "rt", "macros", "rt-multi-thread", ] [features] anthill-di = [ "dep:anthill-di", "dep:async-trait-with-sync", ] botx-api-v-all = [ "botx-api-v2", "botx-api-v3", "botx-api-v4", ] botx-api-v2 = ["token"] botx-api-v3 = [ "events-edit_event", "events-reply_event", "events-status", "events-typing", "events-stop_typing", "files-upload", "files-download", "stickers-new_sticker_pack", "stickers-sticker_packs_list", "stickers-add_sticker", "stickers-get_sticker_pack", "stickers-get_sticker", "stickers-update_sticker_pack", "stickers-delete_sticker", "stickers-delete_sticker_pack", "chats-list", "chats-info", "chats-add_user", "chats-remove_user", "chats-add_admin", "chats-set_stealth", "chats-disable_stealth", "chats-create", "chats-pin_message", "chats-unpin_message", "users-by_email", "users-by_huid", "users-by_login", "users-by_other_id", "users-users_as_csv", ] botx-api-v4 = [ "notifications-internal", "notifications-direct", ] chats-add_admin = [] chats-add_user = [] chats-create = [] chats-disable_stealth = [] chats-info = [] chats-list = [] chats-pin_message = [] chats-remove_user = [] chats-set_stealth = [] chats-unpin_message = [] default = ["botx-api-v-all"] events-edit_event = [] events-reply_event = [] events-status = [] events-stop_typing = [] events-typing = [] files-download = [] files-upload = [] notifications-direct = [] notifications-internal = [] stickers-add_sticker = [] stickers-delete_sticker = [] stickers-delete_sticker_pack = [] stickers-get_sticker = [] stickers-get_sticker_pack = [] stickers-new_sticker_pack = [] stickers-sticker_packs_list = [] stickers-update_sticker_pack = [] token = [] users-by_email = [] users-by_huid = [] users-by_login = [] users-by_other_id = [] users-users_as_csv = []