Created by: oblivisheee
This pull request involves replacing the async-nats-easy library with the nats-handling library across multiple files and modules in the project. The changes include updating dependencies, modifying error handling, and refactoring code to use the new library.
Dependency updates:
-
assistant/Cargo.toml,subscription/Cargo.toml,users/Cargo.toml: Removedasync-nats-easyand addednats-handlingas a dependency. [1] [2] [3] [4] [5]
Error handling updates:
-
assistant/src/errors.rs,subscription/src/errors.rs,users/src/errors.rs: Updated error handling to usenats_handling::NatsErrorinstead ofasync_nats_easy::NatsError. [1] [2] [3] [4]
Code refactoring:
-
assistant/src/main.rs,subscription/src/main.rs,users/src/main.rs: Replaced instances ofasync_nats_easywithnats_handlingfor NATS client initialization and message processing. [1] [2] [3] [4] [5] [6] -
assistant/src/nats.rs,subscription/src/nats.rs,users/src/nats.rs: Updated imports and refactored message processing logic to usenats_handlinglibrary functions. [1] [2] [3] [4] [5]