miradb 0.2.0

Mira: an OTLP-native telemetry storage engine in a single binary
# 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.85"
name = "miradb"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Mira: an OTLP-native telemetry storage engine in a single binary"
homepage = "https://miradb.dev"
readme = false
keywords = [
    "observability",
    "opentelemetry",
    "otlp",
    "telemetry",
    "tracing",
]
categories = [
    "database-implementations",
    "development-tools::debugging",
]
license = "Apache-2.0"
repository = "https://github.com/trianalab/mira"

[features]
default = []
webhook-tls = ["dep:hyper-rustls"]

[[bin]]
name = "mira"
path = "src/main.rs"

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

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

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "tokio",
]
default-features = false

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "std",
    "help",
    "usage",
    "error-context",
]
default-features = false

[dependencies.clap_complete]
version = "4"

[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
]

[dependencies.hyper-rustls]
version = "0.27"
features = [
    "http1",
    "ring",
    "webpki-tokio",
    "tls12",
]
optional = true
default-features = false

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "http1",
    "tokio",
]

[dependencies.libc]
version = "0.2"

[dependencies.mira-core]
version = "0.2.0"
package = "miradb-core"

[dependencies.mira-proto]
version = "0.2.0"
package = "miradb-proto"

[dependencies.prost]
version = "0.14"

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

[dependencies.tonic]
version = "0.14"
features = [
    "router",
    "server",
    "codegen",
    "transport",
    "gzip",
]
default-features = false

[dependencies.tonic-types]
version = "0.14"

[dependencies.tracing]
version = "0.1"

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

[dependencies.yaml-rust2]
version = "0.13.0"
default-features = false

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

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

[lints.clippy]
checked_conversions = "warn"
dbg_macro = "deny"
manual_let_else = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
semicolon_if_nothing_returned = "warn"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
uninlined_format_args = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"