18 releases

0.1.20 Aug 17, 2024
0.1.19 Jun 13, 2024
0.1.18 Jan 11, 2024

#5 in #mark-down

Download history 5/week @ 2024-06-03 200/week @ 2024-06-10 16/week @ 2024-06-17 33/week @ 2024-06-24 23/week @ 2024-07-01 12/week @ 2024-07-08 46/week @ 2024-07-15 73/week @ 2024-07-29 117/week @ 2024-08-05 146/week @ 2024-08-12 39/week @ 2024-08-19 13/week @ 2024-08-26 33/week @ 2024-09-02 5/week @ 2024-09-09 16/week @ 2024-09-16

69 downloads per month
Used in 3 crates (via xsmtp)

MulanPSL-2.0

11KB
244 lines

idns

use aok::{Result, OK};

#[tokio::test]
async fn test() -> Result<()> {
  // let use_ipv6 = use_ipv6().await;
  for host in [
    "mail.i18n.site",
    "baidu.com",
    "youdao.com",
    "z.com",
    "google.com",
  ] {
    let r = idns::A(host).await?;
    dbg!(r);
  }
  OK
}

out


running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s


running 1 test
test test ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.02s


running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Dependencies

~17–29MB
~556K SLoC