option_type 0.1.0

Option contract type definitions including exotic options: Asian, Barrier, Binary, Lookback, Rainbow, and more.
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 = "2024"
name = "option_type"
version = "0.1.0"
authors = ["Joaquin Bejar <jb@taunais.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Option contract type definitions including exotic options: Asian, Barrier, Binary, Lookback, Rainbow, and more."
homepage = "https://github.com/joaquinbejar/option_type"
readme = "README.md"
keywords = [
    "finance",
    "options",
    "trading",
    "exotic-options",
]
categories = [
    "finance",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/joaquinbejar/option_type"

[features]
default = []
utoipa = [
    "dep:utoipa",
    "financial_types/utoipa",
    "positive/utoipa",
    "expiration_date/utoipa",
]

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

[dependencies.expiration_date]
version = "0.1"
features = ["utoipa"]

[dependencies.financial_types]
version = "0.1"
features = ["utoipa"]

[dependencies.positive]
version = "0.4"
features = ["utoipa"]

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

[dependencies.utoipa]
version = "5.4"
optional = true

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

[lints.clippy]
clone_on_ref_ptr = "warn"
expect_used = "deny"
indexing_slicing = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
needless_collect = "warn"
panic = "deny"
unnecessary_to_owned = "warn"
unwrap_used = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"

[profile.dev]
overflow-checks = true

[profile.release]
lto = "thin"
codegen-units = 1
overflow-checks = true