# 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" name = "magic-wormhole" version = "0.7.3" authors = [ "Fina Wilke ", "piegames ", "Brian Warner ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Get things from one computer to another, safely" homepage = "http://magic-wormhole.io/" documentation = "https://docs.rs/magic-wormhole/latest/" readme = "README.md" keywords = [ "magic-wormhole", "wormhole", "file-transfer", "transfer", ] categories = [ "network-programming", "asynchronous", ] license = "EUPL-1.2" repository = "https://github.com/magic-wormhole/magic-wormhole.rs/tree/main/cli" [package.metadata.docs.rs] features = ["all"] [profile.release] lto = "thin" overflow-checks = true strip = "debuginfo" [lib] name = "magic_wormhole" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.57" optional = true [dependencies.base64] version = "0.22.0" [dependencies.bytecodec] version = "0.4.15" optional = true [dependencies.crypto_secretbox] version = "0.1.1" [dependencies.derive_more] version = "1.0" features = [ "display", "deref", "from", ] default-features = false [dependencies.futures] version = "0.3.12" [dependencies.fuzzt] version = "0.3.1" optional = true [dependencies.hex] version = "0.4.2" features = ["serde"] [dependencies.hkdf] version = "0.12.2" [dependencies.noise-protocol] version = "0.2" optional = true [dependencies.noise-rust-crypto] version = "0.6.0-rc.1" optional = true [dependencies.percent-encoding] version = "2.1.0" [dependencies.rand] version = "0.8.3" [dependencies.rmp-serde] version = "1.0.0" optional = true [dependencies.serde] version = "1.0.120" features = ["rc"] [dependencies.serde_derive] version = "1.0.120" [dependencies.serde_json] version = "1.0.61" [dependencies.sha-1] version = "0.10.0" [dependencies.sha2] version = "0.10.0" [dependencies.spake2] version = "0.4.0" [dependencies.stun_codec] version = "0.3.0" optional = true [dependencies.tar] version = "0.4.33" optional = true [dependencies.thiserror] version = "1.0.24" [dependencies.time] version = "0.3.7" features = ["formatting"] [dependencies.tracing] version = "0.1" features = [ "log", "log-always", ] [dependencies.url] version = "2.2.2" features = ["serde"] [dependencies.zxcvbn] version = "3.1.0" optional = true [dev-dependencies.eyre] version = "0.6.5" [dev-dependencies.test-log] version = "0.2" [features] all = [ "default", "forwarding", "fuzzy-complete", ] default = [ "transit", "transfer", ] entropy = ["zxcvbn"] experimental = ["experimental-transfer-v2"] experimental-transfer-v2 = [] forwarding = [ "transit", "dep:rmp-serde", ] fuzzy-complete = ["fuzzt"] native-tls = ["async-tungstenite/async-native-tls"] tls = ["async-tungstenite/async-tls"] transfer = [ "transit", "dep:tar", "dep:rmp-serde", ] transit = [ "dep:noise-rust-crypto", "dep:noise-protocol", "dep:socket2", "dep:stun_codec", "dep:if-addrs", "dep:bytecodec", "dep:async-trait", ] [target.'cfg(not(target_family = "wasm"))'.dependencies.async-io] version = "2.2.0" [target.'cfg(not(target_family = "wasm"))'.dependencies.async-std] version = "1.12.0" features = [ "attributes", "unstable", ] [target.'cfg(not(target_family = "wasm"))'.dependencies.async-tungstenite] version = "0.28" features = ["async-std-runtime"] [target.'cfg(not(target_family = "wasm"))'.dependencies.if-addrs] version = "0.13" optional = true [target.'cfg(not(target_family = "wasm"))'.dependencies.libc] version = "0.2.101" [target.'cfg(not(target_family = "wasm"))'.dependencies.socket2] version = "0.5.0" features = ["all"] optional = true [target.'cfg(target_family = "wasm")'.dependencies.getrandom] version = "0.2.5" features = ["js"] [target.'cfg(target_family = "wasm")'.dependencies.wasm-timer] version = "0.2.5" [target.'cfg(target_family = "wasm")'.dependencies.ws_stream_wasm] version = "0.7.3"