Commit graph

91 commits

Author SHA1 Message Date
Vinzenz Schroeter 3d74bfe05e remove Arc from WebSocket Connection 2024-11-13 18:29:48 +01:00
Vinzenz Schroeter bb34541077 remove unreachable path 2024-11-13 18:13:26 +01:00
Vinzenz Schroeter 2e8a61b627 use thiserror for more errors 2024-11-12 22:33:30 +01:00
Vinzenz Schroeter 0ca1b67cb6 fix broken links in documentation 2024-11-12 22:11:45 +01:00
Vinzenz Schroeter 7fbfb9370e move trait impls to CharGrid that are not encoding related 2024-11-12 22:10:59 +01:00
Vinzenz Schroeter ab16f57292 more From for Cp437Grid and BitVec 2024-11-12 21:55:27 +01:00
Vinzenz Schroeter eb7496b27d fix missing doc warning 2024-11-12 19:43:32 +01:00
Vinzenz Schroeter 98901f4479 err returns for series methods 2024-11-12 19:37:21 +01:00
Vinzenz Schroeter 7a23fcb54b add char grid str methods 2024-11-12 19:36:40 +01:00
Vinzenz Schroeter 01edc3dfcc move CharGrid to own file 2024-11-12 19:36:36 +01:00
Vinzenz Schroeter 85a0ea0dc3 add row and column ops for primitive grid 2024-11-12 19:36:29 +01:00
Vinzenz Schroeter eb42e0aba1 add derives, u8::from(&Brightness) 2024-11-12 19:36:12 +01:00
Vinzenz Schroeter 4f1ef8aafb replace Connection::send_mut with internal mutability 2024-11-12 19:34:50 +01:00
Vinzenz Schroeter 7bc59f6df8 add BrightnessGrid::saturating_load 2024-11-12 19:33:54 +01:00
Vinzenz Schroeter d0598446e6 make BitVec type alias pub 2024-11-12 19:33:06 +01:00
Vinzenz Schroeter c7dc935984 fix CI fails because example does not panic depending on network 2024-11-10 11:10:40 +01:00
Vinzenz Schroeter 3db1fb643f convert shell.nix to flake.nix 2024-11-09 21:25:46 +01:00
Vinzenz Schroeter 28f2720464 Version 0.10.0 2024-10-16 20:07:52 +02:00
Vinzenz Schroeter cbadd85f07 use Origin::ZERO constant 2024-10-16 19:21:45 +02:00
Vinzenz Schroeter fbc8cd6c31 rename sp_bit_vec_* to sp_bitvec_* 2024-10-15 21:50:43 +02:00
Vinzenz Schroeter a08d439366 formatting changes, mostly resulting from the shorter name 2024-10-15 21:37:36 +02:00
Vinzenz Schroeter 78a4d4dbcf add Brightness::saturating_from 2024-10-15 21:37:36 +02:00
Vinzenz Schroeter 593a975d5c rename convert to map
also use the fact that T is known to be Copy
2024-10-15 21:37:36 +02:00
Vinzenz Schroeter bd0ecd77d2 rename PixelGrid to Bitmap 2024-10-15 21:37:36 +02:00
Vinzenz Schroeter 8d3ca4dfad clippy fixes 2024-10-14 22:28:41 +02:00
Vinzenz Schroeter be17319993 add unit tests 2024-10-13 16:51:32 +02:00
Vinzenz Schroeter ab82900414 improve whitespace handling when converting between string and grid 2024-10-13 16:31:03 +02:00
Vinzenz Schroeter 526f6264bf easier conversion of PrimitiveGrids 2024-10-13 16:13:12 +02:00
Vinzenz Schroeter e1ca802268 CP437 conversion functions 2024-10-13 13:45:28 +02:00
Vinzenz Schroeter ce946c2fb8 improve docs 2024-10-13 13:41:22 +02:00
Vinzenz Schroeter f7fddda8f1 improve announce example 2024-10-13 13:40:26 +02:00
Vinzenz Schroeter dbbe631741 fix enable all features for docs.rs, bump version again for re-upload 2024-10-12 20:07:55 +02:00
Vinzenz Schroeter 55524a69e2 fix doctest, enable all features for docs.rs 2024-10-12 19:53:47 +02:00
Vinzenz Schroeter 9b618d4f35 bump version to 0.9.0, cleanup readme 2024-10-12 19:44:17 +02:00
Vinzenz Schroeter 366aec054f close connection on drop 2024-10-12 19:33:49 +02:00
Vinzenz Schroeter 5f8f691464 add tests 2024-10-12 18:38:43 +02:00
Vinzenz Schroeter 3d47b41106 conversion between UTF-8 and CP-437 2024-10-12 18:23:36 +02:00
Vinzenz Schroeter c7764c49e1 add websocket binary message protocol 2024-10-12 16:18:27 +02:00
Vinzenz Schroeter f434b5bf83 udp protocol as feature 2024-10-12 13:04:56 +02:00
Vinzenz Schroeter 942968fcf4 fix error message, add test 2024-10-11 21:38:47 +02:00
Vinzenz Schroeter 03f7495695 add function to load Cp437Grid from str 2024-10-11 21:38:24 +02:00
Vinzenz Schroeter 21cc7e3f12 fixup! hide packets to reduce api surface for new users 2024-10-11 21:37:28 +02:00
Vinzenz Schroeter 46cb48c126 convert between origin units 2024-10-11 21:36:27 +02:00
Vinzenz Schroeter 78b5d1180b hide packets to reduce api surface for new users 2024-10-10 23:41:08 +02:00
Vinzenz Schroeter 26bace8990 add links to documentation, add some docs 2024-10-10 23:17:19 +02:00
Vinzenz Schroeter 96c010de56 set version to 0.8.0 2024-09-07 15:14:44 +02:00
Vinzenz Schroeter 341c0ef2cd change cbindgen sorting to None 2024-09-07 13:25:35 +02:00
Vinzenz Schroeter e97418b51b named fields instead of tuple for Packet, doc adjustments 2024-09-07 11:47:42 +02:00
Vinzenz Schroeter 051dbfabea wrap and rename ALL the types 2024-09-05 21:25:15 +02:00
Vinzenz Schroeter b9fc06117e wip connection trait 2024-08-29 23:22:52 +02:00