class-groups 0.0.2-alpha

A cryptographic library for working with binary quadratic forms (elements of a class group)
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.85"
name = "class-groups"
version = "0.0.2-alpha"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cryptographic library for working with binary quadratic forms (elements of a class group)"
readme = "README.md"
keywords = [
    "cryptography",
    "cl15",
    "ecdsa",
    "trout",
    "homomorphic",
]
license = "AGPL-3.0-only"
repository = "https://github.com/kayabaNerve/trout/tree/develop/class-groups"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
    "-Z",
    "unstable-options",
    "--document-private-items",
    "--document-hidden-items",
]

[features]
alloc = ["crypto-bigint/alloc"]
std = ["alloc"]

[lib]
name = "class_groups"
path = "src/lib.rs"

[dependencies.crypto-bigint]
version = "0.7"
features = ["zeroize"]
default-features = false

[dependencies.crypto-primes]
version = "0.7"
default-features = false

[dependencies.rand]
version = "0.10"
features = [
    "std",
    "sys_rng",
]
default-features = false

[dependencies.zeroize]
version = "1"
features = [
    "std",
    "derive",
]
default-features = false

[dev-dependencies.crypto-bigint]
version = "0.7"
features = ["extra-sizes"]
default-features = false

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

[lints.clippy]
alloc_instead_of_core = "warn"
as_conversions = "warn"
as_pointer_underscore = "warn"
as_underscore = "warn"
assertions_on_result_states = "warn"
blocks_in_conditions = "allow"
case_sensitive_file_extension_comparisons = "allow"
cfg_not_test = "warn"
create_dir = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
explicit_deref_methods = "allow"
filetype_is_file = "warn"
float_arithmetic = "warn"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "warn"
get_unwrap = "warn"
if_not_else = "allow"
if_then_some_else_none = "warn"
inconsistent_struct_constructor = "allow"
items_after_statements = "allow"
items_after_test_module = "allow"
iter_over_hash_type = "warn"
lossy_float_literal = "warn"
manual_is_multiple_of = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
naive_bytecount = "allow"
needless_continue = "allow"
partial_pub_fields = "warn"
precedence_bits = "warn"
rc_mutex = "warn"
redundant_test_prefix = "warn"
same_name_method = "warn"
similar_names = "allow"
single_match_else = "allow"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
str_to_string = "warn"
string_slice = "warn"
struct_field_names = "allow"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
too_many_lines = "allow"
unnecessary_self_imports = "warn"
unused_trait_names = "warn"
unwrap_or_default = "allow"
wildcard_enum_match_arm = "warn"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
closure_returning_async_block = "warn"
deprecated_safe = "warn"
deref_into_dyn_supertrait = "warn"
explicit_outlives_requirements = "warn"
impl_trait_redundant_captures = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
unit_bindings = "warn"
unsafe_attr_outside_unsafe = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]