acyclic-objects 0.1.3

Immutable Objects contract with gRPC, memory, and durable local providers
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.94"
name = "acyclic-objects"
version = "0.1.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Immutable Objects contract with gRPC, memory, and durable local providers"
documentation = "https://docs.rs/acyclic-objects"
readme = "README.md"
keywords = [
    "objects",
    "storage",
    "grpc",
]
categories = [
    "api-bindings",
    "filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/acyclic-labs/sdk"
resolver = "2"

[features]
default = ["grpc"]
grpc = [
    "dep:tonic",
    "dep:tonic-prost",
]
local = [
    "dep:fs2",
    "dep:libc",
    "tokio/rt-multi-thread",
]

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.blake3]
version = "1.8.2"

[dependencies.bytes]
version = "1.10.1"

[dependencies.fs2]
version = "0.4.3"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.getrandom]
version = "=0.3.4"
features = ["wasm_js"]

[dependencies.hex]
version = "0.4.3"

[dependencies.imbl]
version = "=7.0.2"
default-features = false

[dependencies.prost]
version = "0.14.4"

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

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = ["sync"]
default-features = false

[dependencies.tonic]
version = "0.14.6"
features = [
    "tls-ring",
    "tls-webpki-roots",
]
optional = true

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

[dev-dependencies.rcgen]
version = "0.14.10"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.tokio]
version = "1.48.0"
features = [
    "fs",
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
    "macros",
    "rt",
]

[dev-dependencies.tokio-stream]
version = "0.1.19"
features = ["net"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.acyclic-native-runtime]
version = "=0.1.3"

[target.'cfg(target_vendor = "apple")'.dependencies.libc]
version = "0.2.175"
optional = true

[lints.clippy]
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
cognitive_complexity = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
expect_used = "deny"
fallible_impl_from = "warn"
if_not_else = "warn"
indexing_slicing = "warn"
inefficient_to_string = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
match_same_arms = "warn"
missing_panics_doc = "warn"
needless_pass_by_value = "warn"
panic = "deny"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
str_to_string = "warn"
string_slice = "warn"
todo = "warn"
too_many_lines = "warn"
unimplemented = "warn"
uninlined_format_args = "warn"
unwrap_in_result = "warn"
unwrap_used = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"