[package]
edition = "2024"
rust-version = "1.97.1"
name = "elasticctl"
version = "0.1.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Operate Elastic Security as code with a safety-first CLI for security engineers."
readme = false
license = "Apache-2.0"
repository = "https://github.com/dannyota/elasticctl"
[[bin]]
name = "elasticctl"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "config_cmd"
path = "tests/config_cmd.rs"
[[test]]
name = "debug"
path = "tests/debug.rs"
[[test]]
name = "doctor"
path = "tests/doctor.rs"
[[test]]
name = "guard_writes_to_stderr"
path = "tests/guard_writes_to_stderr.rs"
[[test]]
name = "info"
path = "tests/info.rs"
[[test]]
name = "live"
path = "tests/live.rs"
[[test]]
name = "meta"
path = "tests/meta.rs"
[[test]]
name = "no_tty_detection"
path = "tests/no_tty_detection.rs"
[[test]]
name = "permission_warning"
path = "tests/permission_warning.rs"
[[test]]
name = "rules_io"
path = "tests/rules_io.rs"
[[test]]
name = "rules_mutate"
path = "tests/rules_mutate.rs"
[[test]]
name = "rules_preview"
path = "tests/rules_preview.rs"
[[test]]
name = "rules_query"
path = "tests/rules_query.rs"
[[test]]
name = "rules_read"
path = "tests/rules_read.rs"
[[test]]
name = "state"
path = "tests/state.rs"
[[test]]
name = "state_selection"
path = "tests/state_selection.rs"
[dependencies.clap]
version = "4.6.6"
features = ["derive"]
[dependencies.clap_complete]
version = "4.6.9"
[dependencies.elasticctl-api]
version = "0.1.3"
[dependencies.elasticctl-core]
version = "0.1.3"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
features = ["preserve_order"]
[dependencies.serde_yaml_ng]
version = "0.10.0"
[dependencies.tokio]
version = "1.53.1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[dev-dependencies.assert_cmd]
version = "2.2.2"
[dev-dependencies.predicates]
version = "3.1.4"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.53.1"
features = ["full"]
[dev-dependencies.wiremock]
version = "0.6.5"