[dependencies.derive-where]
version = "1.6.0"
[dependencies.structural-typing-macros]
version = "0.1.1"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.trybuild]
version = "1.0.112"
[features]
default = []
serde = ["derive-where/serde"]
[lib]
name = "structural_typing"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns", "no-std", "development-tools"]
description = "Type-level field presence tracking for Rust structs, inspired by TypeScript"
edition = "2024"
keywords = ["builder", "type-safety", "optional", "structural", "typing"]
license = "MIT OR Apache-2.0"
name = "structural-typing"
readme = "README.md"
repository = "https://github.com/Crazytieguy/structural-typing-rs"
resolver = "2"
rust-version = "1.85"
version = "0.1.1"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "macro_behavior"
path = "tests/macro_behavior.rs"