Crates.io | pg_idna |
lib.rs | pg_idna |
version | |
source | src |
created_at | 2024-11-14 07:03:36.390019 |
updated_at | 2024-12-06 01:15:44.667329 |
description | IDNA helpers for PostgreSQL |
homepage | https://github.com/owenthewizard/pg_idna |
repository | https://github.com/owenthewizard/pg_idna |
max_upload_size | |
id | 1447494 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
IDNA helpers for PostgreSQL.
git clone --depth=1 https://github.com/owenthewizard/pg_idna.git && cd pg_idna
cargo pgrx run --release
CREATE EXTENSION pg_idna;
SELECT idna_to_ascii('☕.us');
"xn--53h.us"
SELECT idna_to_unicode('xn--53h.us');
"☕.us"
This project is in a pre-alpha stage. Do not use it in production. I am not responsible if your elephant explodes.
Benchmarks are yet to be introduced. In my brief testing, ~1 MM domains could be processed every second.
Obey rustfmt
and Rust 2021 conventions, as well as clippy
lints.
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).
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.
See LICENSE-APACHE and LICENSE-MIT for details.