[package]
edition = "2024"
name = "afastdata"
version = "0.0.10"
authors = ["ahriknow <ahriknow@ahriknow.com>"]
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance binary serialization/deserialization library with derive macros for Rust types"
homepage = "https://github.com/ahriknow/afastdata"
documentation = "https://docs.rs/afastdata"
readme = "README.md"
keywords = [
"serialization",
"binary",
"derive",
"macro",
"validation",
]
categories = ["encoding"]
license = "MIT"
repository = "https://github.com/ahriknow/afastdata"
resolver = "2"
[features]
bigdecimal = ["dep:bigdecimal"]
bytes = ["dep:bytes"]
chrono = ["dep:chrono"]
default = [
"tag-u8",
"tuple-16",
]
ipnetwork = ["dep:ipnetwork"]
len-u64 = []
mac_address = ["dep:mac_address"]
rust_decimal = ["dep:rust_decimal"]
serde_json = ["dep:serde_json"]
sqlx = [
"dep:sqlx",
"dep:serde_json",
]
tag-u16 = ["afastdata-macro/tag-u16"]
tag-u32 = ["afastdata-macro/tag-u32"]
tag-u8 = ["afastdata-macro/tag-u8"]
tuple-16 = []
tuple-32 = []
tuple-8 = []
url = ["dep:url"]
uuid = ["dep:uuid"]
[lib]
name = "afastdata"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "validate"
path = "examples/validate.rs"
[dependencies.afastdata-macro]
version = "0.0.10"
[dependencies.bigdecimal]
version = "0.4"
optional = true
[dependencies.bytes]
version = "1"
optional = true
[dependencies.chrono]
version = "0.4"
optional = true
[dependencies.ipnetwork]
version = "0.20"
optional = true
[dependencies.mac_address]
version = "1"
optional = true
[dependencies.rust_decimal]
version = "1"
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.sqlx]
version = "0.9"
optional = true
[dependencies.url]
version = "2"
optional = true
[dependencies.uuid]
version = "1"
optional = true