Projects STRLCPY cfonts Commits 0358a44f
🤬
  • ■ ■ ■ ■ ■ ■
    rust/Cargo.lock
    skipped 3 lines
    4 4   
    5 5  [[package]]
    6 6  name = "assert_cmd"
    7  -version = "2.0.4"
     7 +version = "2.0.7"
    8 8  source = "registry+https://github.com/rust-lang/crates.io-index"
    9  -checksum = "93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e"
     9 +checksum = "fa3d466004a8b4cb1bc34044240a2fd29d17607e2e3bd613eb44fd48e8100da3"
    10 10  dependencies = [
    11 11   "bstr",
    12 12   "doc-comment",
    skipped 15 lines
    28 28  ]
    29 29   
    30 30  [[package]]
     31 +name = "bitflags"
     32 +version = "1.3.2"
     33 +source = "registry+https://github.com/rust-lang/crates.io-index"
     34 +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
     35 + 
     36 +[[package]]
    31 37  name = "bstr"
    32  -version = "0.2.17"
     38 +version = "1.0.1"
    33 39  source = "registry+https://github.com/rust-lang/crates.io-index"
    34  -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
     40 +checksum = "fca0852af221f458706eb0725c03e4ed6c46af9ac98e6a689d5e634215d594dd"
    35 41  dependencies = [
    36  - "lazy_static",
    37 42   "memchr",
     43 + "once_cell",
    38 44   "regex-automata",
     45 + "serde",
    39 46  ]
     47 + 
     48 +[[package]]
     49 +name = "cc"
     50 +version = "1.0.77"
     51 +source = "registry+https://github.com/rust-lang/crates.io-index"
     52 +checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4"
    40 53   
    41 54  [[package]]
    42 55  name = "cfg-if"
    skipped 32 lines
    75 88   
    76 89  [[package]]
    77 90  name = "either"
    78  -version = "1.6.1"
     91 +version = "1.8.0"
    79 92  source = "registry+https://github.com/rust-lang/crates.io-index"
    80  -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
     93 +checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
    81 94   
    82 95  [[package]]
    83 96  name = "enable-ansi-support"
    skipped 5 lines
    89 102  ]
    90 103   
    91 104  [[package]]
     105 +name = "errno"
     106 +version = "0.2.8"
     107 +source = "registry+https://github.com/rust-lang/crates.io-index"
     108 +checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
     109 +dependencies = [
     110 + "errno-dragonfly",
     111 + "libc",
     112 + "winapi",
     113 +]
     114 + 
     115 +[[package]]
     116 +name = "errno-dragonfly"
     117 +version = "0.1.2"
     118 +source = "registry+https://github.com/rust-lang/crates.io-index"
     119 +checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
     120 +dependencies = [
     121 + "cc",
     122 + "libc",
     123 +]
     124 + 
     125 +[[package]]
    92 126  name = "exitcode"
    93 127  version = "1.1.2"
    94 128  source = "registry+https://github.com/rust-lang/crates.io-index"
    skipped 1 lines
    96 130   
    97 131  [[package]]
    98 132  name = "getrandom"
    99  -version = "0.2.6"
     133 +version = "0.2.8"
    100 134  source = "registry+https://github.com/rust-lang/crates.io-index"
    101  -checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad"
     135 +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
    102 136  dependencies = [
    103 137   "cfg-if",
    104 138   "libc",
    skipped 16 lines
    121 155  ]
    122 156   
    123 157  [[package]]
     158 +name = "io-lifetimes"
     159 +version = "1.0.3"
     160 +source = "registry+https://github.com/rust-lang/crates.io-index"
     161 +checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c"
     162 +dependencies = [
     163 + "libc",
     164 + "windows-sys",
     165 +]
     166 + 
     167 +[[package]]
    124 168  name = "is_ci"
    125 169  version = "1.1.1"
    126 170  source = "registry+https://github.com/rust-lang/crates.io-index"
    skipped 1 lines
    128 172   
    129 173  [[package]]
    130 174  name = "itertools"
    131  -version = "0.10.3"
     175 +version = "0.10.5"
    132 176  source = "registry+https://github.com/rust-lang/crates.io-index"
    133  -checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3"
     177 +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
    134 178  dependencies = [
    135 179   "either",
    136 180  ]
    137 181   
    138 182  [[package]]
    139 183  name = "itoa"
    140  -version = "1.0.1"
     184 +version = "1.0.4"
    141 185  source = "registry+https://github.com/rust-lang/crates.io-index"
    142  -checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35"
     186 +checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc"
    143 187   
    144 188  [[package]]
    145  -name = "lazy_static"
    146  -version = "1.4.0"
     189 +name = "libc"
     190 +version = "0.2.137"
    147 191  source = "registry+https://github.com/rust-lang/crates.io-index"
    148  -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
     192 +checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89"
    149 193   
    150 194  [[package]]
    151  -name = "libc"
    152  -version = "0.2.125"
     195 +name = "linux-raw-sys"
     196 +version = "0.1.3"
    153 197  source = "registry+https://github.com/rust-lang/crates.io-index"
    154  -checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b"
     198 +checksum = "8f9f08d8963a6c613f4b1a78f4f4a4dbfadf8e6545b2d72861731e4858b8b47f"
    155 199   
    156 200  [[package]]
    157 201  name = "memchr"
    skipped 3 lines
    161 205   
    162 206  [[package]]
    163 207  name = "once_cell"
    164  -version = "1.10.0"
     208 +version = "1.16.0"
    165 209  source = "registry+https://github.com/rust-lang/crates.io-index"
    166  -checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9"
     210 +checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860"
    167 211   
    168 212  [[package]]
    169 213  name = "ppv-lite86"
    170  -version = "0.2.16"
     214 +version = "0.2.17"
    171 215  source = "registry+https://github.com/rust-lang/crates.io-index"
    172  -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
     216 +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
    173 217   
    174 218  [[package]]
    175 219  name = "predicates"
    176  -version = "2.1.1"
     220 +version = "2.1.4"
    177 221  source = "registry+https://github.com/rust-lang/crates.io-index"
    178  -checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c"
     222 +checksum = "f54fc5dc63ed3bbf19494623db4f3af16842c0d975818e469022d09e53f0aa05"
    179 223  dependencies = [
    180 224   "difflib",
    181 225   "itertools",
    skipped 2 lines
    184 228   
    185 229  [[package]]
    186 230  name = "predicates-core"
    187  -version = "1.0.3"
     231 +version = "1.0.5"
    188 232  source = "registry+https://github.com/rust-lang/crates.io-index"
    189  -checksum = "da1c2388b1513e1b605fcec39a95e0a9e8ef088f71443ef37099fa9ae6673fcb"
     233 +checksum = "72f883590242d3c6fc5bf50299011695fa6590c2c70eac95ee1bdb9a733ad1a2"
    190 234   
    191 235  [[package]]
    192 236  name = "predicates-tree"
    193  -version = "1.0.5"
     237 +version = "1.0.7"
    194 238  source = "registry+https://github.com/rust-lang/crates.io-index"
    195  -checksum = "4d86de6de25020a36c6d3643a86d9a6a9f552107c0559c60ea03551b5e16c032"
     239 +checksum = "54ff541861505aabf6ea722d2131ee980b8276e10a1297b94e896dd8b621850d"
    196 240  dependencies = [
    197 241   "predicates-core",
    198 242   "termtree",
    skipped 1 lines
    200 244   
    201 245  [[package]]
    202 246  name = "proc-macro2"
    203  -version = "1.0.37"
     247 +version = "1.0.47"
    204 248  source = "registry+https://github.com/rust-lang/crates.io-index"
    205  -checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1"
     249 +checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725"
    206 250  dependencies = [
    207  - "unicode-xid",
     251 + "unicode-ident",
    208 252  ]
    209 253   
    210 254  [[package]]
    211 255  name = "quote"
    212  -version = "1.0.18"
     256 +version = "1.0.21"
    213 257  source = "registry+https://github.com/rust-lang/crates.io-index"
    214  -checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
     258 +checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
    215 259  dependencies = [
    216 260   "proc-macro2",
    217 261  ]
    skipped 21 lines
    239 283   
    240 284  [[package]]
    241 285  name = "rand_core"
    242  -version = "0.6.3"
     286 +version = "0.6.4"
    243 287  source = "registry+https://github.com/rust-lang/crates.io-index"
    244  -checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
     288 +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
    245 289  dependencies = [
    246 290   "getrandom",
    247 291  ]
    skipped 5 lines
    253 297  checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
    254 298   
    255 299  [[package]]
     300 +name = "rustix"
     301 +version = "0.36.4"
     302 +source = "registry+https://github.com/rust-lang/crates.io-index"
     303 +checksum = "cb93e85278e08bb5788653183213d3a60fc242b10cb9be96586f5a73dcb67c23"
     304 +dependencies = [
     305 + "bitflags",
     306 + "errno",
     307 + "io-lifetimes",
     308 + "libc",
     309 + "linux-raw-sys",
     310 + "windows-sys",
     311 +]
     312 + 
     313 +[[package]]
    256 314  name = "rustversion"
    257  -version = "1.0.6"
     315 +version = "1.0.9"
    258 316  source = "registry+https://github.com/rust-lang/crates.io-index"
    259  -checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f"
     317 +checksum = "97477e48b4cf8603ad5f7aaf897467cf42ab4218a38ef76fb14c2d6773a6d6a8"
    260 318   
    261 319  [[package]]
    262 320  name = "ryu"
    263  -version = "1.0.9"
     321 +version = "1.0.11"
    264 322  source = "registry+https://github.com/rust-lang/crates.io-index"
    265  -checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f"
     323 +checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09"
    266 324   
    267 325  [[package]]
    268 326  name = "serde"
    269  -version = "1.0.136"
     327 +version = "1.0.148"
    270 328  source = "registry+https://github.com/rust-lang/crates.io-index"
    271  -checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789"
     329 +checksum = "e53f64bb4ba0191d6d0676e1b141ca55047d83b74f5607e6d8eb88126c52c2dc"
    272 330  dependencies = [
    273 331   "serde_derive",
    274 332  ]
    275 333   
    276 334  [[package]]
    277 335  name = "serde_derive"
    278  -version = "1.0.136"
     336 +version = "1.0.148"
    279 337  source = "registry+https://github.com/rust-lang/crates.io-index"
    280  -checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9"
     338 +checksum = "a55492425aa53521babf6137309e7d34c20bbfbbfcfe2c7f3a047fd1f6b92c0c"
    281 339  dependencies = [
    282 340   "proc-macro2",
    283 341   "quote",
    skipped 2 lines
    286 344   
    287 345  [[package]]
    288 346  name = "serde_json"
    289  -version = "1.0.79"
     347 +version = "1.0.89"
    290 348  source = "registry+https://github.com/rust-lang/crates.io-index"
    291  -checksum = "8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95"
     349 +checksum = "020ff22c755c2ed3f8cf162dbb41a7268d934702f3ed3631656ea597e08fc3db"
    292 350  dependencies = [
    293 351   "itoa",
    294 352   "ryu",
    skipped 2 lines
    297 355   
    298 356  [[package]]
    299 357  name = "strum"
    300  -version = "0.24.0"
     358 +version = "0.24.1"
    301 359  source = "registry+https://github.com/rust-lang/crates.io-index"
    302  -checksum = "e96acfc1b70604b8b2f1ffa4c57e59176c7dbb05d556c71ecd2f5498a1dee7f8"
     360 +checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
    303 361   
    304 362  [[package]]
    305 363  name = "strum_macros"
    306  -version = "0.24.0"
     364 +version = "0.24.3"
    307 365  source = "registry+https://github.com/rust-lang/crates.io-index"
    308  -checksum = "6878079b17446e4d3eba6192bb0a2950d5b14f0ed8424b852310e5a94345d0ef"
     366 +checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
    309 367  dependencies = [
    310 368   "heck",
    311 369   "proc-macro2",
    skipped 4 lines
    316 374   
    317 375  [[package]]
    318 376  name = "supports-color"
    319  -version = "1.3.0"
     377 +version = "1.3.1"
    320 378  source = "registry+https://github.com/rust-lang/crates.io-index"
    321  -checksum = "4872ced36b91d47bae8a214a683fe54e7078875b399dfa251df346c9b547d1f9"
     379 +checksum = "8ba6faf2ca7ee42fdd458f4347ae0a9bd6bcc445ad7cb57ad82b383f18870d6f"
    322 380  dependencies = [
    323 381   "atty",
    324 382   "is_ci",
    skipped 1 lines
    326 384   
    327 385  [[package]]
    328 386  name = "syn"
    329  -version = "1.0.91"
     387 +version = "1.0.105"
    330 388  source = "registry+https://github.com/rust-lang/crates.io-index"
    331  -checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d"
     389 +checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908"
    332 390  dependencies = [
    333 391   "proc-macro2",
    334 392   "quote",
    335  - "unicode-xid",
     393 + "unicode-ident",
    336 394  ]
    337 395   
    338 396  [[package]]
    339 397  name = "temp-env"
    340  -version = "0.2.0"
     398 +version = "0.3.1"
    341 399  source = "registry+https://github.com/rust-lang/crates.io-index"
    342  -checksum = "45107136c2ddf8c4b87453c02294fd0adf41751796e81e8ba3f7fd951977ab57"
     400 +checksum = "a30d48359f77fbb6af3d7b928cc2d092e1dc90b44f397e979ef08ae15733ed65"
    343 401  dependencies = [
    344 402   "once_cell",
    345 403  ]
    346 404   
    347 405  [[package]]
    348 406  name = "terminal_size"
    349  -version = "0.1.17"
     407 +version = "0.2.3"
    350 408  source = "registry+https://github.com/rust-lang/crates.io-index"
    351  -checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
     409 +checksum = "cb20089a8ba2b69debd491f8d2d023761cbf196e999218c591fa1e7e15a21907"
    352 410  dependencies = [
    353  - "libc",
    354  - "winapi",
     411 + "rustix",
     412 + "windows-sys",
    355 413  ]
    356 414   
    357 415  [[package]]
    358 416  name = "termtree"
    359  -version = "0.2.4"
     417 +version = "0.4.0"
    360 418  source = "registry+https://github.com/rust-lang/crates.io-index"
    361  -checksum = "507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b"
     419 +checksum = "95059e91184749cb66be6dc994f67f182b6d897cb3df74a5bf66b5e709295fd8"
    362 420   
    363 421  [[package]]
    364  -name = "unicode-xid"
    365  -version = "0.2.2"
     422 +name = "unicode-ident"
     423 +version = "1.0.5"
    366 424  source = "registry+https://github.com/rust-lang/crates.io-index"
    367  -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
     425 +checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3"
    368 426   
    369 427  [[package]]
    370 428  name = "wait-timeout"
    skipped 6 lines
    377 435   
    378 436  [[package]]
    379 437  name = "wasi"
    380  -version = "0.10.2+wasi-snapshot-preview1"
     438 +version = "0.11.0+wasi-snapshot-preview1"
    381 439  source = "registry+https://github.com/rust-lang/crates.io-index"
    382  -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
     440 +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
    383 441   
    384 442  [[package]]
    385 443  name = "winapi"
    skipped 17 lines
    403 461  source = "registry+https://github.com/rust-lang/crates.io-index"
    404 462  checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
    405 463   
     464 +[[package]]
     465 +name = "windows-sys"
     466 +version = "0.42.0"
     467 +source = "registry+https://github.com/rust-lang/crates.io-index"
     468 +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
     469 +dependencies = [
     470 + "windows_aarch64_gnullvm",
     471 + "windows_aarch64_msvc",
     472 + "windows_i686_gnu",
     473 + "windows_i686_msvc",
     474 + "windows_x86_64_gnu",
     475 + "windows_x86_64_gnullvm",
     476 + "windows_x86_64_msvc",
     477 +]
     478 + 
     479 +[[package]]
     480 +name = "windows_aarch64_gnullvm"
     481 +version = "0.42.0"
     482 +source = "registry+https://github.com/rust-lang/crates.io-index"
     483 +checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e"
     484 + 
     485 +[[package]]
     486 +name = "windows_aarch64_msvc"
     487 +version = "0.42.0"
     488 +source = "registry+https://github.com/rust-lang/crates.io-index"
     489 +checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4"
     490 + 
     491 +[[package]]
     492 +name = "windows_i686_gnu"
     493 +version = "0.42.0"
     494 +source = "registry+https://github.com/rust-lang/crates.io-index"
     495 +checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7"
     496 + 
     497 +[[package]]
     498 +name = "windows_i686_msvc"
     499 +version = "0.42.0"
     500 +source = "registry+https://github.com/rust-lang/crates.io-index"
     501 +checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246"
     502 + 
     503 +[[package]]
     504 +name = "windows_x86_64_gnu"
     505 +version = "0.42.0"
     506 +source = "registry+https://github.com/rust-lang/crates.io-index"
     507 +checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed"
     508 + 
     509 +[[package]]
     510 +name = "windows_x86_64_gnullvm"
     511 +version = "0.42.0"
     512 +source = "registry+https://github.com/rust-lang/crates.io-index"
     513 +checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028"
     514 + 
     515 +[[package]]
     516 +name = "windows_x86_64_msvc"
     517 +version = "0.42.0"
     518 +source = "registry+https://github.com/rust-lang/crates.io-index"
     519 +checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5"
     520 + 
  • ■ ■ ■ ■ ■ ■
    rust/Cargo.toml
    skipped 20 lines
    21 21  serde = { version = "1.0", features = ["derive"] }
    22 22  serde_json = "1.0"
    23 23  rand = "0.8.5"
    24  -terminal_size = "0.1.17"
     24 +terminal_size = "0.2.3"
    25 25  supports-color = "1"
    26 26   
    27 27  [dev-dependencies]
    28  -temp-env = "0.2.0"
     28 +temp-env = "0.3.0"
    29 29  assert_cmd = "2.0.4"
    30 30   
  • ■ ■ ■ ■ ■ ■
    rust/tests/font_file_test.rs
     1 +extern crate cfonts;
     2 + 
     3 +use cfonts::{say, Options};
     4 + 
     5 +#[cfg(test)]
     6 +mod tests {
     7 + use super::*;
     8 + 
     9 + #[test]
     10 + fn say_works() {
     11 + say(Options {
     12 + text: String::from("hello"),
     13 + ..Options::default()
     14 + });
     15 + }
     16 +}
     17 + 
Please wait...
Page is in error, reload to recover