# 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 = "flusso-sinks-core"
version = "0.3.1"
authors = ["Alias2k"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sink trait, JSON rendering, and fan-out for flusso."
homepage = "https://github.com/alias2k/flusso"
readme = "README.md"
keywords = [
    "postgres",
    "opensearch",
    "cdc",
    "search",
    "replication",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/alias2k/flusso"

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

[dependencies.async-trait]
version = "0.1.*"

[dependencies.rust_decimal]
version = "1.*"
features = ["serde-with-str"]

[dependencies.schema-core]
version = "0.3.1"
package = "flusso-schema-core"

[dependencies.serde_json]
version = "1.*"

[dependencies.thiserror]
version = "2.0.*"

[lints.clippy]
expect_used = "deny"
indexing_slicing = "deny"
iter_next_slice = "allow"
len_zero = "deny"
match_bool = "deny"
print_stderr = "deny"
print_stdout = "deny"
unwrap_used = "deny"

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.style]
level = "deny"
priority = -1

[lints.rust]
missing_debug_implementations = "deny"
non_camel_case_types = "deny"
non_snake_case = "deny"
non_upper_case_globals = "deny"
unreachable_patterns = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unused_crate_dependencies = "warn"
unused_imports = "deny"
unused_mut = "deny"
unused_variables = "deny"
warnings = "deny"
