sandogasa-mailman 0.25.3
“HyperKitty (Mailman 3) archive API client”
Basename is uppercase README.mdRelease published within seven days
SHA-25669cbf5c9d8d067387a602431d67f9dc4063e2aea4d8bd71f63f4e2a59cb8e2cb
MaleculeH₂(Cm₃Db)Md₂(InPa)
Evidence
1// SPDX-License-Identifier: Apache-2.0 OR MIT
2
3use reqwest::Client;
4
5use crate::models::{Email, PaginatedResponse, obfuscate_email};
6
7const HYPERKITTY_BASE: &str = "https://lists.fedoraproject.org/archives";
8
9pub struct MailmanClient {
10 b …
⋯4 lines
116}
117
118#[cfg(test)]
119mod tests {
120 use super::*;
121 use wiremock::matchers::{method, path_regex};
122 use wiremock::{Mock, MockServer, ResponseTemplate};
123
124 #[test]
125 fn new_uses_default_base_url() {
126 let client = MailmanClient::new();
⋯5 lines
133:19… (client.base_url, "https://example.com/archives");
134 }
135
136 #[tokio::test]
137 async fn find_sender_id_found() {
138 let server = MockServer::start().await;
139 let client = MailmanClient:: …
1# sandogasa-mailman
2
3A Rust client for [HyperKitty](https://gitlab.com/mailman/hyperkitty), the
4Mailman 3 web archiver API.
5
⋯4 lines
9:17… 's recent emails across all lists
10- No authentication required
11
12## Usage
13
14```rust
⋯5 lines
No evidence locations were recorded for this file. Raw result