# 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 = "walle-core" version = "0.7.4" authors = ["Abrahum<307887491@qq.com>"] description = "OneBot lib in Rust" homepage = "https://github.com/onebot-walle/Walle-core" readme = "README.md" license = "MIT" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "impl_ws" required-features = [ "impl-obc", "websocket", "tokio-rt", ] [[example]] name = "app_ws" required-features = [ "app-obc", "websocket", "tokio-rt", ] [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.13" [dependencies.colored] version = "2" [dependencies.dashmap] version = "5.3" [dependencies.futures-util] version = "0.3" features = ["sink"] [dependencies.hex] version = "0.4" [dependencies.hyper] version = "0.14" features = ["full"] optional = true [dependencies.rmp-serde] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.0" features = [ "sync", "time", "macros", "rt", ] [dependencies.tokio-tungstenite] version = "0.17" optional = true [dependencies.tracing] version = "0.1" [dependencies.uuid] version = "1.0" optional = true [dependencies.walle-macro] version = "0.7.0-a2" [dev-dependencies.toml] version = "0.5" [dev-dependencies.tracing-subscriber] version = "0.3" [features] alt = [] app-obc = [ "sha2", "tokio/fs", "tokio/io-util", ] full = [ "http", "websocket", "app-obc", "impl-obc", "alt", ] http = ["hyper"] impl-obc = ["uuid"] tokio-rt = ["tokio/rt-multi-thread"] websocket = ["tokio-tungstenite"]