# 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 = "martian"
version = "0.3.0"
authors = ["Jan Piotrzkowski <piotrzkowski.dev@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library providing Mars centric utility modules like: time, date, calendar etc."
homepage = "https://github.com/babilonczyk/martian"
readme = "README.md"
keywords = [
    "astronomy",
    "utility",
    "date-time",
    "mars",
    "darian",
]
categories = [
    "aerospace",
    "date-and-time",
    "science",
    "internationalization",
]
license = "Apache-2.0"
repository = "https://github.com/babilonczyk/martian"

[lib]
name = "martian"
crate-type = ["rlib"]
path = "src/lib.rs"

[[bin]]
name = "martian"
path = "src/main.rs"

[dependencies.hifitime]
version = "4.0.0"
optional = true

[dependencies.regex]
version = "1.11.1"
optional = true

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0.0"
optional = true

[features]
calendar = [
    "date",
    "time",
    "serde_json",
    "serde",
    "thiserror",
]
date = [
    "time",
    "hifitime",
    "thiserror",
]
default = [
    "time",
    "date",
    "calendar",
]
time = [
    "hifitime",
    "thiserror",
    "regex",
]