209 lines
4.4 KiB
TOML
209 lines
4.4 KiB
TOML
# 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 = "2021"
|
|
rust-version = "1.82.0"
|
|
name = "neqo-crypto"
|
|
version = "0.13.1"
|
|
authors = ["The Neqo Authors <necko@mozilla.com>"]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Neqo, the Mozilla implementation of QUIC in Rust."
|
|
homepage = "https://github.com/mozilla/neqo/"
|
|
readme = "../README.md"
|
|
keywords = [
|
|
"quic",
|
|
"http3",
|
|
"neqo",
|
|
"mozilla",
|
|
"ietf",
|
|
"firefox",
|
|
]
|
|
categories = [
|
|
"network-programming",
|
|
"web-programming",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/mozilla/neqo/"
|
|
|
|
[features]
|
|
bench = []
|
|
disable-encryption = []
|
|
disable-random = []
|
|
gecko = ["mozbuild"]
|
|
|
|
[lib]
|
|
name = "neqo_crypto"
|
|
path = "src/lib.rs"
|
|
bench = false
|
|
|
|
[[test]]
|
|
name = "aead"
|
|
path = "tests/aead.rs"
|
|
|
|
[[test]]
|
|
name = "agent"
|
|
path = "tests/agent.rs"
|
|
|
|
[[test]]
|
|
name = "ext"
|
|
path = "tests/ext.rs"
|
|
|
|
[[test]]
|
|
name = "handshake"
|
|
path = "tests/handshake.rs"
|
|
|
|
[[test]]
|
|
name = "hkdf"
|
|
path = "tests/hkdf.rs"
|
|
|
|
[[test]]
|
|
name = "hp"
|
|
path = "tests/hp.rs"
|
|
|
|
[[test]]
|
|
name = "init"
|
|
path = "tests/init.rs"
|
|
|
|
[[test]]
|
|
name = "selfencrypt"
|
|
path = "tests/selfencrypt.rs"
|
|
|
|
[dependencies.enum-map]
|
|
version = "2.7"
|
|
default-features = false
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
default-features = false
|
|
|
|
[dependencies.neqo-common]
|
|
path = "../neqo-common"
|
|
|
|
[dependencies.strum]
|
|
version = "0.26"
|
|
features = ["derive"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.test-fixture]
|
|
path = "../test-fixture"
|
|
|
|
[build-dependencies.bindgen]
|
|
version = "0.69"
|
|
features = ["runtime"]
|
|
default-features = false
|
|
|
|
[build-dependencies.mozbuild]
|
|
version = "0.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[build-dependencies.semver]
|
|
version = "1.0"
|
|
default-features = false
|
|
|
|
[build-dependencies.serde]
|
|
version = "1.0"
|
|
default-features = false
|
|
|
|
[build-dependencies.serde_derive]
|
|
version = "1.0"
|
|
default-features = false
|
|
|
|
[build-dependencies.toml]
|
|
version = "0.5"
|
|
default-features = false
|
|
|
|
[lints.clippy]
|
|
allow_attributes = "warn"
|
|
allow_attributes_without_reason = "warn"
|
|
cfg_not_test = "warn"
|
|
clone_on_ref_ptr = "warn"
|
|
create_dir = "warn"
|
|
dbg_macro = "warn"
|
|
empty_drop = "warn"
|
|
empty_enum_variants_with_brackets = "warn"
|
|
filetype_is_file = "warn"
|
|
float_cmp_const = "warn"
|
|
fn_to_numeric_cast_any = "warn"
|
|
get_unwrap = "warn"
|
|
if_then_some_else_none = "warn"
|
|
infinite_loop = "warn"
|
|
large_include_file = "warn"
|
|
let_underscore_must_use = "warn"
|
|
let_underscore_untyped = "warn"
|
|
literal_string_with_formatting_args = "allow"
|
|
lossy_float_literal = "warn"
|
|
mem_forget = "warn"
|
|
mixed_read_write_in_expression = "warn"
|
|
module_name_repetitions = "warn"
|
|
multiple_crate_versions = "allow"
|
|
multiple_inherent_impl = "warn"
|
|
mutex_atomic = "warn"
|
|
mutex_integer = "warn"
|
|
needless_raw_strings = "warn"
|
|
pathbuf_init_then_push = "warn"
|
|
pub_without_shorthand = "warn"
|
|
rc_buffer = "warn"
|
|
rc_mutex = "warn"
|
|
redundant_type_annotations = "warn"
|
|
ref_patterns = "warn"
|
|
renamed_function_params = "warn"
|
|
rest_pat_in_fully_bound_structs = "warn"
|
|
self_named_module_files = "warn"
|
|
semicolon_inside_block = "warn"
|
|
string_lit_chars_any = "warn"
|
|
string_to_string = "warn"
|
|
suspicious_xor_used_as_pow = "warn"
|
|
try_err = "warn"
|
|
unnecessary_safety_comment = "warn"
|
|
unnecessary_safety_doc = "warn"
|
|
unnecessary_self_imports = "warn"
|
|
unneeded_field_pattern = "warn"
|
|
unused_result_ok = "warn"
|
|
unused_trait_names = "warn"
|
|
unwrap_in_result = "warn"
|
|
unwrap_used = "warn"
|
|
verbose_file_reads = "warn"
|
|
|
|
[lints.clippy.cargo]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.clippy.nursery]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.clippy.pedantic]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.rust]
|
|
absolute_paths_not_starting_with_crate = "warn"
|
|
ambiguous_negative_literals = "warn"
|
|
explicit_outlives_requirements = "warn"
|
|
macro_use_extern_crate = "warn"
|
|
missing_abi = "warn"
|
|
non_ascii_idents = "warn"
|
|
redundant_imports = "warn"
|
|
redundant_lifetimes = "warn"
|
|
trivial_numeric_casts = "warn"
|
|
unit_bindings = "warn"
|
|
unused_import_braces = "warn"
|
|
unused_lifetimes = "warn"
|
|
unused_macro_rules = "warn"
|
|
unused_qualifications = "warn"
|