rulesxp 0.3.1

Multi-language rules expression evaluator supporting JSONLogic and Scheme with strict typing
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"
rust-version = "1.90"
name = "rulesxp"
version = "0.3.1"
authors = ["Eugene Talagrand"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-language rules expression evaluator supporting JSONLogic and Scheme with strict typing"
readme = "README.md"
keywords = [
    "jsonlogic",
    "scheme",
    "expression",
    "evaluator",
    "rules",
]
categories = [
    "parsing",
    "compilers",
]
license = "MIT"
repository = "https://github.com/microsoft/rulesxp"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
jsonlogic = ["dep:serde_json"]
scheme = []

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

[[example]]
name = "demo"
path = "examples/demo.rs"
required-features = [
    "scheme",
    "jsonlogic",
]

[[example]]
name = "repl"
path = "examples/repl.rs"
required-features = [
    "scheme",
    "jsonlogic",
]

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

[[bench]]
name = "bench_main"
path = "benches/bench_main.rs"
harness = false
required-features = [
    "scheme",
    "jsonlogic",
]

[dependencies.nom]
version = "8.0"

[dependencies.serde_json]
version = "1.0.25"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.rustyline]
version = "17.0"

[lints.clippy]
allow_attributes = "warn"
clone_on_ref_ptr = "warn"
index_refutable_slice = "warn"
indexing_slicing = "warn"
manual_assert = "warn"
redundant_clone = "warn"
string_slice = "warn"
uninlined_format_args = "warn"
unnecessary_to_owned = "warn"
unwrap_used = "warn"

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