openlark 0.15.0-rc.1

飞书开放平台 Rust SDK - 企业级高覆盖率 API 客户端,极简依赖一条命令
Documentation
# 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 = "openlark"
version = "0.15.0-rc.1"
authors = ["ZoOL <zhooul@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "飞书开放平台 Rust SDK - 企业级高覆盖率 API 客户端,极简依赖一条命令"
homepage = "https://github.com/foxzool/open-lark"
documentation = "https://docs.rs/open-lark"
readme = "README.md"
keywords = [
    "feishu",
    "lark",
    "api",
    "sdk",
    "rust",
]
categories = [
    "api-bindings",
    "web-programming",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/foxzool/open-lark"

[features]
ai = [
    "client",
    "openlark-ai",
]
analytics = [
    "client",
    "openlark-analytics",
]
application = [
    "client",
    "openlark-application",
]
auth = [
    "client",
    "openlark-auth",
]
base = [
    "client",
    "openlark-docs",
]
bitable = [
    "client",
    "openlark-docs",
]
cardkit = [
    "client",
    "openlark-cardkit",
]
client = ["openlark-client"]
communication = [
    "client",
    "openlark-communication",
]
core-services = [
    "auth",
    "communication",
    "docs",
    "workflow",
]
default = ["core-services"]
dev-tools = []
docs = [
    "client",
    "openlark-docs",
]
helpdesk = [
    "client",
    "openlark-helpdesk",
]
hr = [
    "client",
    "openlark-hr",
]
mail = [
    "client",
    "openlark-mail",
]
meeting = [
    "client",
    "openlark-meeting",
]
platform = [
    "client",
    "openlark-platform",
]
protocol = ["openlark-protocol"]
security = [
    "client",
    "openlark-security",
]
user = [
    "client",
    "openlark-user",
]
webhook = [
    "client",
    "openlark-webhook",
]
websocket = [
    "protocol",
    "openlark-client/websocket",
]
workflow = [
    "client",
    "openlark-workflow",
]

[lib]
name = "open_lark"
path = "src/lib.rs"

[[example]]
name = "simple_api_call"
path = "examples/01_getting_started/simple_api_call.rs"
required-features = [
    "auth",
    "communication",
]

[[example]]
name = "websocket_echo_bot"
path = "examples/01_getting_started/websocket_echo_bot.rs"
required-features = [
    "communication",
    "websocket",
]

[[example]]
name = "workflow_api_example"
path = "examples/workflow_api_example.rs"
required-features = ["workflow"]

[[bench]]
name = "config_performance"
path = "benches/config_performance.rs"
harness = false

[dependencies.chrono]
version = "0.4.38"
features = ["serde"]

[dependencies.openlark-ai]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-analytics]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-application]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-auth]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-cardkit]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-client]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-communication]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-core]
version = "0.15.0-rc.1"

[dependencies.openlark-docs]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-helpdesk]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-hr]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-mail]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-meeting]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-platform]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-protocol]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-security]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-user]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-webhook]
version = "0.15.0-rc.1"
optional = true

[dependencies.openlark-workflow]
version = "0.15.0-rc.1"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_repr]
version = "0.1.19"

[dev-dependencies.clap]
version = "4.4"
features = ["derive"]

[dev-dependencies.colored]
version = "2.1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.env_logger]
version = "0.10"

[dev-dependencies.mockall]
version = "0.12"

[dev-dependencies.once_cell]
version = "1.19"

[dev-dependencies.proptest]
version = "1.0"

[dev-dependencies.reqwest]
version = "0.12.7"
features = [
    "json",
    "multipart",
    "rustls-tls",
]
default-features = false

[dev-dependencies.rstest]
version = "0.19"

[dev-dependencies.tempfile]
version = "3.8"

[dev-dependencies.test-log]
version = "0.2"

[dev-dependencies.tokio]
version = "1.38"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tracing-test]
version = "0.2"

[dev-dependencies.wiremock]
version = "0.6"