ironrdp-tls 0.1.0

TLS boilerplate common with most IronRDP clients
[dependencies.tokio]
version = "1.39"

[dependencies.tokio-native-tls]
optional = true
version = "0.3"

[dependencies.tokio-rustls]
optional = true
version = "0.26"

[dependencies.x509-cert]
default-features = false
features = ["std"]
optional = true
version = "0.2"

[features]
default = []
native-tls = ["dep:tokio-native-tls", "dep:x509-cert", "tokio/io-util"]
rustls = ["dep:tokio-rustls", "dep:x509-cert", "tokio/io-util"]
stub = []

[lib]
doctest = false
test = false

[lints.clippy]
alloc_instead_of_core = "warn"
arithmetic_side_effects = "warn"
as_ptr_cast_mut = "warn"
as_underscore = "warn"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_ptr_alignment = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
collection_is_never_read = "warn"
copy_iterator = "warn"
dbg_macro = "warn"
empty_drop = "warn"
expl_impl_clone_on_copy = "warn"
float_cmp = "warn"
fn_to_numeric_cast_any = "warn"
get_unwrap = "warn"
implicit_clone = "warn"
inline_always = "warn"
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
or_fun_call = "warn"
print_stderr = "warn"
print_stdout = "warn"
ptr_cast_constness = "warn"
range_plus_one = "warn"
redundant_clone = "warn"
return_self_not_must_use = "warn"
semicolon_outside_block = "warn"
separated_literal_suffix = "warn"
str_to_string = "warn"
string_add = "warn"
string_to_string = "warn"
trait_duplication_in_bounds = "warn"
transmute_ptr_to_ptr = "warn"
type_repetition_in_bounds = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_box_returns = "warn"
unused_self = "warn"
useless_let_if_seq = "warn"
wildcard_dependencies = "warn"

[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
elided_lifetimes_in_paths = "warn"
invalid_reference_casting = "warn"
keyword_idents = "warn"
noop_method_call = "warn"
pointer_structural_match = "warn"
single_use_lifetimes = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_tuple_struct_fields = "warn"

[package]
authors = ["Devolutions Inc. <infos@devolutions.net>", "Teleport <goteleport.com>"]
categories = ["network-programming"]
description = "TLS boilerplate common with most IronRDP clients"
edition = "2021"
homepage = "https://github.com/Devolutions/IronRDP"
keywords = ["rdp", "remote-desktop", "network", "client", "protocol"]
license = "MIT/Apache-2.0"
name = "ironrdp-tls"
readme = "README.md"
repository = "https://github.com/Devolutions/IronRDP"
version = "0.1.0"