libhaystack 2.0.8

Rust implementation of the Haystack 4 data types, defs, filter, units, and encodings
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 = "2021"
name = "libhaystack"
version = "2.0.8"
authors = [
    "J2 Innovations",
    "Radu Racariu <radur@j2inn.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the Haystack 4 data types, defs, filter, units, and encodings"
homepage = "https://github.com/j2inn/libhaystack/"
readme = "README.md"
keywords = [
    "iot",
    "bas",
    "haystack",
]
categories = [
    "command-line-utilities",
    "data-structures",
    "encoding",
    "parser-implementations",
]
license = "BSD-3-Clause"
repository = "https://github.com/j2inn/libhaystack/"

[features]
brio = [
    "brio-encoding",
    "brio-decoding",
]
brio-decoding = []
brio-encoding = []
c-api = [
    "c-api-filter",
    "c-api-json",
    "c-api-zinc",
    "c-api-brio",
    "c-api-trio",
]
c-api-brio = ["brio"]
c-api-filter = ["filter"]
c-api-json = ["json"]
c-api-trio = ["trio"]
c-api-zinc = ["zinc"]
default = [
    "encoders",
    "filter",
    "timezone",
    "units",
    "c-api",
]
defs = ["value"]
encoders = [
    "value",
    "json",
    "zinc",
    "brio",
    "trio",
]
filter = [
    "value",
    "defs",
    "zinc-decoding",
]
json = [
    "json-encoding",
    "json-decoding",
]
json-decoding = []
json-encoding = []
timezone = ["timezone-db"]
timezone-db = []
trio = [
    "trio-encoding",
    "trio-decoding",
]
trio-decoding = ["zinc-decoding"]
trio-encoding = ["zinc-encoding"]
units = ["units-db"]
units-db = []
value = [
    "units",
    "timezone",
    "encoders",
]
zinc = [
    "zinc-encoding",
    "zinc-decoding",
]
zinc-decoding = []
zinc-encoding = []

[lib]
name = "libhaystack"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

[[bench]]
name = "gen_brio_fixture"
path = "benches/gen_brio_fixture.rs"

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

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

[dependencies.chrono]
version = "0.4.41"

[dependencies.chrono-tz]
version = "0.10.3"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.lazy_static]
version = "1.4"

[dependencies.regex]
version = "1.10.3"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.uuid]
version = "1.1"
features = ["v4"]

[dev-dependencies.criterion]
version = "0.5.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.7"

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.1"
features = [
    "v4",
    "js",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = ["console"]