Benign rust 971 installs Download

sandogasa-mailman 0.25.3

“HyperKitty (Mailman 3) archive API client”

Basename is uppercase README.mdRelease published within seven days
SHA-25669cbf5c9d8d067387a602431d67f9dc4063e2aea4d8bd71f63f4e2a59cb8e2cb

Evidence

imports reqwest::Client client.rs · lines 1–10
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 …
imports super::* client.rs · lines 112–131
⋯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
References the Tokio async runtime namespace client.rs · lines 133–139
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:: …
References a public code-forge URL README.md · lines 1–9
1# sandogasa-mailman
2
3A Rust client for [HyperKitty](https://gitlab.com/mailman/hyperkitty), the
4Mailman 3 web archiver API.
5
⋯4 lines
Markdown-style heading precedes a code fence README.md · lines 9–19
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

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.