1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* Anytype gRPC client
* github.com/stevelr/anytype
*
* SPDX-FileCopyrightText: 2025-2026 Steve Schoettler
* SPDX-License-Identifier: Apache-2.0
*/
//! Anytype gRPC client
//!
//! The gRPC api isn't officially supported (by Anytype) for third party clients. However, it's used heavily
//! by the Anytype applications, including the desktop app and headless cli, and it's the only way
//! for applications to access certain functionality that is not available over the HTTP api,
//! such as Files, Chats, Blocks, and Relations.
//!
//! # See also
//!
//! - [anytype](https://crates.io/crates/anytype) An ergonomic Anytype API client in Rust.
//! Includes http rest api plus gRPC backend using this crate, for access to Files and Chats.
//!
//! - [anyr](https://crates.io/crates/anyr) a CLI tool for listing, searching, and performing
//! CRUD operations on anytype objects. Via `anytype`, also includes operations on Files and Chats.
//!
//!
// some protoc files after parsing have comment formatting that clippy doesn't like
// #![allow(clippy::doc_lazy_continuation)]
/// Model types from anytype.model proto package
/// Storage types from anytype.storage proto package
/// Anytype service, events, and RPC types
/// Authentication helpers for creating sessions and attaching tokens.
/// Space backup helpers using ObjectListExport gRPC.
/// gRPC client configuration and helpers.
/// Helpers for headless config-based auth.
/// Logical gRPC deadline configuration and enforcement.
/// Error types for gRPC operations.
/// Helpers for dataview view metadata.