[package]
edition = "2024"
rust-version = "1.88"
name = "openlark-workflow"
version = "0.17.0"
authors = ["ZoOL <zhooul@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenLark 工作流模块 - 提供飞书任务/审批/看板 API"
documentation = "https://docs.rs/openlark"
readme = false
keywords = [
"feishu",
"lark",
"workflow",
"api",
"sdk",
]
license = "Apache-2.0"
repository = "https://github.com/foxzool/openlark"
resolver = "2"
[package.metadata.cargo-machete]
ignored = [
"reqwest",
"tokio",
"tracing",
]
[features]
async = ["tokio"]
board = []
default = [
"v1",
"v2",
"async",
"board",
]
full = [
"v1",
"v2",
"async",
"board",
]
v1 = []
v2 = []
[lib]
name = "openlark_workflow"
path = "src/lib.rs"
[[test]]
name = "helper_snapshots"
path = "tests/helper_snapshots.rs"
[[test]]
name = "workflow_contract_models"
path = "tests/workflow_contract_models.rs"
[dependencies.openlark-core]
version = "0.17.0"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"multipart",
"rustls",
"stream",
"query",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.38"
features = [
"rt",
"rt-multi-thread",
"macros",
]
optional = true
[dependencies.tracing]
version = "0.1"
[dev-dependencies.insta]
version = "=1.39.0"
features = ["json"]
[dev-dependencies.tokio]
version = "1.38"
features = [
"rt",
"rt-multi-thread",
"macros",
"full",
]
[lints.clippy]
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"