camgrab-core 1.0.1

Core library for camgrab - camera capture, motion detection, and notification system
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.75"
name = "camgrab-core"
version = "1.0.1"
authors = ["Justin Huang"]
build = false
exclude = [
    "tests/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for camgrab - camera capture, motion detection, and notification system"
homepage = "https://github.com/justinhuangcode/camgrab"
readme = "README.md"
keywords = [
    "camera",
    "rtsp",
    "onvif",
    "surveillance",
    "motion-detection",
]
categories = [
    "multimedia::video",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/justinhuangcode/camgrab"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22"

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

[dependencies.dirs]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.image]
version = "0.25"

[dependencies.lettre]
version = "0.11"
features = [
    "builder",
    "tokio1-rustls-tls",
    "smtp-transport",
]
default-features = false

[dependencies.notify]
version = "7"

[dependencies.openh264]
version = "0.9"
features = ["source"]

[dependencies.quick-xml]
version = "0.37"
features = ["serialize"]

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

[dependencies.retina]
version = "0.4"

[dependencies.rumqttc]
version = "0.24"

[dependencies.rust-s3]
version = "0.35"
features = ["tokio-rustls-tls"]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha1]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "fs",
    "io-util",
    "time",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
    "macros",
]

[lints.clippy]
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_else_if = "allow"
collapsible_str_replace = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
double_ended_iterator_last = "allow"
field_reassign_with_default = "allow"
float_cmp = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
io_other_error = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
single_match_else = "allow"
to_string_in_format_args = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_literal_bound = "allow"
unnecessary_semicolon = "allow"
unreadable_literal = "allow"
unused_async = "allow"

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

[lints.rust]
unsafe_code = "deny"