Thanks for your interest in contributing to rustls-cng-crypto.
This crate implements a rustls crypto provider backed by Windows CNG. Full test coverage requires a Windows host because the implementation calls Windows cryptography APIs.
Install a stable Rust toolchain, then run:
cargo fmt -- --check
cargo testOn non-Windows hosts, use formatting and metadata checks locally, then rely on GitHub Actions for Windows validation.
This repository tracks third-party Rust dependencies in LICENSE-3rdparty.csv. The file is generated from Cargo.lock with Datadog's Rust license inventory tool.
After changing dependencies, run:
make sync-licenses
make check-licensesCommit Cargo.lock, LICENSE-3rdparty.csv, and any required license-tool.toml override changes together. Do not hand-edit generated LICENSE-3rdparty.csv rows.
Before opening a pull request:
- Run
cargo fmt -- --check. - Run
make check-licenses. - Run
cargo teston Windows or confirm that GitHub Actions will provide Windows test coverage. - Update documentation for user-visible changes.
Unless explicitly stated otherwise, contributions are licensed under the MIT License. See LICENSE for the repository license and LICENSE-3rdparty.csv for third-party dependency notices.