Skip to content

Commit 7a21a0e

Browse files
fastrevmd-labclaude
andcommitted
Bump rustnetconf-yang to v0.1.3 (docs clarification, #30)
Documentation-only patch release of the rustnetconf-yang crate. Clarifies the required `generated` feature flag and the bundled-vs-custom yang-models distinction. No API or behavior changes; library and CLI crates unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1c7b65e commit 7a21a0e

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A Rust network automation platform: async NETCONF client library, YANG code gene
1111
Built on [tokio](https://tokio.rs), [russh](https://crates.io/crates/russh), and [rustls](https://crates.io/crates/rustls) — pure Rust, no OpenSSL, no libssh2.
1212

1313
> **Latest release — [v0.12.0](https://github.com/fastrevmd-lab/rustnetconf/releases/tag/v0.12.0)** (OpenSSH `known_hosts` host-key pinning).
14-
> Now on crates.io: `rustnetconf` 0.12.0 · `rustnetconf-cli` 0.3.0 · `rustnetconf-yang` 0.1.2.
14+
> Now on crates.io: `rustnetconf` 0.12.0 · `rustnetconf-cli` 0.3.0 · `rustnetconf-yang` 0.1.3.
1515
> See [What's New in v0.12.0](#whats-new-in-v0120) below for the `HostKeyVerification::KnownHosts` variant and `known_hosts_path` inventory key.
1616
1717
## Workspace
@@ -22,6 +22,14 @@ Built on [tokio](https://tokio.rs), [russh](https://crates.io/crates/russh), and
2222
| **rustnetconf-yang** | YANG model code generation (compile-time config validation) |
2323
| **rustnetconf-cli** | Terraform-like CLI tool (`netconf` binary) |
2424

25+
## What's New in rustnetconf-yang v0.1.3
26+
27+
Documentation-only patch release of the `rustnetconf-yang` crate (closes #30). No API or behavior changes.
28+
29+
- Module docs now state that generated types require enabling the `generated` Cargo feature (off by default) — without it the `ietf_*` modules are absent.
30+
- Clarified that codegen reads the crate's own bundled `yang-models/`, not the consumer's project; documented how to vendor the crate to use custom YANG files.
31+
- Corrected the usage example to the real generated API (`Option`-wrapped fields, `type` leaf emitted as `type_`).
32+
2533
## What's New in v0.12.0
2634

2735
OpenSSH `known_hosts`-style host-key pinning for fleet operation. Merged via PR #29 (closes #28).

rustnetconf-yang/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustnetconf-yang"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2021"
55
authors = ["fastrevmd-lab"]
66
description = "YANG model code generation for rustnetconf — compile-time config validation"

0 commit comments

Comments
 (0)