[package]
edition = "2024"
rust-version = "1.85"
name = "hunyi"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "渾儀 (Hunyi) — the semantic observation dimension of Tianheng: declare in Rust how a module's public surface must behave — what types its API must not expose, where a trait may be implemented, that a module declares no bare pub, and which markers a type must not acquire — observed via the AST (syn), reacted in CI. The semantic complement of the static import boundary; the syn dependency is quarantined here, never in the core."
readme = "README.md"
keywords = [
"governance",
"architecture",
"boundary",
"ast",
"ci",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tacticaldoll/tianheng"
resolver = "2"
[lib]
name = "hunyi"
path = "src/lib.rs"
[dependencies.serde_json]
version = "1"
[dependencies.syn]
version = "2"
features = [
"full",
"visit",
]
[dependencies.xuanji]
version = "0.1.1"
[dev-dependencies.serde_json]
version = "1"