[READ-ONLY] Mirror of https://github.com/FoxxMD/docker-proxy-filter. Filter the contents of Docker API responses
docker docker-socket-proxy filter
0

Configure Feed

Select the types of activity you want to include in your feed.

Replace slog with tracing

FoxxMD (Oct 8, 2025, 3:05 PM UTC) 6dbc90f2 9485dab8

+76 -456
+69 -430
Cargo.lock
··· 40 40 ] 41 41 42 42 [[package]] 43 - name = "android_system_properties" 44 - version = "0.1.5" 45 - source = "registry+https://github.com/rust-lang/crates.io-index" 46 - checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 47 - dependencies = [ 48 - "libc", 49 - ] 50 - 51 - [[package]] 52 - name = "anyhow" 53 - version = "1.0.100" 54 - source = "registry+https://github.com/rust-lang/crates.io-index" 55 - checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" 56 - 57 - [[package]] 58 - name = "arc-swap" 59 - version = "1.7.1" 60 - source = "registry+https://github.com/rust-lang/crates.io-index" 61 - checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" 62 - 63 - [[package]] 64 43 name = "async-channel" 65 44 version = "2.5.0" 66 45 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 77 56 version = "1.1.2" 78 57 source = "registry+https://github.com/rust-lang/crates.io-index" 79 58 checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 80 - 81 - [[package]] 82 - name = "autocfg" 83 - version = "1.5.0" 84 - source = "registry+https://github.com/rust-lang/crates.io-index" 85 - checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" 86 59 87 60 [[package]] 88 61 name = "backtrace" ··· 155 128 checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 156 129 157 130 [[package]] 158 - name = "chrono" 159 - version = "0.4.42" 160 - source = "registry+https://github.com/rust-lang/crates.io-index" 161 - checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" 162 - dependencies = [ 163 - "iana-time-zone", 164 - "js-sys", 165 - "num-traits", 166 - "wasm-bindgen", 167 - "windows-link 0.2.1", 168 - ] 169 - 170 - [[package]] 171 131 name = "concurrent-queue" 172 132 version = "2.5.0" 173 133 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 213 173 ] 214 174 215 175 [[package]] 216 - name = "crossbeam-channel" 217 - version = "0.5.15" 218 - source = "registry+https://github.com/rust-lang/crates.io-index" 219 - checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" 220 - dependencies = [ 221 - "crossbeam-utils", 222 - ] 223 - 224 - [[package]] 225 176 name = "crossbeam-utils" 226 177 version = "0.8.21" 227 178 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 249 200 ] 250 201 251 202 [[package]] 252 - name = "deranged" 253 - version = "0.5.4" 254 - source = "registry+https://github.com/rust-lang/crates.io-index" 255 - checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071" 256 - dependencies = [ 257 - "powerfmt", 258 - ] 259 - 260 - [[package]] 261 203 name = "digest" 262 204 version = "0.10.7" 263 205 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 292 234 "envy", 293 235 "futures-util", 294 236 "http", 295 - "log", 296 237 "ntex", 297 238 "regex", 298 239 "reqwest", 299 240 "serde", 300 241 "serde_json", 301 - "slog", 302 - "slog-async", 303 - "slog-envlogger", 304 - "slog-scope", 305 - "slog-stdlog", 306 - "slog-term", 242 + "tracing", 243 + "tracing-subscriber", 307 244 "url", 308 245 ] 309 246 ··· 355 292 version = "1.0.2" 356 293 source = "registry+https://github.com/rust-lang/crates.io-index" 357 294 checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 358 - 359 - [[package]] 360 - name = "erased-serde" 361 - version = "0.4.8" 362 - source = "registry+https://github.com/rust-lang/crates.io-index" 363 - checksum = "259d404d09818dec19332e31d94558aeb442fea04c817006456c24b5460bbd4b" 364 - dependencies = [ 365 - "serde", 366 - "serde_core", 367 - "typeid", 368 - ] 369 295 370 296 [[package]] 371 297 name = "errno" ··· 695 621 ] 696 622 697 623 [[package]] 698 - name = "iana-time-zone" 699 - version = "0.1.64" 700 - source = "registry+https://github.com/rust-lang/crates.io-index" 701 - checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" 702 - dependencies = [ 703 - "android_system_properties", 704 - "core-foundation-sys", 705 - "iana-time-zone-haiku", 706 - "js-sys", 707 - "log", 708 - "wasm-bindgen", 709 - "windows-core", 710 - ] 711 - 712 - [[package]] 713 - name = "iana-time-zone-haiku" 714 - version = "0.1.2" 715 - source = "registry+https://github.com/rust-lang/crates.io-index" 716 - checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 717 - dependencies = [ 718 - "cc", 719 - ] 720 - 721 - [[package]] 722 624 name = "icu_collections" 723 625 version = "2.0.0" 724 626 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 863 765 ] 864 766 865 767 [[package]] 866 - name = "is-terminal" 867 - version = "0.4.16" 868 - source = "registry+https://github.com/rust-lang/crates.io-index" 869 - checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" 870 - dependencies = [ 871 - "hermit-abi", 872 - "libc", 873 - "windows-sys 0.59.0", 874 - ] 875 - 876 - [[package]] 877 768 name = "itoa" 878 769 version = "1.0.15" 879 770 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 918 809 version = "0.4.28" 919 810 source = "registry+https://github.com/rust-lang/crates.io-index" 920 811 checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 812 + 813 + [[package]] 814 + name = "matchers" 815 + version = "0.2.0" 816 + source = "registry+https://github.com/rust-lang/crates.io-index" 817 + checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" 921 818 dependencies = [ 922 - "value-bag", 819 + "regex-automata", 923 820 ] 924 821 925 822 [[package]] ··· 1237 1134 ] 1238 1135 1239 1136 [[package]] 1240 - name = "num-conv" 1241 - version = "0.1.0" 1242 - source = "registry+https://github.com/rust-lang/crates.io-index" 1243 - checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 1244 - 1245 - [[package]] 1246 - name = "num-traits" 1247 - version = "0.2.19" 1137 + name = "nu-ansi-term" 1138 + version = "0.50.1" 1248 1139 source = "registry+https://github.com/rust-lang/crates.io-index" 1249 - checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 1140 + checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399" 1250 1141 dependencies = [ 1251 - "autocfg", 1142 + "windows-sys 0.52.0", 1252 1143 ] 1253 1144 1254 1145 [[package]] ··· 1378 1269 dependencies = [ 1379 1270 "zerovec", 1380 1271 ] 1381 - 1382 - [[package]] 1383 - name = "powerfmt" 1384 - version = "0.2.0" 1385 - source = "registry+https://github.com/rust-lang/crates.io-index" 1386 - checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 1387 1272 1388 1273 [[package]] 1389 1274 name = "proc-macro2" ··· 1619 1504 ] 1620 1505 1621 1506 [[package]] 1622 - name = "serde_fmt" 1623 - version = "1.0.3" 1624 - source = "registry+https://github.com/rust-lang/crates.io-index" 1625 - checksum = "e1d4ddca14104cd60529e8c7f7ba71a2c8acd8f7f5cfcdc2faf97eeb7c3010a4" 1626 - dependencies = [ 1627 - "serde", 1628 - ] 1629 - 1630 - [[package]] 1631 1507 name = "serde_json" 1632 1508 version = "1.0.145" 1633 1509 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1664 1540 ] 1665 1541 1666 1542 [[package]] 1543 + name = "sharded-slab" 1544 + version = "0.1.7" 1545 + source = "registry+https://github.com/rust-lang/crates.io-index" 1546 + checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" 1547 + dependencies = [ 1548 + "lazy_static", 1549 + ] 1550 + 1551 + [[package]] 1667 1552 name = "shlex" 1668 1553 version = "1.3.0" 1669 1554 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1695 1580 checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" 1696 1581 1697 1582 [[package]] 1698 - name = "slog" 1699 - version = "2.8.0" 1700 - source = "registry+https://github.com/rust-lang/crates.io-index" 1701 - checksum = "713701148774f80b669126b7f7becffcab60d78bfc5ff1e18c02baabbf8b1ff9" 1702 - dependencies = [ 1703 - "anyhow", 1704 - "erased-serde", 1705 - "rustversion", 1706 - "serde_core", 1707 - ] 1708 - 1709 - [[package]] 1710 - name = "slog-async" 1711 - version = "2.8.0" 1712 - source = "registry+https://github.com/rust-lang/crates.io-index" 1713 - checksum = "72c8038f898a2c79507940990f05386455b3a317d8f18d4caea7cbc3d5096b84" 1714 - dependencies = [ 1715 - "crossbeam-channel", 1716 - "slog", 1717 - "take_mut", 1718 - "thread_local", 1719 - ] 1720 - 1721 - [[package]] 1722 - name = "slog-envlogger" 1723 - version = "2.2.0" 1724 - source = "registry+https://github.com/rust-lang/crates.io-index" 1725 - checksum = "906a1a0bc43fed692df4b82a5e2fbfc3733db8dad8bb514ab27a4f23ad04f5c0" 1726 - dependencies = [ 1727 - "log", 1728 - "regex", 1729 - "slog", 1730 - "slog-async", 1731 - "slog-scope", 1732 - "slog-stdlog", 1733 - "slog-term", 1734 - ] 1735 - 1736 - [[package]] 1737 - name = "slog-scope" 1738 - version = "4.4.0" 1739 - source = "registry+https://github.com/rust-lang/crates.io-index" 1740 - checksum = "2f95a4b4c3274cd2869549da82b57ccc930859bdbf5bcea0424bc5f140b3c786" 1741 - dependencies = [ 1742 - "arc-swap", 1743 - "lazy_static", 1744 - "slog", 1745 - ] 1746 - 1747 - [[package]] 1748 - name = "slog-stdlog" 1749 - version = "4.1.1" 1750 - source = "registry+https://github.com/rust-lang/crates.io-index" 1751 - checksum = "6706b2ace5bbae7291d3f8d2473e2bfab073ccd7d03670946197aec98471fa3e" 1752 - dependencies = [ 1753 - "log", 1754 - "slog", 1755 - "slog-scope", 1756 - ] 1757 - 1758 - [[package]] 1759 - name = "slog-term" 1760 - version = "2.9.2" 1761 - source = "registry+https://github.com/rust-lang/crates.io-index" 1762 - checksum = "5cb1fc680b38eed6fad4c02b3871c09d2c81db8c96aa4e9c0a34904c830f09b5" 1763 - dependencies = [ 1764 - "chrono", 1765 - "is-terminal", 1766 - "slog", 1767 - "term", 1768 - "thread_local", 1769 - "time", 1770 - ] 1771 - 1772 - [[package]] 1773 1583 name = "smallvec" 1774 1584 version = "1.15.1" 1775 1585 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1808 1618 checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" 1809 1619 1810 1620 [[package]] 1811 - name = "sval" 1812 - version = "2.15.0" 1813 - source = "registry+https://github.com/rust-lang/crates.io-index" 1814 - checksum = "d94c4464e595f0284970fd9c7e9013804d035d4a61ab74b113242c874c05814d" 1815 - 1816 - [[package]] 1817 - name = "sval_buffer" 1818 - version = "2.15.0" 1819 - source = "registry+https://github.com/rust-lang/crates.io-index" 1820 - checksum = "a0f46e34b20a39e6a2bf02b926983149b3af6609fd1ee8a6e63f6f340f3e2164" 1821 - dependencies = [ 1822 - "sval", 1823 - "sval_ref", 1824 - ] 1825 - 1826 - [[package]] 1827 - name = "sval_dynamic" 1828 - version = "2.15.0" 1829 - source = "registry+https://github.com/rust-lang/crates.io-index" 1830 - checksum = "03d0970e53c92ab5381d3b2db1828da8af945954d4234225f6dd9c3afbcef3f5" 1831 - dependencies = [ 1832 - "sval", 1833 - ] 1834 - 1835 - [[package]] 1836 - name = "sval_fmt" 1837 - version = "2.15.0" 1838 - source = "registry+https://github.com/rust-lang/crates.io-index" 1839 - checksum = "43e5e6e1613e1e7fc2e1a9fdd709622e54c122ceb067a60d170d75efd491a839" 1840 - dependencies = [ 1841 - "itoa", 1842 - "ryu", 1843 - "sval", 1844 - ] 1845 - 1846 - [[package]] 1847 - name = "sval_json" 1848 - version = "2.15.0" 1849 - source = "registry+https://github.com/rust-lang/crates.io-index" 1850 - checksum = "aec382f7bfa6e367b23c9611f129b94eb7daaf3d8fae45a8d0a0211eb4d4c8e6" 1851 - dependencies = [ 1852 - "itoa", 1853 - "ryu", 1854 - "sval", 1855 - ] 1856 - 1857 - [[package]] 1858 - name = "sval_nested" 1859 - version = "2.15.0" 1860 - source = "registry+https://github.com/rust-lang/crates.io-index" 1861 - checksum = "3049d0f99ce6297f8f7d9953b35a0103b7584d8f638de40e64edb7105fa578ae" 1862 - dependencies = [ 1863 - "sval", 1864 - "sval_buffer", 1865 - "sval_ref", 1866 - ] 1867 - 1868 - [[package]] 1869 - name = "sval_ref" 1870 - version = "2.15.0" 1871 - source = "registry+https://github.com/rust-lang/crates.io-index" 1872 - checksum = "f88913e77506085c0a8bf6912bb6558591a960faf5317df6c1d9b227224ca6e1" 1873 - dependencies = [ 1874 - "sval", 1875 - ] 1876 - 1877 - [[package]] 1878 - name = "sval_serde" 1879 - version = "2.15.0" 1880 - source = "registry+https://github.com/rust-lang/crates.io-index" 1881 - checksum = "f579fd7254f4be6cd7b450034f856b78523404655848789c451bacc6aa8b387d" 1882 - dependencies = [ 1883 - "serde_core", 1884 - "sval", 1885 - "sval_nested", 1886 - ] 1887 - 1888 - [[package]] 1889 1621 name = "syn" 1890 1622 version = "1.0.109" 1891 1623 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1949 1681 ] 1950 1682 1951 1683 [[package]] 1952 - name = "take_mut" 1953 - version = "0.2.2" 1954 - source = "registry+https://github.com/rust-lang/crates.io-index" 1955 - checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" 1956 - 1957 - [[package]] 1958 1684 name = "tempfile" 1959 1685 version = "3.23.0" 1960 1686 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1968 1694 ] 1969 1695 1970 1696 [[package]] 1971 - name = "term" 1972 - version = "1.2.0" 1973 - source = "registry+https://github.com/rust-lang/crates.io-index" 1974 - checksum = "2111ef44dae28680ae9752bb89409e7310ca33a8c621ebe7b106cf5c928b3ac0" 1975 - dependencies = [ 1976 - "windows-sys 0.61.2", 1977 - ] 1978 - 1979 - [[package]] 1980 1697 name = "thiserror" 1981 1698 version = "2.0.17" 1982 1699 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2003 1720 checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" 2004 1721 dependencies = [ 2005 1722 "cfg-if", 2006 - ] 2007 - 2008 - [[package]] 2009 - name = "time" 2010 - version = "0.3.44" 2011 - source = "registry+https://github.com/rust-lang/crates.io-index" 2012 - checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" 2013 - dependencies = [ 2014 - "deranged", 2015 - "itoa", 2016 - "num-conv", 2017 - "powerfmt", 2018 - "serde", 2019 - "time-core", 2020 - "time-macros", 2021 - ] 2022 - 2023 - [[package]] 2024 - name = "time-core" 2025 - version = "0.1.6" 2026 - source = "registry+https://github.com/rust-lang/crates.io-index" 2027 - checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" 2028 - 2029 - [[package]] 2030 - name = "time-macros" 2031 - version = "0.2.24" 2032 - source = "registry+https://github.com/rust-lang/crates.io-index" 2033 - checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" 2034 - dependencies = [ 2035 - "num-conv", 2036 - "time-core", 2037 1723 ] 2038 1724 2039 1725 [[package]] ··· 2149 1835 checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 2150 1836 dependencies = [ 2151 1837 "pin-project-lite", 1838 + "tracing-attributes", 2152 1839 "tracing-core", 2153 1840 ] 2154 1841 2155 1842 [[package]] 1843 + name = "tracing-attributes" 1844 + version = "0.1.30" 1845 + source = "registry+https://github.com/rust-lang/crates.io-index" 1846 + checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" 1847 + dependencies = [ 1848 + "proc-macro2", 1849 + "quote", 1850 + "syn 2.0.106", 1851 + ] 1852 + 1853 + [[package]] 2156 1854 name = "tracing-core" 2157 1855 version = "0.1.34" 2158 1856 source = "registry+https://github.com/rust-lang/crates.io-index" 2159 1857 checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" 2160 1858 dependencies = [ 2161 1859 "once_cell", 1860 + "valuable", 1861 + ] 1862 + 1863 + [[package]] 1864 + name = "tracing-log" 1865 + version = "0.2.0" 1866 + source = "registry+https://github.com/rust-lang/crates.io-index" 1867 + checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" 1868 + dependencies = [ 1869 + "log", 1870 + "once_cell", 1871 + "tracing-core", 1872 + ] 1873 + 1874 + [[package]] 1875 + name = "tracing-subscriber" 1876 + version = "0.3.20" 1877 + source = "registry+https://github.com/rust-lang/crates.io-index" 1878 + checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5" 1879 + dependencies = [ 1880 + "matchers", 1881 + "nu-ansi-term", 1882 + "once_cell", 1883 + "regex-automata", 1884 + "sharded-slab", 1885 + "smallvec", 1886 + "thread_local", 1887 + "tracing", 1888 + "tracing-core", 1889 + "tracing-log", 2162 1890 ] 2163 1891 2164 1892 [[package]] ··· 2166 1894 version = "0.2.5" 2167 1895 source = "registry+https://github.com/rust-lang/crates.io-index" 2168 1896 checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 2169 - 2170 - [[package]] 2171 - name = "typeid" 2172 - version = "1.0.3" 2173 - source = "registry+https://github.com/rust-lang/crates.io-index" 2174 - checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" 2175 1897 2176 1898 [[package]] 2177 1899 name = "typenum" ··· 2210 1932 checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 2211 1933 2212 1934 [[package]] 2213 - name = "value-bag" 2214 - version = "1.11.1" 2215 - source = "registry+https://github.com/rust-lang/crates.io-index" 2216 - checksum = "943ce29a8a743eb10d6082545d861b24f9d1b160b7d741e0f2cdf726bec909c5" 2217 - dependencies = [ 2218 - "value-bag-serde1", 2219 - "value-bag-sval2", 2220 - ] 2221 - 2222 - [[package]] 2223 - name = "value-bag-serde1" 2224 - version = "1.11.1" 1935 + name = "valuable" 1936 + version = "0.1.1" 2225 1937 source = "registry+https://github.com/rust-lang/crates.io-index" 2226 - checksum = "35540706617d373b118d550d41f5dfe0b78a0c195dc13c6815e92e2638432306" 2227 - dependencies = [ 2228 - "erased-serde", 2229 - "serde", 2230 - "serde_fmt", 2231 - ] 2232 - 2233 - [[package]] 2234 - name = "value-bag-sval2" 2235 - version = "1.11.1" 2236 - source = "registry+https://github.com/rust-lang/crates.io-index" 2237 - checksum = "6fe7e140a2658cc16f7ee7a86e413e803fc8f9b5127adc8755c19f9fefa63a52" 2238 - dependencies = [ 2239 - "sval", 2240 - "sval_buffer", 2241 - "sval_dynamic", 2242 - "sval_fmt", 2243 - "sval_json", 2244 - "sval_ref", 2245 - "sval_serde", 2246 - ] 1938 + checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" 2247 1939 2248 1940 [[package]] 2249 1941 name = "variadics_please" ··· 2406 2098 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2407 2099 2408 2100 [[package]] 2409 - name = "windows-core" 2410 - version = "0.62.2" 2411 - source = "registry+https://github.com/rust-lang/crates.io-index" 2412 - checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" 2413 - dependencies = [ 2414 - "windows-implement", 2415 - "windows-interface", 2416 - "windows-link 0.2.1", 2417 - "windows-result 0.4.1", 2418 - "windows-strings 0.5.1", 2419 - ] 2420 - 2421 - [[package]] 2422 - name = "windows-implement" 2423 - version = "0.60.2" 2424 - source = "registry+https://github.com/rust-lang/crates.io-index" 2425 - checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" 2426 - dependencies = [ 2427 - "proc-macro2", 2428 - "quote", 2429 - "syn 2.0.106", 2430 - ] 2431 - 2432 - [[package]] 2433 - name = "windows-interface" 2434 - version = "0.59.3" 2435 - source = "registry+https://github.com/rust-lang/crates.io-index" 2436 - checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" 2437 - dependencies = [ 2438 - "proc-macro2", 2439 - "quote", 2440 - "syn 2.0.106", 2441 - ] 2442 - 2443 - [[package]] 2444 2101 name = "windows-link" 2445 2102 version = "0.1.3" 2446 2103 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2459 2116 checksum = "5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e" 2460 2117 dependencies = [ 2461 2118 "windows-link 0.1.3", 2462 - "windows-result 0.3.4", 2463 - "windows-strings 0.4.2", 2119 + "windows-result", 2120 + "windows-strings", 2464 2121 ] 2465 2122 2466 2123 [[package]] ··· 2473 2130 ] 2474 2131 2475 2132 [[package]] 2476 - name = "windows-result" 2477 - version = "0.4.1" 2478 - source = "registry+https://github.com/rust-lang/crates.io-index" 2479 - checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" 2480 - dependencies = [ 2481 - "windows-link 0.2.1", 2482 - ] 2483 - 2484 - [[package]] 2485 2133 name = "windows-strings" 2486 2134 version = "0.4.2" 2487 2135 source = "registry+https://github.com/rust-lang/crates.io-index" 2488 2136 checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" 2489 2137 dependencies = [ 2490 2138 "windows-link 0.1.3", 2491 - ] 2492 - 2493 - [[package]] 2494 - name = "windows-strings" 2495 - version = "0.5.1" 2496 - source = "registry+https://github.com/rust-lang/crates.io-index" 2497 - checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" 2498 - dependencies = [ 2499 - "windows-link 0.2.1", 2500 2139 ] 2501 2140 2502 2141 [[package]]
+2 -7
Cargo.toml
··· 8 8 envy = "0.4.2" 9 9 futures-util = "0.3.31" 10 10 http = "1.3.1" 11 - log = {version = "0.4.28", features = ["kv","kv_std"] } 12 11 ntex = { version = "2.16.0", features = ["tokio"] } 13 12 regex = "1.11.3" 14 13 reqwest = {version = "0.12.23", features = ["json"] } 15 14 serde = {version ="1.0.228", features = ["derive"] } 16 15 serde_json = "1.0.145" 17 - slog = "2.8.0" 18 - slog-async = "2.8.0" 19 - slog-envlogger = "2.2.0" 20 - slog-scope = "4.4.0" 21 - slog-stdlog = "4.1.1" 22 - slog-term = "2.9.2" 16 + tracing = "0.1.41" 17 + tracing-subscriber = { version = "0.3.20", features = ["env-filter"] } 23 18 url = "2.5.7" 24 19 25 20 [profile.release]
+5 -19
src/main.rs
··· 1 - #[macro_use] 2 - extern crate slog; 3 - extern crate slog_async; 4 - extern crate slog_term; 5 - extern crate slog_scope; 6 - extern crate slog_stdlog; 7 - #[macro_use] 8 - extern crate log; 9 - 10 - use slog_envlogger; 1 + use tracing::{debug, error, info, warn}; 2 + use tracing_subscriber; 11 3 12 4 use futures_util::TryStreamExt; 13 5 use ::http::StatusCode; 14 6 use ntex::{http::{self, HttpMessage}, web::{self}}; 15 7 use std::sync::{Arc, Mutex}; 16 8 17 - use slog::{Drain}; 18 9 use dotenvy; 19 10 use std::collections::HashMap; 20 11 use serde::{Deserialize, Serialize}; ··· 259 250 #[ntex::main] 260 251 async fn main() -> std::io::Result<()> { 261 252 let _ = dotenvy::dotenv(); 262 - let decorator = slog_term::TermDecorator::new().build(); 263 - let drain = slog_term::FullFormat::new(decorator).build().fuse(); 264 - let drain = slog_async::Async::new(drain).build().fuse(); 265 - let envlogger = slog_envlogger::new(drain); 266 - let logger = slog::Logger::root(envlogger, o!()); 267 253 268 - let _guard = slog_scope::set_global_logger(logger); 269 - slog_scope::scope(&slog_scope::logger().new(o!("scope" => "1")), || ()); 270 - let _log_guard = slog_stdlog::init().unwrap(); 254 + tracing_subscriber::fmt::fmt() 255 + .with_env_filter(tracing_subscriber::EnvFilter::from_default_env()) 256 + .init(); 271 257 272 258 let config = match envy::from_env::<Config>() { 273 259 Ok(config) => {