anytype 0.3.0

An ergonomic Anytype API client in rust
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"
name = "anytype"
version = "0.3.0"
authors = ["Steve Schoettler <stevelr-git@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An ergonomic Anytype API client in rust"
homepage = "https://github.com/stevelr/anytype"
readme = "README.md"
keywords = [
    "anytype",
    "api",
    "client",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/stevelr/anytype"

[features]
default = ["grpc"]
grpc = [
    "dep:anytype-rpc",
    "dep:tonic",
    "dep:tonic-prost",
]

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

[[bin]]
name = "anytype-mock-server"
path = "src/bin/anytype-mock-server.rs"

[[example]]
name = "agenda"
path = "examples/agenda.rs"

[[example]]
name = "chat_listener"
path = "examples/chat_listener.rs"

[[example]]
name = "chat_messages"
path = "examples/chat_messages.rs"

[[example]]
name = "create_object"
path = "examples/create_object.rs"

[[example]]
name = "files"
path = "examples/files.rs"

[[example]]
name = "filter_expressions"
path = "examples/filter_expressions.rs"

[[example]]
name = "filters_basic"
path = "examples/filters_basic.rs"

[[example]]
name = "interactive_auth"
path = "examples/interactive_auth.rs"

[[example]]
name = "list_spaces"
path = "examples/list_spaces.rs"

[[example]]
name = "list_tasks"
path = "examples/list_tasks.rs"

[[example]]
name = "list_types_and_properties"
path = "examples/list_types_and_properties.rs"

[[example]]
name = "pagination_stream"
path = "examples/pagination_stream.rs"

[[example]]
name = "retry_eventual_consistency"
path = "examples/retry_eventual_consistency.rs"

[[example]]
name = "search_global"
path = "examples/search_global.rs"

[[example]]
name = "search_in_space"
path = "examples/search_in_space.rs"

[[example]]
name = "templates"
path = "examples/templates.rs"

[[example]]
name = "update_markdown_body"
path = "examples/update_markdown_body.rs"

[[example]]
name = "update_object_properties"
path = "examples/update_object_properties.rs"

[[example]]
name = "views_list_objects"
path = "examples/views_list_objects.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"

[[test]]
name = "test_cache"
path = "tests/test_cache.rs"

[[test]]
name = "test_chat_discovery"
path = "tests/test_chat_discovery.rs"

[[test]]
name = "test_chat_stream"
path = "tests/test_chat_stream.rs"

[[test]]
name = "test_chats"
path = "tests/test_chats.rs"

[[test]]
name = "test_filters"
path = "tests/test_filters.rs"

[[test]]
name = "test_members"
path = "tests/test_members.rs"

[[test]]
name = "test_pagination"
path = "tests/test_pagination.rs"

[[test]]
name = "test_properties"
path = "tests/test_properties.rs"

[[test]]
name = "test_search"
path = "tests/test_search.rs"

[[test]]
name = "test_tags"
path = "tests/test_tags.rs"

[[test]]
name = "test_types"
path = "tests/test_types.rs"

[[test]]
name = "test_validation"
path = "tests/test_validation.rs"

[[test]]
name = "test_views"
path = "tests/test_views.rs"

[dependencies.anytype-rpc]
version = "0.2.1"
optional = true

[dependencies.bytes]
version = "1.11.0"

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]

[dependencies.db-keystore]
version = "0.3.1"

[dependencies.futures]
version = "0.3"

[dependencies.keyring]
version = "4.0.0-beta.3"

[dependencies.keyring-core]
version = "0.7.2"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.prost-types]
version = "0.14.3"

[dependencies.reqwest]
version = "0.12.28"
features = [
    "json",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_path_to_error]
version = "0.1.20"

[dependencies.snafu]
version = "0.8.9"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

[dependencies.tonic]
version = "0.14.2"
optional = true

[dependencies.tonic-prost]
version = "0.14.2"
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.zeroize]
version = "1.8.2"
features = ["derive"]

[dev-dependencies.anyhow]
version = "1.0.100"

[dev-dependencies.clap]
version = "4.5.54"
features = [
    "derive",
    "env",
]

[dev-dependencies.markdown2pdf]
version = "0.2.1"

[dev-dependencies.png]
version = "0.18"

[dev-dependencies.serial_test]
version = "3.3.1"

[dev-dependencies.test-log]
version = "0.2.19"
features = [
    "log",
    "trace",
]

[dev-dependencies.tiny-skia]
version = "0.11"