photon 0.2.0

Client SDK for Photon
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 = "photon"
version = "0.2.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client SDK for Photon"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/tensaur/photon"

[lib]
name = "photon"
path = "src/lib.rs"
bench = false

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

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

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

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.lasso]
version = "0.7"
features = ["multi-threaded"]

[dependencies.photon-batch]
version = "0.2.0"

[dependencies.photon-core]
version = "0.2.0"

[dependencies.photon-protocol]
version = "0.2.0"

[dependencies.photon-transport]
version = "0.2.0"

[dependencies.photon-uplink]
version = "0.2.0"

[dependencies.photon-wal]
version = "0.2.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "signal",
]

[dependencies.tracing]
version = "0.1"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"

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

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

[lints.rust]
unreachable_pub = "warn"