rs-log2sqlite-grok 0.1.0

Converts the unstructured logs to sqlite using grok.
Documentation
# 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 = "rs-log2sqlite-grok"
version = "0.1.0"
build = false
exclude = [
    "log2sqlite-grok.wasm",
    "log2sqlite-grok",
    "log2parsed.wasm",
    "opt.wasm",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Converts the unstructured logs to sqlite using grok."
homepage = "https://github.com/takanoriyanagitani/rs-log2sqlite-grok"
documentation = "https://docs.rs/rs-log2sqlite-grok/latest"
readme = "README.md"
keywords = [
    "grok",
    "sqlite",
    "log",
    "wasi",
]
license = "Apache-2.0"
repository = "https://github.com/takanoriyanagitani/rs-log2sqlite-grok"

[features]
log2sqlite = ["rusqlite"]

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

[[bin]]
name = "log2parsed"
path = "src/bin/log2parsed.rs"

[[bin]]
name = "log2sqlite-grok"
path = "src/bin/log2sqlite-grok.rs"
required-features = ["log2sqlite"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.grok]
version = "2.4"
features = ["fancy-regex"]
default-features = false

[dependencies.rusqlite]
version = "0.38"
features = ["bundled"]
optional = true
default-features = false

[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"

[profile.release-wasi]
opt-level = "s"
lto = true
codegen-units = 1
inherits = "release"
strip = true