datalogic-rs 4.0.21

A fast, type-safe Rust implementation of JSONLogic for evaluating logical rules as JSON. Perfect for business rules engines and dynamic filtering in Rust applications.
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 = "datalogic-rs"
version = "4.0.21"
authors = ["Harishankar Narayanan <nharishankar@gmail.com>"]
build = false
exclude = [
    ".DS_Store",
    "/target",
    ".vscode",
    ".github",
    "/docs",
    "/wasm",
    "/ui",
    "pnpm-lock.yaml",
    "pnpm-workspace.yaml",
    "package.json",
    "test-wasm.cjs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, type-safe Rust implementation of JSONLogic for evaluating logical rules as JSON. Perfect for business rules engines and dynamic filtering in Rust applications."
homepage = "https://github.com/GoPlasmatic/datalogic-rs"
readme = "README.md"
keywords = [
    "rules",
    "engine",
    "json",
    "logic",
]
categories = [
    "data-structures",
    "development-tools",
    "parsing",
]
license = "Apache-2.0"
repository = "https://github.com/GoPlasmatic/datalogic-rs"

[features]
default = []
wasm = ["chrono/wasmbind"]

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

[[example]]
name = "benchmark"
path = "examples/benchmark.rs"

[[example]]
name = "configuration"
path = "examples/configuration.rs"

[[example]]
name = "custom_operator"
path = "examples/custom_operator.rs"

[[example]]
name = "structured_objects"
path = "examples/structured_objects.rs"

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4.44"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.regex]
version = "1.12.3"
features = [
    "std",
    "perf",
    "unicode",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = ["full"]