spicedb-embedded 0.1.21

Embedded SpiceDB for Rust - embedded authorization using the standard gRPC API
# 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 = "spicedb-embedded"
version = "0.1.21"
build = "build.rs"
exclude = [
    "**/*.so",
    "**/*.dylib",
    "**/*.dll",
    "**/*.lib",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embedded SpiceDB for Rust - embedded authorization using the standard gRPC API"
readme = "README.md"
keywords = [
    "spicedb",
    "zanzibar",
    "authorization",
    "access-control",
    "fine-grained",
]
categories = [
    "authentication",
    "api-bindings",
    "development-tools",
    "development-tools::ffi",
    "security",
]
license = "Apache-2.0"
repository = "https://github.com/borkfork/spicedb-embedded"

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

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "http1",
    "tokio",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.spicedb-grpc]
version = "0.1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "sync",
    "rt-multi-thread",
]

[dependencies.tonic]
version = "0.12"

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.testcontainers-modules]
version = "0.14"
features = [
    "postgres",
    "mysql",
    "cockroach_db",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tokio-stream]
version = "0.1"

[build-dependencies]

[lints.clippy]
all = "deny"
missing_const_for_fn = "deny"
needless_collect = "deny"
or_fun_call = "deny"
panicking_unwrap = "deny"
pedantic = "deny"
redundant_clone = "deny"
unnecessary_literal_unwrap = "deny"
unnecessary_unwrap = "deny"
unwrap_in_result = "deny"

[lints.rust]
future-incompatible = "deny"
non_local_definitions = "allow"
nonstandard-style = "deny"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0