# ios-config
Cisco IOS configuration parser, built on [`netconv-core`](https://crates.io/crates/netconv-core).
Parses `show running-config` output into a typed `NetworkConfig` IR, with
per-line unrecognized-command reporting via `ConversionReport` so that
callers can tell what was and wasn't understood, rather than having
unknown lines silently dropped.
```rust
use netconv_core::traits::ConfigParser;
use ios_config::IosParser;
let (config, report) = IosParser.parse(raw_config_text).unwrap();
```
## Upgrading from 0.1.x
`0.2.0` is a breaking release. The old free function
```rust
// 0.1.x — gone
ios_config::parse(input) -> Result<NetworkConfig, ParseError>
```
is replaced by the `ConfigParser` trait impl shown above, which returns
the parsed config alongside a `ConversionReport` of anything the parser
didn't recognize, instead of silently dropping it. `ios-config-core` is
no longer a separate dependency — the IR now comes from `netconv-core`.
Part of the [netconv](https://github.com/casablanque-code/netconv) project —
see the main repository for the CLI, web UI, and full documentation.
## License
MIT