typesafe-jev 0.2.0

Typed client for TypeSafe's System One API and its Jev model: calibrated Noul, Choice and Score answers about JSON state, with retries, adaptive concurrency and usage accounting
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"
rust-version = "1.85"
name = "typesafe-jev"
version = "0.2.0"
build = false
include = [
    "/src",
    "/tests",
    "/examples",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed client for TypeSafe's System One API and its Jev model: calibrated Noul, Choice and Score answers about JSON state, with retries, adaptive concurrency and usage accounting"
homepage = "https://github.com/thehumanworks/jevgrep/tree/main/crates/typesafe-jev"
documentation = "https://docs.rs/typesafe-jev"
readme = "README.md"
keywords = [
    "typesafe",
    "jev",
    "system-one",
    "api-client",
    "classification",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/thehumanworks/jevgrep"

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

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

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

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

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

[dependencies.indexmap]
version = "2.0.0"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0.45"

[dependencies.ureq]
version = "3.0.0"
features = [
    "rustls",
    "gzip",
]
default-features = false

[lints.clippy]
as_ptr_cast_mut = "deny"
correctness = "deny"
dbg_macro = "deny"
debug_assert_with_mut_call = "deny"
deref_by_slicing = "deny"
empty_drop = "deny"
float_cmp_const = "deny"
fn_to_numeric_cast_any = "deny"
get_unwrap = "deny"
implicit_saturating_sub = "deny"
inconsistent_struct_constructor = "deny"
infinite_loop = "deny"
invalid_upcast_comparisons = "deny"
large_stack_arrays = "deny"
lossy_float_literal = "deny"
match_same_arms = "deny"
match_wild_err_arm = "deny"
mem_forget = "deny"
option_option = "deny"
range_minus_one = "deny"
range_plus_one = "deny"
rest_pat_in_fully_bound_structs = "deny"
same_functions_in_if_condition = "deny"
string_slice = "deny"
suspicious = "deny"
suspicious_operation_groupings = "deny"
todo = "deny"
trivial_regex = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unused_rounding = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"