# 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 = "nemo-relay-ffi"
version = "0.4.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C-compatible FFI bindings for integrating NeMo Relay into native applications."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/NVIDIA/NeMo-Relay"
resolver = "2"

[lib]
name = "nemo_relay_ffi"
crate-type = [
    "cdylib",
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

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

[dependencies.chrono]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.nemo-relay]
version = "0.4.0"
features = [
    "atof-streaming",
    "otel",
    "openinference",
]
default-features = false

[dependencies.nemo-relay-adaptive]
version = "0.4.0"
features = ["redis-backend"]

[dependencies.nemo-relay-pii-redaction]
version = "0.4.0"

[dependencies.serde_json]
version = "1"

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

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

[dependencies.uuid]
version = "=1.18.1"
features = ["v7"]

[build-dependencies.cbindgen]
version = "0.29.2"

[lints.rust]
missing_docs = "deny"
