18 releases

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

#4 in #mark-down

Download history 25/week @ 2024-06-28 12/week @ 2024-07-05 47/week @ 2024-07-12 5/week @ 2024-07-19 63/week @ 2024-07-26 34/week @ 2024-08-02 103/week @ 2024-08-09 167/week @ 2024-08-16 14/week @ 2024-08-23 30/week @ 2024-08-30 13/week @ 2024-09-06 15/week @ 2024-09-13 39/week @ 2024-09-20 21/week @ 2024-09-27 3/week @ 2024-10-04 12/week @ 2024-10-11

76 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