foxglove 0.17.2

Foxglove SDK
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.83.0"
name = "foxglove"
version = "0.17.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Foxglove SDK"
readme = "README.md"
license = "MIT"
repository = "https://github.com/foxglove/foxglove-sdk"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
agent = ["live_visualization"]
chrono = ["dep:chrono"]
default = [
    "derive",
    "live_visualization",
    "lz4",
    "zstd",
]
derive = ["dep:foxglove_derive"]
img2yuv = [
    "img2yuv-png",
    "img2yuv-jpeg",
    "img2yuv-webp",
]
img2yuv-core = [
    "dep:image",
    "dep:yuv",
]
img2yuv-jpeg = [
    "img2yuv-core",
    "image/jpeg",
]
img2yuv-png = [
    "img2yuv-core",
    "image/png",
]
img2yuv-ros1 = [
    "img2yuv-core",
    "dep:regex",
]
img2yuv-ros2 = [
    "img2yuv-core",
    "dep:cdr",
    "dep:regex",
]
img2yuv-webp = [
    "img2yuv-core",
    "image/webp",
]
live_visualization = [
    "dep:base64",
    "dep:flume",
    "dep:futures-util",
    "dep:tokio",
    "dep:tokio-util",
    "dep:tokio-tungstenite",
    "dep:serde_repr",
    "dep:serde_with",
]
lz4 = ["mcap/lz4"]
schemars = ["dep:schemars"]
schemars-chrono = [
    "schemars",
    "chrono",
    "schemars/chrono04",
]
serde = ["dep:base64"]
stream = ["dep:futures"]
tls = [
    "live_visualization",
    "tokio-tungstenite/rustls-tls-native-roots",
    "dep:aws-lc-rs",
    "dep:tokio-rustls",
    "dep:rcgen",
]
unstable = []
zstd = ["mcap/zstd"]

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

[dependencies.arc-swap]
version = "1.7.1"

[dependencies.aws-lc-rs]
version = "1.13.3"
features = ["bindgen"]
optional = true

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.bimap]
version = "0.6.3"

[dependencies.bytes]
version = "1.9.0"

[dependencies.cdr]
version = "0.2.4"
optional = true

[dependencies.chrono]
version = "0.4.39"
optional = true

[dependencies.delegate]
version = "0.13.2"

[dependencies.flume]
version = "0.11.1"
optional = true

[dependencies.foxglove_derive]
version = "0.17.2"
optional = true

[dependencies.futures]
version = "0.3.31"
optional = true

[dependencies.futures-util]
version = "0.3.31"
features = [
    "sink",
    "std",
]
optional = true

[dependencies.image]
version = "0.25.9"
optional = true
default-features = false

[dependencies.mcap]
version = "0.24"
default-features = false

[dependencies.parking_lot]
version = "0.12.4"

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

[dependencies.rcgen]
version = "0.14.3"
features = [
    "crypto",
    "pem",
    "x509-parser",
]
optional = true

[dependencies.regex]
version = "1"
optional = true

[dependencies.schemars]
version = "1.0.4"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_repr]
version = "0.1.19"
optional = true

[dependencies.serde_with]
version = "3.14.0"
features = [
    "macros",
    "base64",
]
optional = true

[dependencies.smallbytes]
version = "0.1.0"

[dependencies.smallvec]
version = "1.15.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.47"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "time",
]
optional = true

[dependencies.tokio-rustls]
version = "0.26.0"
optional = true

[dependencies.tokio-tungstenite]
version = "0.28"
optional = true

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
optional = true

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.yuv]
version = "0.8.9"
optional = true

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.hexdump]
version = "0.1.2"

[dev-dependencies.insta]
version = "1.42.2"
features = ["json"]

[dev-dependencies.maplit]
version = "1.0.2"

[dev-dependencies.serde_cbor]
version = "0.11.2"

[dev-dependencies.serde_json]
version = "1.0"

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

[dev-dependencies.tracing-test]
version = "0.2.5"

[lints.clippy]
assigning_clones = "warn"
borrow_as_ptr = "warn"
cloned_instead_of_copied = "warn"
copy_iterator = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
flat_map_option = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
inefficient_to_string = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
macro_use_imports = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
match_bool = "warn"
match_same_arms = "warn"
mismatching_type_param_order = "warn"
mut_mut = "warn"
needless_for_each = "warn"
no_mangle_with_rust_abi = "warn"
option_as_ref_cloned = "warn"
ref_binding_to_reference = "warn"
ref_option = "warn"
ref_option_ref = "warn"
return_self_not_must_use = "warn"
unnecessary_literal_bound = "warn"
unused_async = "warn"

[lints.rust.edition-2024-expr-fragment-specifier]
level = "allow"
priority = 1

[lints.rust.if-let-rescope]
level = "allow"
priority = 1

[lints.rust.rust-2024-compatibility]
level = "warn"
priority = 0

[lints.rust.tail-expr-drop-order]
level = "allow"
priority = 1