# 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 = "omnigraph-server"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP server for the Omnigraph graph database."
homepage = "https://github.com/ModernRelay/omnigraph"
documentation = "https://docs.rs/omnigraph-server"
readme = false
license = "MIT"
repository = "https://github.com/ModernRelay/omnigraph"
resolver = "2"

[features]
aws = [
    "dep:aws-config",
    "dep:aws-sdk-secretsmanager",
]
default = []

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

[[bin]]
name = "omnigraph-server"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.arc-swap]
version = "1"

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

[dependencies.aws-config]
version = "1"
features = [
    "rustls",
    "rt-tokio",
    "credentials-process",
    "sso",
]
optional = true
default-features = false

[dependencies.aws-sdk-secretsmanager]
version = "1"
features = [
    "rustls",
    "rt-tokio",
]
optional = true
default-features = false

[dependencies.axum]
version = "0.8"
features = [
    "json",
    "macros",
]

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.color-eyre]
version = "0.6"

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.omnigraph]
version = "0.7.1"
package = "omnigraph-engine"

[dependencies.omnigraph-api-types]
version = "0.7.1"

[dependencies.omnigraph-cluster]
version = "0.7.1"

[dependencies.omnigraph-compiler]
version = "0.7.1"

[dependencies.omnigraph-policy]
version = "0.7.1"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

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

[dependencies.tower-http]
version = "0.6"
features = ["trace"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]

[dev-dependencies.lance]
version = "7.0.0"
features = ["aws"]
default-features = false

[dev-dependencies.lance-index]
version = "7.0.0"

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

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

[dev-dependencies.tower]
version = "0.5"
