[package]
edition = "2024"
rust-version = "1.89"
name = "khanij"
version = "1.1.0"
build = false
exclude = [
".claude/",
".github/",
"docs/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Khanij — geology and mineralogy engine for crystal structures, rock cycles, soil, and mineral properties"
homepage = "https://github.com/MacCracken/khanij"
documentation = "https://docs.rs/khanij"
readme = "README.md"
keywords = [
"geology",
"minerals",
"rocks",
"soil",
"crystals",
]
categories = [
"science",
"simulation",
]
license = "GPL-3.0-only"
repository = "https://github.com/MacCracken/khanij"
[features]
chemistry = ["dep:kimiya"]
default = []
fluids = ["dep:pravash"]
logging = ["dep:tracing-subscriber"]
mechanics = ["dep:dravya"]
soorat-compat = []
thermodynamics = ["dep:ushma"]
weather = ["dep:badal"]
[lib]
name = "khanij"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "dating"
path = "examples/dating.rs"
[[example]]
name = "ore_deposit"
path = "examples/ore_deposit.rs"
[[example]]
name = "rock_cycle"
path = "examples/rock_cycle.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.badal]
version = "1"
optional = true
[dependencies.dravya]
version = "1"
optional = true
[dependencies.hisab]
version = "1.1"
[dependencies.kimiya]
version = "1"
optional = true
[dependencies.pravash]
version = "1.1"
features = [
"buoyancy",
"shallow",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
optional = true
[dependencies.ushma]
version = "1"
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.serde_json]
version = "1"