# 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.80.0" name = "tycho-network" version = "0.1.0" authors = ["Broxus Team"] build = false include = [ "src/**/*.rs", "src/**/*.tl", "./LICENSE-*", "./README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A peer-to-peer networking library." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/broxus/tycho" [lib] name = "tycho_network" path = "src/lib.rs" [dependencies.ahash] version = "0.8" [dependencies.anyhow] version = "1.0.79" [dependencies.arc-swap] version = "1.6.0" [dependencies.base64] version = "0.22.0" [dependencies.bytes] version = "1.5.0" features = ["serde"] [dependencies.bytesize] version = "1.3.0" features = ["serde"] [dependencies.castaway] version = "0.2" [dependencies.dashmap] version = "5.5.3" [dependencies.ed25519] version = "2.0" features = [ "alloc", "pkcs8", ] [dependencies.everscale-crypto] version = "0.2" features = [ "tl-proto", "serde", ] [dependencies.exponential-backoff] version = "1" [dependencies.futures-util] version = "0.3" features = ["sink"] [dependencies.hex] version = "0.4" [dependencies.indexmap] version = "2.2" [dependencies.metrics] version = "0.23" [dependencies.moka] version = "0.12" features = ["sync"] [dependencies.parking_lot] version = "0.12.1" [dependencies.pin-project-lite] version = "0.2" [dependencies.pkcs8] version = "0.10" [dependencies.quinn] version = "0.11" features = [ "runtime-tokio", "rustls", ] default-features = false [dependencies.rand] version = "0.8" [dependencies.ring] version = "0.17.8" [dependencies.rustls] version = "0.23.16" [dependencies.rustls-webpki] version = "0.102" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.socket2] version = "0.5" [dependencies.thiserror] version = "1.0" [dependencies.tl-proto] version = "0.4" [dependencies.tokio] version = "1" features = [ "rt", "sync", "io-util", "macros", ] default-features = false [dependencies.tokio-util] version = "0.7.10" features = [ "codec", "time", ] [dependencies.tracing] version = "0.1" [dependencies.tycho-util] version = "0.1.0" [dev-dependencies.clap] version = "4.5.3" features = [ "derive", "derive", ] [dev-dependencies.serde_json] version = "1.0.114" [dev-dependencies.tokio] version = "1" features = ["rt-multi-thread"] default-features = false [dev-dependencies.tracing-appender] version = "0.2.3" [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "env-filter", ] [dev-dependencies.tycho-util] version = "0.1.0" features = ["test"] [lints.clippy] await_holding_lock = "warn" char_lit_as_u8 = "warn" checked_conversions = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" disallowed_methods = "warn" doc_markdown = "warn" empty_enum = "warn" enum_glob_use = "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" if_let_mutex = "warn" implicit_clone = "warn" imprecise_flops = "warn" inefficient_to_string = "warn" invalid_upcast_comparisons = "warn" large_digit_groups = "warn" large_futures = "warn" large_stack_arrays = "warn" large_types_passed_by_value = "warn" let_unit_value = "warn" linkedlist = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" manual_ok_or = "warn" map_err_ignore = "warn" map_flatten = "warn" map_unwrap_or = "warn" match_on_vec_items = "warn" match_same_arms = "warn" match_wild_err_arm = "warn" match_wildcard_for_single_variants = "warn" mem_forget = "warn" missing_enforced_import_renames = "warn" mut_mut = "warn" mutex_integer = "warn" needless_borrow = "warn" needless_continue = "warn" needless_for_each = "warn" option_option = "warn" path_buf_push_overwrite = "warn" print_stderr = "warn" print_stdout = "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" string_add = "warn" string_add_assign = "warn" string_lit_as_bytes = "warn" string_to_string = "warn" todo = "warn" trait_duplication_in_bounds = "warn" unimplemented = "warn" unnested_or_patterns = "warn" unused_self = "warn" useless_transmute = "warn" verbose_file_reads = "warn" zero_sized_map_values = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.rust] future_incompatible = "warn" nonstandard_style = "warn" rust_2018_idioms = "warn"