scylladb / scylladb/cpp-rs-driver

Add support for Rustls

Open
#358 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
26
Forks
19
Avg merge
1d 21h
Merged PRs (30d)
7

Description

Some time ago Rust Driver gained support for Rustls as backend for TLS.
It makes sense to add support for it in cpp-rust-driver. The main benefit is not requiring a library to be installed on the system, so building and using the driver becomes easier.
It remains an open question how exactly should we support it.
Imo there should definitely be a new CMake switch, similarly to how we now have one for openssl.
Should backend be chosen at runtime (as in Rust Driver), or at compile time? How exactly should the API look like? I don't know.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing OpenSSL CMake switch in cpp-rust-driver and the Rust Driver's Rustls support. Resolve whether backend selection should happen at runtime or compile time, and define the API shape and configuration behavior. Done means Rustls support has an agreed design and implementation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, rust
Domain
backend-api-design, build-system, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.