2020-01-01ãã1å¹´éã®è¨äºä¸è¦§
TL;DR ç°¡æ½ã§ç´æçã«æ±ããã宣è¨çãªRuståãã®ã³ãã³ãã©ã¤ã³å¼æ°ãã¼ã¶ã¼ãä½ãã¾ããã https://crates.io/crates/argopt ã¢ããã¼ã·ã§ã³ Rustã«structoptã¨ããã©ã¤ãã©ãªãããã¾ããããã¯ã³ãã³ãã©ã¤ã³å¼æ°ããã¼ãºããã©ã¤ãã©ãªãªãã§ãããåã¯â¦
TL:DR ã¬ãã¸ã㪠https://github.com/tanakh/easy-scraper ããã¥ã¡ã³ã èæ¯ ãã®ã¨ãã訳ãã£ã¦Rustã§HTMLãããã¼ã¿ãæ½åºããã³ã¼ããæ¸ãã¦ããã®ã§ããã æ¢åã®ã¹ã¯ã¬ã¤ãã³ã°ã©ã¤ãã©ãªãï¼å人çã«ã¯ï¼ã©ãããã¾ãã¡ä½¿ãããããªããªãã¨æã£ã¦ãâ¦
ãã®åä½ã£ãã¡ã¢åã©ã¤ãã©ãª ãããããæ¹è¯ãã¾ããã ããã¾ã§ã¯TokenStreamã®parseãããã©ãã£ãã®ã§ãµã¼ãã©ã¤ãã©ãªã®ãããã³ã°ã©ã¤ãã©ãªã使ã£ã¦ãããã§ããã å¶ç´ã大ããã¦ããæãã®æ§æãä½ããªãã£ãã®ã§èªåã§parseããããã«ãã¾ããã â¦
TL;DR ä¸è¡è¿½å ããã ãã§é¢æ°ãã¡ã¢åãããã¯ããä½ã£ãã ææç©ã¯ãã¡ã https://docs.rs/memoise/ èæ¯ åãå¼æ°ã«å¯¾ãã¦åãå¤ãè¿ãé¢æ°ï¼ããããåç §éæã ã£ããæ°å¦çã ã£ãããªé¢æ°ï¼ã§ã¯ã é¢æ°ã®è¨ç®çµæãä¿åãã¦ãããã¨ã«ãã£ã¦è¨ç®ãé«éâ¦