# 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"
name = "fixer-gen"
version = "0.10.3"
authors = ["Karuna Murti <karuna.murti@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code generator for fixer FIX protocol types"
homepage = "https://github.com/fixer-rs/fixer"
readme = "README.md"
keywords = [
    "finance",
    "fix-protocol",
    "fix",
    "protocol",
]
categories = ["finance"]
license = "Apache-2.0"
repository = "https://github.com/fixer-rs/fixer"

[[bin]]
name = "fixer-gen"
path = "src/main.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.fixer]
version = "0.10.3"

[dependencies.heck]
version = "0.5"

[dependencies.rustc-hash]
version = "2"

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

[dependencies.tera]
version = "1"

[dependencies.tokio]
version = "1.50"
features = [
    "rt",
    "macros",
]

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

[dev-dependencies.tokio]
version = "1.50"
features = [
    "rt",
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"

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

[lints.clippy.correctness]
level = "deny"
priority = -1

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

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

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

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

[lints.rust]
unsafe_code = "forbid"
