test_kms_server 5.16.2

Run a test KMS server for testing purposes
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87.0"
name = "test_kms_server"
version = "5.16.2"
authors = [
    "Bruno Grieder <bruno.grieder@cosmian.com>",
    "Emmanuel Coste <emmanuel.coste@cosmian.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Run a test KMS server for testing purposes"
readme = "README.md"
keywords = [
    "kms",
    "cosmian",
]
categories = ["security"]
license = "BUSL-1.1"
repository = "https://github.com/Cosmian/kms"
resolver = "2"

[features]
non-fips = [
    "cosmian_kms_client/non-fips",
    "cosmian_kms_server/non-fips",
]

[lib]
name = "test_kms_server"
path = "src/lib.rs"
doctest = false

[[bench]]
name = "benches"
path = "benches/benches.rs"
harness = false

[[bench]]
name = "rsa_benches"
path = "benches/rsa_benches.rs"

[[bench]]
name = "symmetric_benches"
path = "benches/symmetric_benches.rs"

[dependencies.actix-server]
version = "2.5"
default-features = false

[dependencies.cosmian_kms_client]
version = "5.16.2"

[dependencies.cosmian_kms_server]
version = "5.16.2"
features = ["insecure"]

[dependencies.cosmian_logger]
version = "0.5"

[dependencies.serde_json]
version = "1.0"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1.44"
features = ["rt-multi-thread"]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "async_tokio",
]
default-features = false

[dev-dependencies.zeroize]
version = "1.8"
default-features = false

[lints.clippy]
as_conversions = "deny"
assertions_on_result_states = "deny"
empty_structs_with_brackets = "deny"
expect_used = "deny"
get_unwrap = "deny"
implicit_clone = "deny"
indexing_slicing = "deny"
map_err_ignore = "deny"
missing_asserts_for_indexing = "deny"
module_name_repetitions = "allow"
panic = "deny"
panic_in_result_fn = "deny"
print_stdout = "deny"
redundant_clone = "deny"
renamed_function_params = "deny"
str_to_string = "deny"
unreachable = "deny"
unseparated_literal_suffix = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
verbose_file_reads = "deny"

[lints.clippy.all]
level = "deny"
priority = 80

[lints.clippy.cargo]
level = "deny"
priority = 30

[lints.clippy.cognitive_complexity]
level = "allow"
priority = 21

[lints.clippy.complexity]
level = "deny"
priority = 60

[lints.clippy.future_not_send]
level = "allow"
priority = 21

[lints.clippy.iter_with_drain]
level = "allow"
priority = 21

[lints.clippy.missing_errors_doc]
level = "allow"
priority = 91

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 31

[lints.clippy.nursery]
level = "deny"
priority = 20

[lints.clippy.pedantic]
level = "deny"
priority = 90

[lints.clippy.perf]
level = "deny"
priority = 50

[lints.clippy.redundant_pub_crate]
level = "allow"
priority = 21

[lints.clippy.ref_option]
level = "allow"
priority = 91

[lints.clippy.significant_drop_tightening]
level = "allow"
priority = 21

[lints.clippy.similar_names]
level = "allow"
priority = 91

[lints.clippy.style]
level = "deny"
priority = 40

[lints.clippy.suspicious]
level = "deny"
priority = 70

[lints.clippy.too_long_first_doc_paragraph]
level = "allow"
priority = 21

[lints.clippy.too_many_lines]
level = "allow"
priority = 91

[lints.rust]
future_incompatible = "deny"
keyword_idents = "deny"
let_underscore = "deny"
nonstandard_style = "deny"
refining_impl_trait = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"
unused = "deny"