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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "property_get"
path = "benches/property_get.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

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

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

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

[dependencies.bytes]
version = "1.11.1"

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

[dependencies.ciborium]
version = "0.2.2"

[dependencies.datafusion]
version = "52.5"

[dependencies.futures]
version = "0.3"

[dependencies.jsonb]
version = "0.5.5"
features = [
    "databend",
    "preserve_order",
]
default-features = false

[dependencies.lazy_static]
version = "1.4"

[dependencies.micromegas-datafusion-extensions]
version = "0.24.0"

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

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

[dependencies.micromegas-telemetry]
version = "0.24.0"
features = ["server"]

[dependencies.micromegas-tracing]
version = "0.24.0"
features = ["tokio"]
default-features = false

[dependencies.micromegas-transit]
version = "0.24.0"

[dependencies.moka]
version = "0.12"
features = ["future"]

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

[dependencies.parquet]
version = "57.2"

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

[dependencies.thrift]
version = "0.17"

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

[dependencies.url]
version = "2.5.0"

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

[dependencies.xxhash-rust]
version = "0.8.10"
features = [
    "xxh32",
    "xxh64",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.micromegas-telemetry-sink]
version = "0.24.0"

[dev-dependencies.pin-project]
version = "1.1"

[dev-dependencies.rand]
version = "0.9"

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

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