[package]
edition = "2024"
rust-version = "1.88"
name = "openlark-platform"
version = "0.19.0"
authors = ["ZoOL <zhooul@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "飞书开放平台服务模块 - 应用管理、目录服务、系统管理 API (95 APIs)"
homepage = "https://github.com/foxzool/openlark"
documentation = "https://docs.rs/openlark"
readme = false
keywords = [
"feishu",
"lark",
"platform",
"api",
"sdk",
]
categories = [
"api-bindings",
"web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/foxzool/openlark"
resolver = "2"
[package.metadata.cargo-machete]
ignored = [
"anyhow",
"async-trait",
"chrono",
"futures",
"log",
"once_cell",
"rand",
"regex",
"serde_repr",
"thiserror",
"tokio",
"url",
"urlencoding",
"uuid",
]
[features]
admin = [
"admin-core",
"core",
]
admin-core = []
all-platform = ["full"]
app-engine = [
"app-engine-core",
"core",
]
app-engine-core = []
core = []
default = [
"app-engine",
"directory",
"admin",
"mdm",
"tenant",
"trust_party",
"spark",
]
directory = [
"directory-core",
"core",
]
directory-core = []
full = [
"app-engine",
"directory",
"admin",
"mdm",
"tenant",
"trust_party",
"spark",
]
mdm = [
"mdm-core",
"core",
]
mdm-core = []
platform = [
"app-engine",
"directory",
"admin",
"spark",
]
spark = [
"spark-core",
"core",
]
spark-core = []
tenant = [
"tenant-core",
"core",
]
tenant-core = []
trust_party = [
"trust_party-core",
"core",
]
trust_party-core = []
[lib]
name = "openlark_platform"
path = "src/lib.rs"
[[test]]
name = "platform_contract_models"
path = "tests/platform_contract_models.rs"
[dependencies.anyhow]
version = "1.0.86"
[dependencies.async-trait]
version = "0.1.83"
[dependencies.chrono]
version = "0.4.38"
features = ["serde"]
[dependencies.futures]
version = "0.3.30"
[dependencies.log]
version = "0.4.21"
[dependencies.once_cell]
version = "1.19"
[dependencies.openlark-core]
version = "0.19.0"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_repr]
version = "0.1.19"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.38"
features = [
"rt",
"rt-multi-thread",
"macros",
]
[dependencies.url]
version = "2.5"
features = ["serde"]
[dependencies.urlencoding]
version = "2.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.mockall]
version = "0.12"
[dev-dependencies.rstest]
version = "=0.19.0"
[dev-dependencies.tempfile]
version = "=3.10.1"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"
[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"
[lints.rustdoc]
bare_urls = "deny"