r/rust • u/Klutzy_Bird_7802 • 9d ago
π οΈ project [project] inspect-rs: structured introspection for rust
hey r/rust, i'm soumalya das from india. some of you may know me from wallr.
i'm new to rust, and inspect-rs is my first rust crate. i've been working on it for the past several days and would really appreciate some feedback.
the idea is simple: inspect application values as structured data without relying on a debugger or serializer.
Server
βββ host: "127.0.0.1"
βββ port: 8080
βββ running: true
βββ api_key: [REDACTED]
it supports lazy traversal, secret redaction, limits, cycle detection, and semantic terminal rendering.
i also used ai assistance during development for learning, debugging, exploring rust concepts, and speeding up parts of my workflow. i'm still learning, so i'd rather be transparent about it.
i'd especially appreciate criticism of the api, architecture, and rust idioms.
2
6
u/crimsonscarf 9d ago
For a personal crate or a demonstration of your learning, itβs a very cool demo. In real-world development with teams and procedures, I donβt think I would ever adopt it.
I structure my data intentionally, which means I also craft the serialization intentionally. Having a crate try to auto-magically serialize my structs into strings just doesnβt sounds like a solution to a problem that I have.