[package]
edition = "2021"
rust-version = "1.75"
name = "fit-sdk-rust"
version = "0.2.1"
authors = ["Chen <chenchemlim@gmail.com>"]
build = "build.rs"
exclude = [
"tests/fixtures/",
"code-review-report.html",
"plan.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust implementation of the Garmin FIT (Flexible and Interoperable Data Transfer) protocol."
documentation = "https://docs.rs/fit-sdk-rust"
readme = "README.md"
keywords = [
"fit",
"garmin",
"sport",
"decoder",
"encoder",
]
categories = [
"parser-implementations",
"encoding",
]
license = "Apache-2.0"
repository = "https://github.com/Chen-Lim/fit-sdk-rust"
[features]
chrono = ["dep:chrono"]
default = ["chrono"]
[lib]
name = "fit"
path = "src/lib.rs"
[[example]]
name = "summarise_activity"
path = "examples/summarise_activity.rs"
[[test]]
name = "accumulator_chain"
path = "tests/accumulator_chain.rs"
[[test]]
name = "integrity"
path = "tests/integrity.rs"
[[test]]
name = "m3_definitions"
path = "tests/m3_definitions.rs"
[[test]]
name = "m4_decoder"
path = "tests/m4_decoder.rs"
[[test]]
name = "m5_typed"
path = "tests/m5_typed.rs"
[[test]]
name = "m6_postprocess"
path = "tests/m6_postprocess.rs"
[[test]]
name = "m7_fuzz"
path = "tests/m7_fuzz.rs"
[[test]]
name = "m8_encoder"
path = "tests/m8_encoder.rs"
[[test]]
name = "m9_encoder_hardening"
path = "tests/m9_encoder_hardening.rs"
[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
default-features = false
[dependencies.smallvec]
version = "1.13"
features = ["const_generics"]
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.rand]
version = "0.9"