# 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 = "2021"
name = "nr-cif"
version = "0.5.0"
authors = ["Lily Hopkins <lily@hpkns.uk>"]
exclude = ["tests/*.cif*"]
description = "Handle Network Rail CIF files."
readme = "README.md"
license = "MIT"
repository = "https://github.com/lilopkins/nr-cif-rs"

[dependencies.bitflags]
version = "2.4.1"

[dependencies.chrono]
version = "0.4.31"

[dependencies.fixedlength-format-parser]
version = "0.1.1"

[dependencies.getset]
version = "0.1.2"

[dependencies.log]
version = "0.4.20"

[dependencies.serde]
version = "1.0.193"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "1.0.50"

[dev-dependencies.libflate]
version = "2.0.0"

[dev-dependencies.pretty_env_logger]
version = "0.5.0"

[dev-dependencies.ron]
version = "0.8.1"

[features]
panic-on-first-error = []
serde = [
    "dep:serde",
    "chrono/serde",
]