# 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"
rust-version = "1.85.0"
name = "foxglove_derive"
version = "0.19.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Foxglove SDK derive macros"
readme = "README.md"
license = "MIT"
repository = "https://github.com/foxglove/foxglove-sdk"
resolver = "2"

[lib]
name = "foxglove_derive"
path = "src/lib.rs"
proc-macro = true

[[test]]
name = "chrono_fields_test"
path = "tests/chrono_fields_test.rs"

[[test]]
name = "enum_fields_test"
path = "tests/enum_fields_test.rs"

[[test]]
name = "foxglove_schema_test"
path = "tests/foxglove_schema_test.rs"

[[test]]
name = "newtype_fields_test"
path = "tests/newtype_fields_test.rs"

[[test]]
name = "scalar_fields_test"
path = "tests/scalar_fields_test.rs"

[[test]]
name = "string_fields_test"
path = "tests/string_fields_test.rs"

[[test]]
name = "struct_fields_test"
path = "tests/struct_fields_test.rs"

[dependencies.proc-macro2]
version = "1.0"

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

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "extra-traits",
]

[dev-dependencies.bytes]
version = "1.4"

[dev-dependencies.chrono]
version = "0.4"

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

[dev-dependencies.prost-reflect]
version = "0.16.3"

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

[dev-dependencies.tracing-test]
version = "0.2.5"
features = ["no-env-filter"]
