]> Untitled Git - lemmy.git/commit
Organize utils into separate files. Fixes #2295 (#2736)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 16 Feb 2023 04:05:14 +0000 (23:05 -0500)
committerGitHub <noreply@github.com>
Thu, 16 Feb 2023 04:05:14 +0000 (05:05 +0100)
commit36aaa5064400e794ffc4141dcadca6f75d1978db
tree74d2fc7ec669bea4754ee0ec8bdd350240e991fb
parent8a27978ee17dabb2b0b6c75f8a0e2b562a63ced5
Organize utils into separate files. Fixes #2295 (#2736)

* Organize utils into separate files. Fixes #2295

* Moving tests.

* Fix test.

* Fix test 2
43 files changed:
Cargo.lock
crates/api/src/community/ban.rs
crates/api/src/lib.rs
crates/api/src/local_user/ban_person.rs
crates/api/src/local_user/save_settings.rs
crates/api_common/Cargo.toml
crates/api_common/src/utils.rs
crates/api_common/src/websocket/send.rs
crates/api_crud/src/comment/create.rs
crates/api_crud/src/comment/update.rs
crates/api_crud/src/community/create.rs
crates/api_crud/src/community/remove.rs
crates/api_crud/src/community/update.rs
crates/api_crud/src/post/create.rs
crates/api_crud/src/post/update.rs
crates/api_crud/src/private_message/create.rs
crates/api_crud/src/private_message/update.rs
crates/api_crud/src/site/create.rs
crates/api_crud/src/site/update.rs
crates/api_crud/src/user/create.rs
crates/apub/src/activities/block/block_user.rs
crates/apub/src/activities/block/mod.rs
crates/apub/src/activities/create_or_update/mod.rs
crates/apub/src/mentions.rs
crates/apub/src/objects/comment.rs
crates/apub/src/objects/community.rs
crates/apub/src/objects/instance.rs
crates/apub/src/objects/person.rs
crates/apub/src/objects/post.rs
crates/apub/src/objects/private_message.rs
crates/apub/src/protocol/objects/group.rs
crates/db_schema/src/impls/instance.rs
crates/routes/src/feeds.rs
crates/utils/src/lib.rs
crates/utils/src/rate_limit/mod.rs
crates/utils/src/test.rs [deleted file]
crates/utils/src/utils.rs [deleted file]
crates/utils/src/utils/markdown.rs [new file with mode: 0644]
crates/utils/src/utils/mention.rs [new file with mode: 0644]
crates/utils/src/utils/mod.rs [new file with mode: 0644]
crates/utils/src/utils/slurs.rs [new file with mode: 0644]
crates/utils/src/utils/time.rs [new file with mode: 0644]
crates/utils/src/utils/validation.rs [new file with mode: 0644]