Commit graph

240 commits

Author SHA1 Message Date
naskya
712257a376
docs: add some docs for backend-rs 2024-07-05 23:37:15 +09:00
naskya
19673c6220
chore (backend-rs): update napi-derive 2024-07-05 16:21:16 +09:00
naskya
3d11e6d519
chore: format 2024-07-05 04:23:40 +09:00
naskya
c855681b0c
feat: add ability to disable the cat language conversion 2024-07-05 01:24:57 +09:00
naskya
5045f39da4
chore (backend-rs): use custom macros 2024-07-03 16:32:12 +09:00
naskya
b9aad98174
chore (backend-rs): use with-serde flag 2024-07-03 16:25:11 +09:00
naskya
c59d7fcd03
fix (backend): broken RSS feed title 2024-07-02 23:35:39 +09:00
naskya
f51047d60c
chore (backend-rs): address TODO 2024-06-21 19:09:09 +09:00
naskya
98d14512c1
chore (backend-rs): move same process outside of a loop 2024-06-16 19:48:27 +09:00
naskya
9d9af28cb1
chore (backend-rs): prefer using as_ref & apply clippy fix 2024-06-15 07:03:52 +09:00
naskya
93fdf11cfa
chore (backend-rs): reference Options using as_ref 2024-06-15 06:54:18 +09:00
naskya
8931bc708e
test (backend-rs): minor refactoring 2024-06-12 20:00:44 +09:00
naskya
9502289d89
chore (backend-rs): remove crate-level uses 2024-06-12 03:38:31 +09:00
naskya
d824cb319a
test (backend-rs): ignore some tests in Miri 2024-06-12 03:36:47 +09:00
sup39
0cb4fbf6b4
refactor: macro-rs -> macros + macros_impl
Co-authored-by: naskya <m@naskya.net>
2024-06-12 00:53:51 +08:00
naskya
4e36d22164
refactor (backend): port publishDriveStream to backend-rs 2024-06-12 00:04:01 +09:00
naskya
e10a188751
refactor (backend): port publishNotesStream to backend-rs 2024-06-12 00:04:01 +09:00
naskya
9e6e7733a3
chore (backend-rs): improve error messages
refs:
https://rust-lang.github.io/api-guidelines/interoperability.html
https://github.com/rust-lang/project-error-handling/issues/27
2024-06-11 20:16:40 +09:00
naskya
1cc24b9c25
feature (backend-rs, macro-rs): prittify error outputs for napi export
Co-authored-by: sup39 <dev@sup39.dev>
2024-06-11 20:16:29 +09:00
naskya
e5448bae33
test (backend-rs): add database connection test 2024-06-10 21:44:37 +09:00
naskya
fa9643013e
chore (backend-rs, test): remove unneeded # from raw string literals 2024-06-10 21:14:29 +09:00
naskya
8c56a3256b
chore (backend-rs, test): use array instead of vector 2024-06-10 21:12:27 +09:00
naskya
b752695057
chore (backend-rs): use proper error type 2024-06-10 18:09:26 +09:00
naskya
bc7fdc5c0b
chore (backend-rs): change test names 2024-06-10 18:09:26 +09:00
naskya
581668c306
chore (backend-rs): more connection checks 2024-06-10 18:09:26 +09:00
naskya
37f9078606
chore (backend-rs): shorten doc link text 2024-06-09 21:29:41 +09:00
naskya
679749a2cc
chore (backend-rs): rename modules to more comfortable names 2024-06-09 21:12:41 +09:00
sup39
132af64a6e
refactor (backend-rs): create all_texts macro 2024-06-09 16:34:58 +08:00
naskya
09d975bdce
chore (backend-rs): accept clippy suggestions 2024-06-09 14:02:24 +09:00
naskya
839d4c4d14
chore (backend-rs): PartialNoteToElaborate -> PartialNoteToCheckWordMute
Co-authored-by: sup39 <dev@sup39.dev>
2024-06-09 01:42:37 +09:00
naskya
9f16c00f0c
chore (backend-rs): use Arc for antenna cache 2024-06-09 01:13:05 +09:00
naskya
00e9f0ad48
chore (backend-rs, minor): fix code style 2024-06-07 22:46:46 +09:00
naskya
b9f9e62079
chore (backend-rs): be more specific about error variants 2024-06-07 22:34:45 +09:00
naskya
0839fe27b2
refactor (backend-rs): save nodeinfo cache directly 2024-06-07 22:21:53 +09:00
naskya
6d237e98b8
chore: fix link 2024-06-07 14:02:16 +09:00
naskya
d6bd3af8a9
Merge branch 'develop' into refactor/scheduled-posts 2024-06-07 07:11:46 +09:00
naskya
5ff6003c6e
fix (backend-rs): fix doctest 2024-06-06 17:17:51 +09:00
naskya
8fd3f82d0b
chore (backend-rs): update comment 2024-06-06 17:10:40 +09:00
naskya
b6c16b4e29
chore (backend-rs): fix doc link 2024-06-06 17:10:40 +09:00
naskya
308ecec341
chore: format 2024-06-06 17:10:40 +09:00
naskya
40e5bf45bd
chore (backend-rs): use async HTTP requests 2024-06-06 17:10:40 +09:00
naskya
7413866885
chore (backend-rs): change function names 2024-06-06 17:10:39 +09:00
naskya
4390dfcbfb
perf (backend): store antenna cache in memory 2024-06-06 17:10:39 +09:00
naskya
7e2493b257
refactor (backend): drop support for MK- environment variables 2024-06-06 17:10:39 +09:00
naskya
97765209a2
chore (backend-rs): organize imports 2024-06-06 17:10:39 +09:00
naskya
642c4cb2c7
refactor (backend-rs): remove strum derives 2024-06-06 17:10:39 +09:00
naskya
f479ffb0e5
chore (backend-rs): refactor storage_usage function 2024-06-06 17:10:38 +09:00
naskya
e9d31687f9
chore (backend-rs): remove unused derive 2024-06-06 17:10:38 +09:00
naskya
fc590c1492
chore (backend-rs): use ws or wss for WebSocket 2024-06-06 17:10:38 +09:00
naskya
b111e63953
chore (backend-rs): prefer unwrap_or_else 2024-06-06 17:10:35 +09:00