qimen-core 0.2.1

Typed, deterministic time-based Chai Bu rotating Qimen Dunjia charts
Documentation
# 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 = "2024"
rust-version = "1.94"
name = "qimen-core"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed, deterministic time-based Chai Bu rotating Qimen Dunjia charts"
readme = "README.md"
keywords = [
    "qimen",
    "bazi",
    "calendar",
    "chinese",
    "divination",
]
categories = ["date-and-time"]
license = "MIT"
repository = "https://github.com/SpenserCai/qimen-rs"

[features]
default = []
schema = [
    "dep:schemars",
    "qimen-calendar/schema",
]

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

[[example]]
name = "schema"
path = "examples/schema.rs"
required-features = ["schema"]

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

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

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

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

[dependencies.qimen-calendar]
version = "0.2.1"

[dependencies.schemars]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"