3 releases

0.1.1 Dec 5, 2024
0.1.1-docs Dec 6, 2024
0.1.0 Nov 14, 2024

#321 in Database interfaces

Download history 109/week @ 2024-11-11 13/week @ 2024-11-18 228/week @ 2024-12-02 35/week @ 2024-12-09

281 downloads per month

MIT/Apache

26KB
164 lines

🌐 pg_idna

IDNA helpers for PostgreSQL.

Rust Build Status License: MIT License: Apache Crates.io Contributors GitHub forks Stars Issues

▶️ Quick Start

🏗️ Build & Run

git clone --depth=1 https://github.com/owenthewizard/pg_idna.git && cd pg_idna
cargo pgrx run --release

🧑‍💻 Have Fun!

CREATE EXTENSION pg_idna;
SELECT idna_to_ascii('☕.us');
"xn--53h.us"
SELECT idna_to_unicode('xn--53h.us');
"☕.us"

🚧 Warning

This project is in a pre-alpha stage. Do not use it in production. I am not responsible if your elephant explodes.

🚀 Performance

Benchmarks are yet to be introduced. In my brief testing, ~1 MM domains could be processed every second.

👷 Code Style

Obey rustfmt and Rust 2021 conventions, as well as clippy lints.

🤝 Contributions

Pull requests are always welcome.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed under the terms of both the MIT License and the Apache License (Version 2.0).

🔢 Version Scheme

At the moment, this project does not have a stable versioning scheme.

Changes will be documented in the Changelog on a best-effort basis.

See the tags for available releases.

👪 Authors

See the list of contributors.

⚖️ License

See LICENSE-APACHE and LICENSE-MIT for details.

🫶 Acknowledgements

Dependencies

~26MB
~575K SLoC