A library that provides serialization of Neverwinter Nights json files generated via Nasher
This should allow for the creation of a Rust based module tooling.
Add the following to your Cargo.toml
:
toml
[dependencies]
nwn-nasher-types = "0.2"
```rust use nwnnashertypes::*;
fn main() { let path = "src/module.ifo"; let file = NwType::fromfilepath(path).expect("Failed to open file"); match nw { Ok(value) => { println!("Value: {:?}", value); } Err(e) => { panic!("Failed to deserialize {:?}: {}", path, e); } } } ```