# 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.81.0" name = "qcp" version = "0.1.3" authors = ["Ross Younger "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Secure remote file copy utility which uses the QUIC protocol over UDP" homepage = "https://github.com/crazyscot/qcp/" readme = "README.md" keywords = [ "networking", "file-transfer", "quic", ] categories = ["command-line-utilities"] license = "AGPL-3.0-or-later" repository = "https://github.com/crazyscot/qcp/" resolver = "2" [package.metadata.cross.target.aarch64-unknown-linux-musl] pre-build = ["apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install capnproto"] [package.metadata.cross.target.x86_64-unknown-linux-musl] pre-build = ["apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install capnproto"] [package.metadata.deb] assets = [ [ "target/release/qcp", "usr/bin/", "755", ], [ "README.md", "usr/share/doc/qcp/", "644", ], [ "LICENSE", "usr/share/doc/qcp/", "644", ], [ "misc/changelog.gz", "usr/share/doc/qcp/", "644", ], [ "misc/20-qcp.conf", "etc/sysctl.d/", "644", ], [ "misc/qcp.1", "usr/share/man/man1/", "644", ], ] extended-description = """ The QUIC Copier (`qcp`) is an experimental high-performance remote file copy utility for long-distance internet connections. It is intended as a drop-in replacement for scp, offering similar security properties but better throughput on congested networks. """ section = "contrib/net" [profile.release] lto = "thin" strip = "symbols" [lib] name = "qcp" path = "src/lib.rs" [[bin]] name = "qcp" path = "src/main.rs" [dependencies.anstyle] version = "1.0.8" [dependencies.anyhow] version = "1.0.89" [dependencies.capnp] version = "0.20.1" [dependencies.capnp-futures] version = "0.20.0" [dependencies.clap] version = "4.5.19" features = [ "wrap_help", "derive", "cargo", "help", "string", ] [dependencies.console] version = "0.15.8" [dependencies.dns-lookup] version = "2.0.4" [dependencies.futures-util] version = "0.3.31" default-features = false [dependencies.gethostname] version = "0.5.0" [dependencies.human-repr] version = "1.1.0" [dependencies.humanize-rs] version = "0.1.5" [dependencies.indicatif] version = "0.17.8" features = ["tokio"] [dependencies.num-format] version = "0.4.4" [dependencies.quinn] version = "0.11.5" features = [ "runtime-tokio", "rustls", "ring", ] default-features = false [dependencies.rcgen] version = "0.13.1" [dependencies.rustls-pki-types] version = "1.9.0" [dependencies.static_assertions] version = "1.1.0" [dependencies.strum_macros] version = "0.26.4" [dependencies.tokio] version = "1.40.0" features = [ "fs", "io-std", "macros", "process", "rt", "time", "sync", ] default-features = true [dependencies.tokio-util] version = "0.7.12" features = ["compat"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.fastrand] version = "2.1.1" [build-dependencies.capnpc] version = "0.20.0" [target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator] version = "0.5.4" [target."cfg(unix)".dependencies.nix] version = "0.29.0" features = ["socket"] [lints.clippy] missing_errors_doc = "allow" [lints.clippy.pedantic] level = "deny" priority = -1 [lints.rust] dead_code = "warn" elided_lifetimes_in_paths = "deny" meta_variable_misuse = "deny" missing_abi = "deny" missing_copy_implementations = "deny" missing_debug_implementations = "deny" missing_docs = "warn" non_ascii_idents = "deny" single_use_lifetimes = "deny" trivial_casts = "deny" trivial_numeric_casts = "deny" unreachable_pub = "deny" unsafe_code = "deny" unsafe_op_in_unsafe_fn = "deny" unused_extern_crates = "deny" unused_lifetimes = "deny" unused_results = "deny" variant_size_differences = "deny" [lints.rustdoc] bare_urls = "deny" broken_intra_doc_links = "deny" invalid_codeblock_attributes = "deny" invalid_html_tags = "deny" invalid_rust_codeblocks = "deny" missing_crate_level_docs = "deny" private_intra_doc_links = "deny" unescaped_backticks = "deny"