# 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 = "metar"
version = "0.9.2"
authors = ["Lily Hopkins <lily@hpkns.uk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast METAR parsing library in pure Rust"
homepage = "https://github.com/lilopkins/metar-rs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/lilopkins/metar-rs"

[features]
default = ["serde"]
serde = ["dep:serde"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "nicer_errors"
path = "examples/nicer_errors.rs"

[[example]]
name = "repl"
path = "examples/repl.rs"

[[example]]
name = "test_lots"
path = "examples/test_lots.rs"

[[test]]
name = "cucumber"
path = "tests/cucumber.rs"
harness = false

[[test]]
name = "serde_tests"
path = "tests/serde_tests.rs"

[dependencies.annotate-snippets]
version = "0.12"

[dependencies.chumsky]
version = "0.12"
features = ["regex"]

[dependencies.derive_more]
version = "2.1"
features = ["display"]

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

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

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.cucumber]
version = "0.22"

[dev-dependencies.futures]
version = "0.3"

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