stateset-java 0.7.13

Java JNI bindings for StateSet Embedded Commerce
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 = "stateset-java"
version = "0.7.13"
authors = ["StateSet <support@stateset.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Java JNI bindings for StateSet Embedded Commerce"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/stateset/stateset-icommerce"
resolver = "2"

[lib]
name = "stateset_java"
crate-type = ["cdylib"]
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.jni]
version = "0.21"

[dependencies.rust_decimal]
version = "1.36"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.stateset-core]
version = "0.7.13"

[dependencies.stateset-embedded]
version = "0.7.13"

[dependencies.thiserror]
version = "1.0"

[dependencies.uuid]
version = "1.4"
features = [
    "v4",
    "serde",
]

[build-dependencies.jni]
version = "0.21"

[lints.clippy]
borrow_as_ptr = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
derive_partial_eq_without_eq = "warn"
doc_markdown = "warn"
explicit_iter_loop = "warn"
flat_map_option = "warn"
implicit_clone = "warn"
manual_string_new = "warn"
missing_const_for_fn = "warn"
needless_pass_by_ref_mut = "warn"
redundant_clone = "warn"
result_large_err = "allow"
use_self = "warn"

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

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unused_must_use = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
all = "warn"