[package]
edition = "2024"
name = "easyfix-core"
version = "0.20.0"
authors = ["Łukasz Dańko <lukasz.danko@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easy FIX (Financial Information Exchange) toolset - core types."
readme = "README.md"
license = "MIT"
repository = "https://github.com/ldanko/easyfix"
resolver = "2"
[features]
serde-deserialize = [
"dep:serde",
"chrono/serde",
"rust_decimal/serde",
]
serde-serialize = [
"dep:serde",
"chrono/serde",
"rust_decimal/serde",
]
[lib]
name = "easyfix_core"
path = "src/lib.rs"
[[example]]
name = "dynamic_message"
path = "examples/dynamic_message.rs"
[[test]]
name = "fix_str"
path = "tests/fix_str.rs"
[dependencies.chrono]
version = "0.4.45"
[dependencies.easyfix-macros]
version = "0.20.0"
[dependencies.itoa]
version = "1.0.18"
[dependencies.memchr]
version = "2.8.3"
[dependencies.rust_decimal]
version = "1.43"
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0.21"
[dev-dependencies.rstest]
version = "0.28"
[dev-dependencies.serde_json]
version = "1.0.154"
[dev-dependencies.trybuild]
version = "1.0"
[lints.clippy]
absolute_paths = "deny"
allow_attributes_without_reason = "warn"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
expl_impl_clone_on_copy = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
infallible_try_from = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_futures = "warn"
let_underscore_future = "warn"
lossy_float_literal = "warn"
mem_forget = "warn"
multiple_unsafe_ops_per_block = "warn"
panic_in_result_fn = "warn"
rc_mutex = "warn"
string_slice = "warn"
todo = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unused_result_ok = "warn"