# 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 = "micromegas"
version = "0.16.0"
authors = ["Marc-Antoine Desroches <madesroches@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Micromegas is a scalable observability solution."
homepage = "https://github.com/madesroches/micromegas/"
readme = "README.md"
keywords = [
    "observability",
    "telemetry",
    "analytics",
]
license = "Apache-2.0"
repository = "https://github.com/madesroches/micromegas/"
resolver = "2"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.arrow-flight]
version = "57.0"
features = ["flight-sql-experimental"]

[dependencies.async-stream]
version = "0.3"

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

[dependencies.axum]
version = "0.8"

[dependencies.bytes]
version = "1.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.datafusion]
version = "51.0"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1.1"

[dependencies.micromegas-analytics]
version = "0.16.0"

[dependencies.micromegas-auth]
version = "0.16.0"

[dependencies.micromegas-ingestion]
version = "0.16.0"

[dependencies.micromegas-perfetto]
version = "0.16.0"

[dependencies.micromegas-proc-macros]
version = "0.16.0"

[dependencies.micromegas-telemetry]
version = "0.16.0"

[dependencies.micromegas-telemetry-sink]
version = "0.16.0"

[dependencies.micromegas-tracing]
version = "0.16.0"

[dependencies.object_store]
version = "0.12"
features = ["aws"]

[dependencies.once_cell]
version = "1.7.2"

[dependencies.prost]
version = "0.14"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio",
    "postgres",
    "chrono",
    "uuid",
]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.47"
features = [
    "macros",
    "rt-multi-thread",
    "tracing",
    "io-util",
]

[dependencies.tonic]
version = "0.14"
features = [
    "server",
    "tls-ring",
    "tls-native-roots",
]

[dependencies.tower]
version = "0.5"

[dependencies.uuid]
version = "1.8"
features = [
    "v4",
    "serde",
]

[dev-dependencies.wiremock]
version = "0.6"
