How the rfc are referencing each other ?
rs
let (rfcs_linked, status) = rfc_graph::RfcGraph::get(5322, 3).await;
println!("{rfcs:?} {status:?}");
```sh $> cargo run -- -h rfc-graph 0.1.1
USAGE:
rfc-graph [OPTIONS] --root
OPTIONS:
-h, --help Print help information
--recursion-max
Output generated:
cache.json
: a HashMap<i32, Vec<i32>>
with key is the rfc source and values are the rfc referencedinput.dot
: a representation of the graph generated following the dot format by graphvizoutput.svg
: a svg version of the dot graphsh
$> cargo run -- --root 5322 --recursion-max 1
sh
$> cargo run -- --root 5322 --recursion-max 2
The referencing in the rfcs are exponential, so you might not want to run with --recursion-max 4
| Status | Color | | --------------------------------- | ------ | | Unknown | ⬜ | | Draft | 🟥 | | Informational | 🟧 | | Experimental | 🟨 | | Best Common Practice | 🟪 | | Proposed Standard | 🟦 | | Draft Standard (old designation) | :cyan: | | Internet Standard | 🟩 | | Historic | ⬛ | | Obsolete | 🟫 |
Leaf node status is unknown as the web scraping is not done for them
I would like to add the following features :