openlark-analytics 0.17.0

飞书开放平台数据分析模块 - 搜索服务、数据分析 API (14 APIs)
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 = "2024"
rust-version = "1.88"
name = "openlark-analytics"
version = "0.17.0"
authors = ["ZoOL <zhooul@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "飞书开放平台数据分析模块 - 搜索服务、数据分析 API (14 APIs)"
homepage = "https://github.com/foxzool/openlark"
documentation = "https://docs.rs/openlark"
readme = false
keywords = [
    "feishu",
    "lark",
    "analytics",
    "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",
    "reqwest",
    "serde_repr",
    "thiserror",
    "url",
    "uuid",
]

[features]
all-analytics = ["full"]
analytics = [
    "search",
    "report",
]
core = []
default = [
    "search",
    "report",
]
full = [
    "search",
    "report",
    "v4",
]
report = [
    "report-core",
    "core",
]
report-core = []
search = [
    "search-core",
    "core",
]
search-core = []
v1 = ["core"]
v2 = ["v1"]
v3 = ["v2"]
v4 = ["v3"]

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

[[test]]
name = "analytics_contract_models"
path = "tests/analytics_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.17.0"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1.10"

[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.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.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"