[package] name = "open-lark" version = "0.3.2" edition = "2021" authors = ["ZoOL "] readme = "README.md" description = "Lark/Feishu Open API SDK(WIP)" keywords = ["sdk", "feishu", "lark", "rest"] categories = ["api-bindings"] documentation = "https://docs.rs/open-lark" repository = "https://github.com/foxzool/open-lark" homepage = "https://github.com/foxzool/open-lark" license = "MIT OR Apache-2.0" [features] websocket = ["tokio-tungstenite", "prost", "lark-websocket-protobuf"] [workspace] members = ["crates/*"] [dependencies] lark-websocket-protobuf = { path = "crates/protobuf", version = "0.1.1", optional = true } anyhow = "1.0.86" async-recursion = "1.1.1" base64 = "0.22.1" chrono = "0.4.38" futures-util = { version = "0.3.30", default-features = false, features = [ "sink", "std", ] } hmac = "0.12.1" lazy_static = "1.4.0" log = "0.4.21" kanal = "0.1.0-pre8" prost = { version = "0.13.1", optional = true } quick_cache = { version = "0.6.3", features = [] } rand = "0.9.0-alpha.1" reqwest = { version = "0.12.7", default-features = false, features = ["json", "multipart", "rustls-tls"] } simd-adler32 = "0.3.7" serde_repr = "0.1.19" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sha2 = "0.10.8" strum = "0.26.2" strum_macros = "0.26.4" thiserror = "1.0.61" tokio = { version = "1.38", features = ["rt", "rt-multi-thread", "macros"] } tokio-stream = "0.1.15" url = { version = "2.5.0", features = ["serde"] } tokio-tungstenite = { version = "0.23", features = ["rustls-tls-native-roots"], optional = true } futures-channel = "0.3.30" [dev-dependencies] dotenvy = "0.15.7" env_logger = "0.11.3" uuid = { version = "1.8.0", features = ["v4"] } [[example]] name = "ws_client" path = "examples/ws_client.rs" required-features = ["websocket"] [[example]] name = "card_column_set" path = "examples/card/column_set.rs" [[example]] name = "card_form_set" path = "examples/card/form.rs" [[example]] name = "card_interactive" path = "examples/card/interactive.rs" [[example]] name = "card_collapsible" path = "examples/card/collapsible.rs" [[example]] name = "create_message" path = "examples/api/im/v1/create_message.rs" [[example]] name = "list_message" path = "examples/api/im/v1/list_message.rs" [[example]] name = "list_chat" path = "examples/api/im/v1/list_chat.rs" [[example]] name = "file_upload_all" path = "examples/api/drive/v1/files/upload_all.rs" [[example]] name = "file_download" path = "examples/api/drive/v1/files/download.rs" [[example]] name = "root_meta" path = "examples/api/drive/v2/explorer/meta.rs" [[example]] name = "create_folder" path = "examples/api/drive/v2/explorer/create_folder.rs" [[example]] name = "list_folder" path = "examples/api/drive/v2/explorer/list_folder.rs" [[example]] name = "get_permission" path = "examples/api/drive/v2/permission/get.rs" [[example]] name = "patch_permission" path = "examples/api/drive/v2/permission/patch.rs" [[example]] name = "search_user" path = "examples/api/search/v1/user.rs" # 电子表格 [[example]] name = "sheet-add-rows-or-columns" path = "examples/api/sheets/v2/spreadsheet/add_row_or_columns.rs" [[example]] name = "sheet-insert-rows-or-columns" path = "examples/api/sheets/v2/spreadsheet/insert_row_or_columns.rs" [[example]] name = "sheet-update-rows-or-columns" path = "examples/api/sheets/v2/spreadsheet/update_row_or_columns.rs" # 删除行列 [[example]] name = "sheet-delete-rows-or-columns" path = "examples/api/sheets/v2/spreadsheet/delete_row_or_columns.rs" # 插入数据 [[example]] name = "sheet-prepend_data" path = "examples/api/sheets/v2/data-operation/prepend_data.rs" # 追加数据 [[example]] name = "sheet-append_data" path = "examples/api/sheets/v2/data-operation/append_data.rs" # 读取单个范围 [[example]] name = "sheet-reading_a_single_range" path = "examples/api/sheets/v2/data-operation/reading_a_single_range.rs" # 向单个范围写入数据 [[example]] name = "sheet-write_a_single_range" path = "examples/api/sheets/v2/data-operation/write_a_single_range.rs" # 读取多个范围 [[example]] name = "sheet-reading_multi_ranges" path = "examples/api/sheets/v2/data-operation/reading_multi_ranges.rs" # 向单个范围写入数据 [[example]] name = "sheet-write_multi_ranges" path = "examples/api/sheets/v2/data-operation/write_multi_ranges.rs" # 设置单元格样式 [[example]] name = "sheet-set_cell_style" path = "examples/api/sheets/v2/data-operation/set_cell_style.rs" # 批量设置单元格样式 [[example]] name = "sheet-write_image" path = "examples/api/sheets/v2/data-operation/write_image.rs" # 写入图片 [[example]] name = "sheet-batch_set_cell_style" path = "examples/api/sheets/v2/data-operation/batch_set_cell_style.rs" # 合并单元格 [[example]] name = "sheet-merge_cells" path = "examples/api/sheets/v2/data-operation/merge_cells.rs" # 拆分单元格 [[example]] name = "sheet-split_cells" path = "examples/api/sheets/v2/data-operation/split_cells.rs" # 操作工作表 [[example]] name = "operate_spreadsheet_sheet" path = "examples/api/sheets/v2/spreadsheet-sheet/operate.rs" # 更新工作表属性 [[example]] name = "update_spreadsheet_sheet_properties" path = "examples/api/sheets/v2/spreadsheet-sheet/update.rs" # 查找单元格 [[example]] name = "sheet-find_cells" path = "examples/api/sheets/v3/data_operation/find_cells.rs" # 替换单元格 [[example]] name = "sheet-relace_cells" path = "examples/api/sheets/v3/data_operation/replace_cells.rs" [[example]] name = "create_spreadsheet" path = "examples/api/sheets/v3/spreadsheet/create.rs" [[example]] name = "patch_spreadsheet" path = "examples/api/sheets/v3/spreadsheet/patch.rs" [[example]] name = "get_spreadsheet" path = "examples/api/sheets/v3/spreadsheet/get.rs" # 查询工作表 [[example]] name = "get_spreadsheet_sheet" path = "examples/api/sheets/v3/spreadsheet-sheet/get.rs" # 获取工作表 [[example]] name = "query_spreadsheet_sheet" path = "examples/api/sheets/v3/spreadsheet-sheet/query.rs" # 移动行列 [[example]] name = "sheet_move_dimension" path = "examples/api/sheets/v3/spreadsheet-sheet/move_dimension.rs" # 获取筛选 [[example]] name = "spreadsheet-sheet-filter-get" path = "examples/api/sheets/v3/spreadsheet-sheet-filter/get.rs" # 创建筛选 [[example]] name = "spreadsheet-sheet-filter-create" path = "examples/api/sheets/v3/spreadsheet-sheet-filter/create.rs" # 更新筛选 [[example]] name = "spreadsheet-sheet-filter-update" path = "examples/api/sheets/v3/spreadsheet-sheet-filter/update.rs" # 删除筛选 [[example]] name = "spreadsheet-sheet-filter-delete" path = "examples/api/sheets/v3/spreadsheet-sheet-filter/delete.rs" [[example]] name = "get_bitable" path = "examples/api/bitable/v1/app/get.rs" [[example]] name = "app_table_record_search" path = "examples/api/bitable/v1/app_table_record/search.rs" [[example]] name = "app_table_field_list" path = "examples/api/bitable/v1/app_table_field/list.rs"