[[bench]]
harness = false
name = "end_to_end"
path = "benches/end_to_end.rs"
[[bin]]
name = "siguldry-bridge"
path = "src/bin/siguldry-bridge/main.rs"
required-features = ["cli"]
[[bin]]
name = "siguldry-client"
path = "src/bin/siguldry-client/main.rs"
required-features = ["cli"]
[[bin]]
name = "siguldry-server"
path = "src/bin/siguldry-server/main.rs"
required-features = ["server", "cli"]
[dependencies.anyhow]
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.clap]
default-features = false
features = ["std", "derive", "env", "help", "usage", "error-context"]
optional = true
version = "4.0"
[dependencies.hex]
version = "0.4"
[dependencies.openssl]
version = "0.10"
[dependencies.rustix]
features = ["termios", "stdio"]
optional = true
version = "1"
[dependencies.sequoia-keystore]
default-features = false
features = ["softkeys"]
optional = true
version = "0.7"
[dependencies.sequoia-openpgp]
default-features = false
features = ["crypto-openssl"]
optional = true
version = "2"
[dependencies.serde]
features = ["derive"]
version = "1.0.145"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
features = ["runtime-tokio", "sqlite-unbundled", "macros", "migrate"]
optional = true
version = "0.8"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
features = ["macros", "net", "process", "rt", "io-util", "time"]
version = "1.27"
[dependencies.tokio-openssl]
version = "0.6"
[dependencies.tokio-util]
features = ["io", "rt"]
version = "0.7"
[dependencies.toml]
optional = true
version = "0.9"
[dependencies.tracing]
version = "0.1.36"
[dependencies.tracing-subscriber]
default-features = false
features = ["std", "registry", "fmt", "env-filter"]
optional = true
version = "0.3.17"
[dependencies.uuid]
features = ["v7", "serde"]
version = "1.6"
[dependencies.zerocopy]
features = ["std", "derive"]
version = "0.8"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.pyo3]
features = ["auto-initialize"]
version = "0.27"
[dev-dependencies.sequoia-openpgp]
default-features = false
features = ["crypto-openssl"]
version = "2"
[dev-dependencies.tracing-test]
features = ["no-env-filter"]
version = "0.2"
[features]
cli = ["clap", "tracing-subscriber", "toml", "tokio/rt-multi-thread", "tokio/signal"]
default = ["server", "cli"]
server = ["sqlx", "sequoia-keystore", "sequoia-openpgp", "rustix"]
sigul-client = []
[lib]
name = "siguldry"
path = "src/lib.rs"
[lints.clippy]
all = "warn"
checked_conversions = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
empty_enum = "warn"
enum_glob_use = "warn"
exhaustive_enums = "warn"
exit = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
fallible_impl_from = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp_const = "warn"
fn_params_excessive_bools = "warn"
from_iter_instead_of_collect = "warn"
implicit_clone = "warn"
imprecise_flops = "warn"
indexing_slicing = "warn"
inefficient_to_string = "warn"
invalid_upcast_comparisons = "warn"
large_digit_groups = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
linkedlist = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
map_unwrap_or = "warn"
match_same_arms = "warn"
match_wild_err_arm = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
mut_mut = "warn"
mutex_integer = "warn"
needless_continue = "warn"
needless_for_each = "warn"
option_option = "warn"
path_buf_push_overwrite = "warn"
ptr_as_ptr = "warn"
rc_mutex = "warn"
ref_option_ref = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_functions_in_if_condition = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
string_add = "warn"
string_add_assign = "warn"
string_lit_as_bytes = "warn"
todo = "warn"
trait_duplication_in_bounds = "warn"
unimplemented = "warn"
unnested_or_patterns = "warn"
unused_self = "warn"
verbose_file_reads = "warn"
zero_sized_map_values = "warn"
[lints.rust]
future-incompatible = "warn"
nonstandard-style = "warn"
rust-2018-idioms = "warn"
[lints.rust.unsafe-code]
level = "forbid"
priority = 1
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = """
An implementation of the Sigul protocol.
"""
edition = "2021"
keywords = ["pesign", "sigul", "fedora"]
license = "MIT"
name = "siguldry"
readme = "README.md"
repository = "https://github.com/fedora-infra/siguldry"
resolver = "3"
rust-version = "1.84"
version = "0.4.0"
[[test]]
name = "client_v1"
path = "tests/client_v1.rs"
[[test]]
name = "end_to_end"
path = "tests/end_to_end.rs"