cosmian_cli 1.8.0

Command Line Interface used to manage the KMS and Findex servers. If any assistance is needed, please either visit the Cosmian technical documentation at https://docs.cosmian.com or contact the Cosmian support team on Discord https://discord.com/invite/7kPMNtHpnz
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 = "cosmian_cli"
version = "1.8.0"
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 = """
Command Line Interface used to manage the KMS and Findex servers.

If any assistance is needed, please either visit the Cosmian technical documentation at https://docs.cosmian.com
or contact the Cosmian support team on Discord https://discord.com/invite/7kPMNtHpnz
"""
readme = "README.md"
keywords = [
    "cosmian_cli",
    "kms",
    "findex",
    "findex-server",
    "cosmian",
]
categories = ["security"]
license = "BUSL-1.1"
repository = "https://github.com/Cosmian/cli"
resolver = "2"

[package.metadata.deb]
maintainer = "Cosmian support team <tech@cosmian.com>"
copyright = "2025, Cosmian Tech SAS <tech@cosmian.com>"
license-file = [
    "../../LICENSE",
    "0",
]
changelog = "../../CHANGELOG.md"
section = "security"
priority = "optional"
assets = [
    [
    "target/release/cosmian",
    "usr/sbin/",
    "555",
],
    [
    "target/release/libcosmian_pkcs11.so",
    "usr/local/lib/",
    "555",
],
]
features = ["non-fips"]

[package.metadata.generate-rpm]
license = "BUSL-1.1"
auto-req = "no"
require-sh = true

[[package.metadata.generate-rpm.assets]]
source = "target/release/cosmian"
dest = "/usr/sbin/cosmian"
mode = "555"

[[package.metadata.generate-rpm.assets]]
source = "target/release/libcosmian_pkcs11.so"
dest = "/usr/local/lib/libcosmian_pkcs11.so"
mode = "555"

[features]
default = ["non-fips"]
non-fips = [
    "cosmian_findex_cli/non-fips",
    "cosmian_kms_cli/non-fips",
]

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

[[bin]]
name = "cosmian"
path = "src/main.rs"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4.5"
features = [
    "help",
    "env",
    "std",
    "usage",
    "error-context",
    "derive",
    "cargo",
]
default-features = false

[dependencies.cosmian_config_utils]
version = "0.2"

[dependencies.cosmian_findex]
version = "8.0"

[dependencies.cosmian_findex_cli]
version = "0.4.12"

[dependencies.cosmian_kms_cli]
version = "5.15.0"

[dependencies.cosmian_logger]
version = "0.6"

[dependencies.cosmian_sse_memories]
version = "8.0"

[dependencies.csv]
version = "1.3"

[dependencies.der]
version = "0.7"
features = ["pem"]
default-features = false

[dependencies.dialoguer]
version = "0.11"
features = [
    "fuzzy-select",
    "password",
    "editor",
]
default-features = false

[dependencies.hex]
version = "0.4"
default-features = false

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.strum]
version = "0.27"
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.45"
features = ["full"]
default-features = false

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "=1.11.1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.openssl]
version = "0.10"
default-features = false

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.regex]
version = "1.11"
default-features = false

[dev-dependencies.reqwest]
version = "0.12"
default-features = false

[dev-dependencies.tempfile]
version = "3.20"

[dev-dependencies.test_kms_server]
version = "5.15.0"
features = ["non-fips"]

[dev-dependencies.x509-parser]
version = "0.17"
features = ["verify"]