Skip to main content

SVG

Constant SVG 

Source
pub const SVG: &str = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 480 460\" width=\"480\" height=\"460\" role=\"img\" aria-labelledby=\"petTitle petDesc\">\n  <title id=\"petTitle\">\u{7532}\u{54e8} Sentri \u{2014} security-rust \u{9879}\u{76ee}\u{5ba0}\u{7269}</title>\n  <desc id=\"petDesc\">\u{4e00}\u{53ea}\u{4e3e}\u{7740}\u{653e}\u{5927}\u{955c}\u{4e0e}\u{544a}\u{793a}\u{724c}\u{7684}\u{54e8}\u{87f9}\u{ff1a}32 \u{7247}\u{7532}\u{7247}\u{5bf9}\u{5e94} 32 \u{4e2a}\u{68c0}\u{6d4b}\u{5668}\u{ff0c}\u{56db}\u{884c}\u{7532}\u{7247}\u{5bf9}\u{5e94}\u{56db}\u{5927}\u{7c7b}\u{3002}\u{53ea}\u{62a5}\u{544a}\u{ff0c}\u{4e0d}\u{62e6}\u{622a}\u{3002}</desc>\n\n  <defs>\n    <linearGradient id=\"shell\" x1=\"0\" y1=\"0\" x2=\"0.4\" y2=\"1\">\n      <stop offset=\"0\" stop-color=\"#E4573C\"/>\n      <stop offset=\"1\" stop-color=\"#C43A22\"/>\n    </linearGradient>\n    <radialGradient id=\"glow\" cx=\"0.5\" cy=\"0.5\" r=\"0.5\">\n      <stop offset=\"0\" stop-color=\"#F6D9C8\" stop-opacity=\"0.85\"/>\n      <stop offset=\"1\" stop-color=\"#F6D9C8\" stop-opacity=\"0\"/>\n    </radialGradient>\n  </defs>\n\n  <!-- \u{5361}\u{7247}\u{5e95} -->\n  <rect x=\"8\" y=\"8\" width=\"464\" height=\"444\" rx=\"28\" fill=\"#FFF8F0\" stroke=\"#EADCCC\" stroke-width=\"2\"/>\n  <circle cx=\"240\" cy=\"225\" r=\"180\" fill=\"url(#glow)\"/>\n\n  <!-- \u{5730}\u{9762}\u{6295}\u{5f71} -->\n  <ellipse cx=\"240\" cy=\"344\" rx=\"122\" ry=\"14\" fill=\"#E9DACB\" opacity=\"0.6\"/>\n\n  <!-- \u{516d}\u{6761}\u{817f} -->\n  <g stroke=\"#C43A22\" stroke-width=\"11\" stroke-linecap=\"round\" fill=\"none\">\n    <path d=\"M158 255 C130 258 112 270 100 286\"/>\n    <path d=\"M170 275 C146 282 130 294 120 310\"/>\n    <path d=\"M197 292 C180 304 172 318 168 334\"/>\n    <path d=\"M322 255 C350 258 368 270 380 286\"/>\n    <path d=\"M310 275 C334 282 350 294 360 310\"/>\n    <path d=\"M283 292 C300 304 308 318 312 334\"/>\n  </g>\n\n  <!-- \u{53cc}\u{81c2} -->\n  <g stroke=\"#CE422B\" stroke-width=\"13\" stroke-linecap=\"round\" fill=\"none\">\n    <path d=\"M162 206 C140 200 122 192 108 182\"/>\n    <path d=\"M318 206 C340 200 358 192 372 182\"/>\n  </g>\n\n  <!-- \u{8eab}\u{4f53} -->\n  <ellipse cx=\"240\" cy=\"232\" rx=\"92\" ry=\"68\" fill=\"url(#shell)\" stroke=\"#8F2A17\" stroke-width=\"3\"/>\n  <ellipse cx=\"200\" cy=\"196\" rx=\"30\" ry=\"15\" fill=\"#FFFFFF\" opacity=\"0.18\" transform=\"rotate(-25 200 196)\"/>\n\n  <!-- 32 \u{7247}\u{7532}\u{ff1a}4 \u{884c} \u{d7} 8 \u{7247}\u{ff0c}\u{884c} = \u{56db}\u{5927}\u{7c7b} -->\n  <g>\n    <g fill=\"#B3261E\" opacity=\"0.9\" stroke=\"#FFF8F0\" stroke-width=\"1.4\"><!-- injection: 11 detectors, 8 plates -->\n      <circle cx=\"170\" cy=\"188\" r=\"5\"/><circle cx=\"190\" cy=\"188\" r=\"5\"/><circle cx=\"210\" cy=\"188\" r=\"5\"/><circle cx=\"230\" cy=\"188\" r=\"5\"/>\n      <circle cx=\"250\" cy=\"188\" r=\"5\"/><circle cx=\"270\" cy=\"188\" r=\"5\"/><circle cx=\"290\" cy=\"188\" r=\"5\"/><circle cx=\"310\" cy=\"188\" r=\"5\"/>\n    </g>\n    <g fill=\"#2D5BE3\" opacity=\"0.9\" stroke=\"#FFF8F0\" stroke-width=\"1.4\"><!-- protocol: 11 detectors, 8 plates -->\n      <circle cx=\"170\" cy=\"212\" r=\"5\"/><circle cx=\"190\" cy=\"212\" r=\"5\"/><circle cx=\"210\" cy=\"212\" r=\"5\"/><circle cx=\"230\" cy=\"212\" r=\"5\"/>\n      <circle cx=\"250\" cy=\"212\" r=\"5\"/><circle cx=\"270\" cy=\"212\" r=\"5\"/><circle cx=\"290\" cy=\"212\" r=\"5\"/><circle cx=\"310\" cy=\"212\" r=\"5\"/>\n    </g>\n    <g fill=\"#7C3AED\" opacity=\"0.9\" stroke=\"#FFF8F0\" stroke-width=\"1.4\"><!-- data: 7 detectors, 8 plates -->\n      <circle cx=\"170\" cy=\"236\" r=\"5\"/><circle cx=\"190\" cy=\"236\" r=\"5\"/><circle cx=\"210\" cy=\"236\" r=\"5\"/><circle cx=\"230\" cy=\"236\" r=\"5\"/>\n      <circle cx=\"250\" cy=\"236\" r=\"5\"/><circle cx=\"270\" cy=\"236\" r=\"5\"/><circle cx=\"290\" cy=\"236\" r=\"5\"/><circle cx=\"310\" cy=\"236\" r=\"5\"/>\n    </g>\n    <g fill=\"#0E9F6E\" opacity=\"0.9\" stroke=\"#FFF8F0\" stroke-width=\"1.4\"><!-- file: 3 detectors, 8 plates -->\n      <circle cx=\"170\" cy=\"260\" r=\"5\"/><circle cx=\"190\" cy=\"260\" r=\"5\"/><circle cx=\"210\" cy=\"260\" r=\"5\"/><circle cx=\"230\" cy=\"260\" r=\"5\"/>\n      <circle cx=\"250\" cy=\"260\" r=\"5\"/><circle cx=\"270\" cy=\"260\" r=\"5\"/><circle cx=\"290\" cy=\"260\" r=\"5\"/><circle cx=\"310\" cy=\"260\" r=\"5\"/>\n    </g>\n  </g>\n\n  <!-- \u{5634}\u{ff1a}\u{62bf}\u{7740}\u{ff0c}\u{4e0d}\u{558a} -->\n  <path d=\"M224 282 Q240 294 256 282\" stroke=\"#7A2312\" stroke-width=\"4\" stroke-linecap=\"round\" fill=\"none\"/>\n\n  <!-- \u{773c}\u{67c4}\u{4e0e}\u{773c} -->\n  <g stroke=\"#CE422B\" stroke-width=\"9\" stroke-linecap=\"round\">\n    <path d=\"M210 172 L196 134\"/>\n    <path d=\"M270 172 L284 134\"/>\n  </g>\n  <circle cx=\"194\" cy=\"126\" r=\"16\" fill=\"#FFFFFF\" stroke=\"#8F2A17\" stroke-width=\"3\"/>\n  <circle cx=\"286\" cy=\"126\" r=\"16\" fill=\"#FFFFFF\" stroke=\"#8F2A17\" stroke-width=\"3\"/>\n  <circle cx=\"196\" cy=\"128\" r=\"8\" fill=\"#1F1B18\"/>\n  <circle cx=\"288\" cy=\"128\" r=\"8\" fill=\"#1F1B18\"/>\n  <circle cx=\"199\" cy=\"125\" r=\"3\" fill=\"#FFFFFF\"/>\n  <circle cx=\"291\" cy=\"125\" r=\"3\" fill=\"#FFFFFF\"/>\n  <!-- \u{5ba1}\u{8ba1}\u{5458}\u{7684}\u{5355}\u{7247}\u{955c} -->\n  <circle cx=\"286\" cy=\"126\" r=\"23\" fill=\"none\" stroke=\"#D4A017\" stroke-width=\"3\"/>\n  <path d=\"M306 142 C316 152 320 162 320 172\" stroke=\"#D4A017\" stroke-width=\"2\" stroke-dasharray=\"4 4\" fill=\"none\"/>\n\n  <!-- \u{5de6}\u{94b3}\u{ff1a}\u{5939}\u{7740}\u{653e}\u{5927}\u{955c}\u{7684}\u{67c4} -->\n  <g transform=\"translate(104 180)\">\n    <ellipse cx=\"-30\" cy=\"0\" rx=\"30\" ry=\"10\" fill=\"#CE422B\" stroke=\"#8F2A17\" stroke-width=\"3\" transform=\"rotate(-34)\"/>\n    <ellipse cx=\"-30\" cy=\"0\" rx=\"30\" ry=\"10\" fill=\"#CE422B\" stroke=\"#8F2A17\" stroke-width=\"3\" transform=\"rotate(26)\"/>\n    <circle cx=\"0\" cy=\"0\" r=\"13\" fill=\"#CE422B\" stroke=\"#8F2A17\" stroke-width=\"3\"/>\n  </g>\n  <path d=\"M62 136 L100 176\" stroke=\"#8F2A17\" stroke-width=\"9\" stroke-linecap=\"round\"/>\n  <circle cx=\"44\" cy=\"118\" r=\"26\" fill=\"#CFEAE6\" fill-opacity=\"0.9\" stroke=\"#8F2A17\" stroke-width=\"4\"/>\n  <path d=\"M28 108 A20 20 0 0 1 48 98\" stroke=\"#FFFFFF\" stroke-width=\"4\" stroke-linecap=\"round\" fill=\"none\" opacity=\"0.9\"/>\n\n  <!-- \u{53f3}\u{94b3}\u{ff1a}\u{4e3e}\u{7740}\u{544a}\u{793a}\u{724c} -->\n  <g transform=\"translate(376 180) scale(-1 1)\">\n    <ellipse cx=\"-30\" cy=\"0\" rx=\"30\" ry=\"10\" fill=\"#CE422B\" stroke=\"#8F2A17\" stroke-width=\"3\" transform=\"rotate(-34)\"/>\n    <ellipse cx=\"-30\" cy=\"0\" rx=\"30\" ry=\"10\" fill=\"#CE422B\" stroke=\"#8F2A17\" stroke-width=\"3\" transform=\"rotate(26)\"/>\n    <circle cx=\"0\" cy=\"0\" r=\"13\" fill=\"#CE422B\" stroke=\"#8F2A17\" stroke-width=\"3\"/>\n  </g>\n  <path d=\"M380 170 L398 134\" stroke=\"#8F2A17\" stroke-width=\"7\" stroke-linecap=\"round\"/>\n  <rect x=\"352\" y=\"72\" width=\"104\" height=\"64\" rx=\"12\" fill=\"#FFF6EC\" stroke=\"#8F2A17\" stroke-width=\"3\"/>\n  <text x=\"404\" y=\"110\" text-anchor=\"middle\" font-family=\"ui-monospace, Menlo, Consolas, \'Noto Sans CJK SC\', monospace\" font-size=\"30\" font-weight=\"700\" fill=\"#B3261E\">!</text>\n  <text x=\"404\" y=\"128\" text-anchor=\"middle\" font-family=\"system-ui, -apple-system, \'Noto Sans CJK SC\', \'Source Han Sans SC\', \'PingFang SC\', \'Microsoft YaHei\', sans-serif\" font-size=\"13\" fill=\"#7A6A5C\">\u{5df2}\u{4e0a}\u{62a5}</text>\n\n  <!-- \u{94ed}\u{724c} -->\n  <text x=\"36\" y=\"408\" font-family=\"system-ui, -apple-system, \'Noto Sans CJK SC\', \'Source Han Sans SC\', \'PingFang SC\', \'Microsoft YaHei\', sans-serif\" font-size=\"26\" font-weight=\"700\" fill=\"#1F1B18\">\u{7532}\u{54e8} Sentri</text>\n  <text x=\"36\" y=\"432\" font-family=\"system-ui, -apple-system, \'Noto Sans CJK SC\', \'Source Han Sans SC\', \'PingFang SC\', \'Microsoft YaHei\', sans-serif\" font-size=\"13\" fill=\"#7A6A5C\">security-rust \u{9879}\u{76ee}\u{5ba0}\u{7269} \u{b7} \u{53ea}\u{62a5}\u{544a}\u{ff0c}\u{4e0d}\u{62e6}\u{622a}</text>\n  <rect x=\"336\" y=\"388\" width=\"112\" height=\"26\" rx=\"13\" fill=\"#EDF7F1\" stroke=\"#0E9F6E\" stroke-width=\"1.5\"/>\n  <text x=\"392\" y=\"405\" text-anchor=\"middle\" font-family=\"ui-monospace, Menlo, Consolas, \'Noto Sans CJK SC\', monospace\" font-size=\"12\" fill=\"#0B7A55\">deps: regex \u{d7}1</text>\n</svg>\n";
Expand description

SVG 版形象(docs/pet.svg),给 README 与下游界面用。