# 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 = "rofr"
version = "0.1.1"
authors = ["Liam Kinne <liam@umi.engineering>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework for building robotics APIs that use NATS messaging"
readme = false
license = "MPL-2.0"
resolver = "2"

[features]
default = ["metrics"]
metrics = ["dep:metrics"]

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

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

[dependencies.async-nats]
version = "0.47"
features = [
    "jetstream",
    "server_2_10",
    "server_2_11",
    "server_2_12",
    "service",
]
default-features = false

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

[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.metrics]
version = "0.24"
optional = true

[dependencies.rofr-macros]
version = "^0.1.1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.51"
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.ulid]
version = "1.2"

[dev-dependencies]
