# 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 = "1.0.14" authors = [ "J2 Innovations", "Radu Racariu ", ] 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/" [lib] name = "libhaystack" crate-type = [ "cdylib", "rlib", ] [[bench]] name = "main" harness = false [dependencies.chrono] version = "0.4" [dependencies.chrono-tz] version = "0.6" [dependencies.dashmap] version = "5.4" [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.3" [features] c-api = [ "c-api-filter", "c-api-json", "c-api-zinc", ] c-api-filter = ["filter"] c-api-json = ["json"] c-api-zinc = ["zinc"] default = [ "encoders", "filter", "timezone", "units", "c-api", ] defs = ["value"] encoders = [ "value", "json", "zinc", ] filter = [ "value", "defs", "zinc-decoding", ] json = [ "json-encoding", "json-decoding", ] json-decoding = [] json-encoding = [] timezone = ["timezone-db"] timezone-db = [] units = ["units-db"] units-db = [] value = [ "units", "timezone", "encoders", ] zinc = [ "zinc-encoding", "zinc-decoding", ] zinc-decoding = [] zinc-encoding = [] [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"]