[package]
edition = "2024"
rust-version = "1.89"
name = "esdiag"
version = "0.16.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Elastic Stack diagnostic collector and processor"
homepage = "https://github.com/elastic/esdiag"
documentation = "https://github.com/elastic/esdiag/tree/main/docs"
readme = "README.md"
license = "Elastic-2.0"
repository = "https://github.com/elastic/esdiag"
[features]
default = ["full"]
desktop = [
"server",
"dep:tauri",
"dep:tauri-build",
"dep:tauri-plugin-opener",
]
full = [
"server",
"setup",
"keystore",
]
keystore = []
server = []
setup = []
[lib]
name = "esdiag"
path = "src/lib.rs"
[[bin]]
name = "esdiag"
path = "src/main.rs"
[[test]]
name = "agent_cli_tests"
path = "tests/agent_cli_tests.rs"
[[test]]
name = "archive_lookup_enriched_processors_tests"
path = "tests/archive_lookup_enriched_processors_tests.rs"
[[test]]
name = "collection_tests"
path = "tests/collection_tests.rs"
[[test]]
name = "elasticsearch_asset_templates_tests"
path = "tests/elasticsearch_asset_templates_tests.rs"
[[test]]
name = "host_cli_tests"
path = "tests/host_cli_tests.rs"
[[test]]
name = "keystore_cli_tests"
path = "tests/keystore_cli_tests.rs"
[[test]]
name = "keystore_web_unlock_tests"
path = "tests/keystore_web_unlock_tests.rs"
[[test]]
name = "logstash_archive_processing_tests"
path = "tests/logstash_archive_processing_tests.rs"
[[test]]
name = "logstash_collection_tests"
path = "tests/logstash_collection_tests.rs"
[[test]]
name = "runtime_mode_desktop_settings_tests"
path = "tests/runtime_mode_desktop_settings_tests.rs"
[[test]]
name = "runtime_mode_web_tests"
path = "tests/runtime_mode_web_tests.rs"
[[test]]
name = "server_ui_docs_theme_tests"
path = "tests/server_ui_docs_theme_tests.rs"
[[test]]
name = "service_link_parser_tests"
path = "tests/service_link_parser_tests.rs"
[[test]]
name = "service_link_wait_tests"
path = "tests/service_link_wait_tests.rs"
[[test]]
name = "sources_override_tests"
path = "tests/sources_override_tests.rs"
[dependencies.aes-gcm-siv]
version = "0.11.1"
[dependencies.askama]
version = "0.15.6"
features = [
"derive",
"std",
"serde_json",
]
default-features = false
[dependencies.async-stream]
version = "0.3.6"
[dependencies.axum]
version = "0.8.9"
features = [
"multipart",
"macros",
]
[dependencies.axum-server]
version = "0.8.0"
[dependencies.base64]
version = "0.22.1"
[dependencies.bytes]
version = "1.11.1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
"serde",
]
default-features = false
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.datastar]
version = "0.3.1"
features = ["axum"]
[dependencies.elasticsearch]
version = "9.1.0-alpha.1"
[dependencies.eyre]
version = "0.6.12"
[dependencies.futures]
version = "0.3"
[dependencies.indexmap]
version = "2.14.0"
features = ["serde"]
[dependencies.json-patch]
version = "4.2"
[dependencies.kibana-sync]
version = "0.3.2"
[dependencies.mimalloc]
version = "0.1.52"
[dependencies.pbkdf2]
version = "0.12.2"
[dependencies.pulldown-cmark]
version = "0.13.4"
[dependencies.rand]
version = "0.10.1"
[dependencies.rayon]
version = "1.12"
[dependencies.regex]
version = "1.12"
[dependencies.reqwest]
version = "0.12.28"
features = [
"json",
"blocking",
"multipart",
]
[dependencies.rpassword]
version = "7.5.4"
[dependencies.rust-embed]
version = "8.11.0"
features = [
"compression",
"include-exclude",
]
[dependencies.semver]
version = "1.0.28"
features = ["serde"]
[dependencies.serde]
version = "1.0.228"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.150"
features = [
"float_roundtrip",
"raw_value",
]
[dependencies.serde_with]
version = "3.20.0"
features = ["macros"]
default-features = false
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10.9"
[dependencies.tar]
version = "0.4.46"
optional = true
default-features = false
[dependencies.tauri]
version = "2.11.2"
features = []
optional = true
[dependencies.tauri-plugin-opener]
version = "2"
optional = true
[dependencies.tokio]
version = "1.52"
features = [
"rt-multi-thread",
"macros",
"time",
"signal",
"sync",
"io-util",
"net",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-log]
version = "0.2"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"tracing-log",
]
[dependencies.url]
version = "2.5.8"
features = ["serde"]
[dependencies.urlencoding]
version = "2.1.3"
[dependencies.uuid]
version = "1.23"
features = [
"v4",
"fast-rng",
]
[dependencies.zip]
version = "8.6.0"
features = ["deflate-flate2"]
default-features = false
[dev-dependencies.portpicker]
version = "0.1.1"
[dev-dependencies.reqwest]
version = "0.12.28"
features = [
"json",
"blocking",
"multipart",
]
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.52"
features = [
"fs",
"rt-multi-thread",
"macros",
"time",
"signal",
"sync",
"io-util",
]
[dev-dependencies.tokio-test]
version = "0.4.5"
[build-dependencies.flate2]
version = "1.1"
features = ["rust_backend"]
default-features = false
[build-dependencies.tar]
version = "0.4.46"
default-features = false
[build-dependencies.tauri-build]
version = "2.6.2"
features = ["codegen"]
optional = true
[build-dependencies.zip]
version = "8.6.0"
features = ["deflate-flate2"]
default-features = false