audio2face3d-server 0.1.0

Audio2Face-3D compatible gRPC server
# 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.91"
name = "audio2face3d-server"
version = "0.1.0"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Audio2Face-3D compatible gRPC server"
readme = "README.md"
license = "MIT"
repository = "https://github.com/aosoft/audio2face3d-rs"
resolver = "2"

[package.metadata.docs.rs]
default-features = false
features = ["mock"]

[features]
cli = [
    "audio2face3d/cli-logging",
    "dep:tracing",
    "audio2face3d/runtime-cli",
    "dep:subtle",
    "dep:clap",
    "tokio/signal",
]
default = ["native"]
mock = ["audio2face3d/mock"]
native = ["audio2face3d/native"]

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

[[bin]]
name = "audio2face3d-server"
path = "src/main.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.audio2face3d]
version = "0.1.0"
features = ["grpc-server"]
default-features = false

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.prost]
version = "=0.14.4"

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

[dependencies.subtle]
version = "2.6.1"
optional = true

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

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

[dependencies.tokio-util]
version = "0.7.18"
features = ["rt"]

[dependencies.tonic]
version = "=0.14.6"

[dependencies.tonic-health]
version = "=0.14.6"

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.h2]
version = "0.4.18"

[dev-dependencies.http]
version = "1.4.0"

[dev-dependencies.serde_json]
version = "1.0"

[lints.clippy]
undocumented_unsafe_blocks = "deny"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"