Skip to content

Rename use-rustls and use-openssl features #42

@dr-orlovsky

Description

@dr-orlovsky

According to Rust API guidelines feature names with use- prefix considered wrong: https://rust-lang.github.io/api-guidelines/naming.html#c-feature

This is justified, since ppl looking for features will frequently use rustls instead of use-rustls and will report issues - we had plenty of them in rust-bitcoin with similar serde situation.

There is two options:

  1. Rename crates with rustls_crate = { package = "rustls" } + extern crate rustls_crate as rustls in lib.rs and rename features into rustls
  2. Rename features into tls and ssl

I am pro second option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions