mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-03 16:01:53 +00:00
Tests the provide-get loop, transferring a single file, a folder of multiple files, and data from stdin of the provider to stdout if the better, ensuring that the content is transferred successfully. The tests also test the stdout of the provider and stderr of the getter, using regex matching on each line of the respective output.
62 lines
1.9 KiB
TOML
62 lines
1.9 KiB
TOML
[package]
|
|
name = "iroh"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
readme = "README.md"
|
|
description = "IPFS reimagined"
|
|
license = "MIT/Apache-2.0"
|
|
authors = ["dignifiedquire <me@dignifiedquire.com>", "n0 team"]
|
|
repository = "https://github.com/n0-computer/iroh"
|
|
|
|
# Sadly this also needs to be updated in .github/workflows/ci.yml
|
|
rust-version = "1.63"
|
|
|
|
[dependencies]
|
|
abao = { version = "0.1.2" }
|
|
anyhow = { version = "1", features = ["backtrace"] }
|
|
base64 = "0.21.0"
|
|
blake3 = "1.3.3"
|
|
bytes = "1"
|
|
clap = { version = "4", features = ["derive"], optional = true }
|
|
console = { version = "0.15.5", optional = true }
|
|
data-encoding = { version = "2.3.3", optional = true }
|
|
der = { version = "0.6", features = ["alloc", "derive"] }
|
|
ed25519-dalek = { version = "1.0.1", features = ["serde"] }
|
|
futures = "0.3.25"
|
|
indicatif = { version = "0.17", features = ["tokio"], optional = true }
|
|
multibase = { version = "0.9.1", optional = true }
|
|
portable-atomic = "1"
|
|
postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] }
|
|
quinn = "0.9.3"
|
|
rand = "0.7"
|
|
rcgen = "0.10"
|
|
ring = "0.16.20"
|
|
rustls = { version = "0.20.8", default-features = false, features = ["dangerous_configuration"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
ssh-key = { version = "0.5.1", features = ["ed25519", "std", "rand_core"] }
|
|
tempfile = "3"
|
|
thiserror = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-util = { version = "0.7", features = ["io-util", "io"] }
|
|
tracing = "0.1"
|
|
tracing-futures = "0.2.5"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
webpki = "0.22"
|
|
x509-parser = "0.14"
|
|
zeroize = "1.5"
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4.3"
|
|
proptest = "1.0.0"
|
|
rand = "0.7"
|
|
testdir = "0.7.1"
|
|
regex = { version = "1.7.1", features = ["std"] }
|
|
|
|
[features]
|
|
default = ["cli"]
|
|
cli = ["clap", "console", "indicatif", "data-encoding", "multibase"]
|
|
|
|
[[bin]]
|
|
name = "iroh"
|
|
required-features = ["cli"]
|