diff --git a/diagrams/programming/language.py b/diagrams/programming/language.py index 60de221..36c3d4c 100644 --- a/diagrams/programming/language.py +++ b/diagrams/programming/language.py @@ -68,6 +68,10 @@ class Ruby(_Language): _icon = "ruby.png" +class Rust(_Language): + _icon = "rust.png" + + class Swift(_Language): _icon = "swift.png" diff --git a/docs/nodes/programming.md b/docs/nodes/programming.md index b2843ec..60c8a0e 100644 --- a/docs/nodes/programming.md +++ b/docs/nodes/programming.md @@ -36,5 +36,6 @@ Node classes list of programming provider. - **diagrams.programming.language.Python** - **diagrams.programming.language.R** - **diagrams.programming.language.Ruby** +- **diagrams.programming.language.Rust** - **diagrams.programming.language.Swift** - **diagrams.programming.language.Typescript**, **TypeScript** (alias) diff --git a/resources/programming/language/rust.png b/resources/programming/language/rust.png new file mode 100644 index 0000000..a9f7fa1 Binary files /dev/null and b/resources/programming/language/rust.png differ