From 8a9012fa24e2987b49672bae0abf16585fed440a Mon Sep 17 00:00:00 2001 From: hatem ben tayeb Date: Fri, 29 May 2020 08:38:17 +0100 Subject: [PATCH] Add Rust programming language (#179) --- diagrams/programming/language.py | 4 ++++ docs/nodes/programming.md | 1 + resources/programming/language/rust.png | Bin 0 -> 9211 bytes 3 files changed, 5 insertions(+) create mode 100644 resources/programming/language/rust.png diff --git a/diagrams/programming/language.py b/diagrams/programming/language.py index 60de2215..36c3d4c0 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 b2843ec4..60c8a0e3 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 0000000000000000000000000000000000000000..a9f7fa152fa7b69f638d3b19b9ef4eb6dfef08c1 GIT binary patch literal 9211 zcma)i^;a8Auyzs(Degs!2AAUQ8ba~nQVOB8xVuwaLvhy{MN6T0@Zc1uSc;cYT!LTT z@4J7%{bA4S*)y|ycFxS~?0KFzU2SzjJX$;e06?e#RnZ3kfDcn3;4#jFu<-cw`a$5j zK}|gY0DSWQ1`v>&PYnPt0W?$;U-;$!EAahcsrnrmDt_@HRf(1js==wGgo~I+C!=5< z`u0erue$g#i>iW(e?%021dFvlH>W;DIr}MXZfY15pADh{!cpSXfV%u@KS=Sek(9j1 z|7QPsd~YGJ=r}rEd$tS|AMZ8=D-@@Kli*cPM8rr zh!)F=-8d*u`6*{9=Qz}BJGlc;LgQ$0leLW&p zV9nEt_c+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