[package]
name = "holochain"
version = "0.2.7-rc.1"
description = "Holochain, a framework for distributed applications"
license-file = "LICENSE_CAL-1.0"
homepage = "https://github.com/holochain/holochain"
documentation = "https://docs.rs/holochain"
authors = [ "Holochain Core Dev Team <devcore@holochain.org>" ]
edition = "2021"
[dependencies]
anyhow = "1.0.26"
async-trait = "0.1"
base64 = "0.13"
byteorder = "1.3.4"
cfg-if = "0.1"
chrono = { version = "0.4.22", default-features = false, features = ["clock", "std", "oldtime", "serde"] }
derive_more = "0.99.3"
directories = "2.0.2"
either = "1.5.0"
fallible-iterator = "0.2.0"
fixt = { version = "^0.2.6", path = "../fixt" }
futures = "0.3.1"
getrandom = "0.2.7"
get_if_addrs = "0.5.3"
ghost_actor = "0.3.0-alpha.6"
holo_hash = { version = "^0.2.6", path = "../holo_hash", features = ["full"] }
holochain_cascade = { version = "^0.2.7-rc.1", path = "../holochain_cascade" }
holochain_conductor_api = { version = "^0.2.7-rc.1", path = "../holochain_conductor_api" }
holochain_keystore = { version = "^0.2.7-rc.0", path = "../holochain_keystore", default-features = false }
holochain_p2p = { version = "^0.2.7-rc.1", path = "../holochain_p2p" }
holochain_serialized_bytes = "=0.0.53"
holochain_sqlite = { version = "^0.2.7-rc.0", path = "../holochain_sqlite" }
holochain_state = { version = "^0.2.7-rc.1", path = "../holochain_state" }
holochain_types = { version = "^0.2.7-rc.1", path = "../holochain_types" }
holochain_util = { version = "^0.2.6", path = "../holochain_util", features = [ "pw" ] }
holochain_wasmer_host = "=0.0.92"
holochain_websocket = { version = "^0.2.7-rc.0", path = "../holochain_websocket" }
holochain_zome_types = { version = "^0.2.7-rc.0", path = "../holochain_zome_types", features = ["full"] }
human-panic = "1.0.3"
itertools = { version = "0.10" }
kitsune_p2p = { version = "^0.2.6", path = "../kitsune_p2p/kitsune_p2p", default-features = false }
kitsune_p2p_types = { version = "^0.2.6", path = "../kitsune_p2p/types" }
kitsune_p2p_block = { version = "^0.2.6", path = "../kitsune_p2p/block" }
lazy_static = "1.4.0"
mockall = "0.11.3"
mr_bundle = { version = "^0.2.7-rc.0", path = "../mr_bundle" }
must_future = "0.1.1"
nanoid = "0.3"
num_cpus = "1.8"
holochain_trace = { version = "^0.2.6", path = "../holochain_trace" }
holochain_metrics = { version = "^0.2.6", path = "../holochain_metrics", default_features = false }
once_cell = "1.4.1"
one_err = "0.0.8"
parking_lot = "0.10"
predicates = "1.0.4"
rand = "0.8.5"
rand-utf8 = "0.0.1"
rpassword = "5.0.1"
rusqlite = { version = "0.29" }
serde = { version = ">= 1.0, <= 1.0.166", features = [ "derive" ] }
serde_json = { version = "1.0.51", features = [ "preserve_order" ] }
serde_yaml = "0.9"
shrinkwraprs = "0.3.0"
sodoken = "=0.0.9"
structopt = "0.3.11"
strum = "0.18.0"
subtle-encoding = "0.5"
tempfile = "3.3"
thiserror = "1.0.22"
tokio = { version = "1.27", features = [ "full"] }
tokio-stream = { version = "0.1", features = [ "sync", "net" ] }
task-motel = "0.1.0"
toml = "0.5.6"
tracing = "0.1.37"
tracing-futures = "0.2.5"
tracing-subscriber = "0.3.16"
url = "2.4"
url2 = "0.0.6"
url_serde = "0.2.0"
uuid = { version = "0.7", features = [ "serde", "v4" ] }
holochain_wasm_test_utils = { version = "^0.2.7-rc.1", path = "../test_utils/wasm" }
tiny-keccak = { version = "2.0.2", features = ["keccak", "sha3"] }
async-recursion = "0.3"
opentelemetry_api = { version = "=0.20.0", features = [ "metrics" ] }
wasmer = "=4.2.4"
wasmer-middlewares = "=4.2.4"
arbitrary = { version = "1.0", features = ["derive"], optional = true }
contrafact = {version = "0.2.0-dev.3", optional = true }
diff = {version = "0.1", optional = true }
hdk = { version = "^0.2.7-rc.1", path = "../hdk", optional = true }
matches = {version = "0.1.8", optional = true }
holochain_test_wasm_common = { version = "^0.2.7-rc.1", path = "../test_utils/wasm_common", optional = true }
kitsune_p2p_bootstrap = { version = "^0.1.6", path = "../kitsune_p2p/bootstrap", optional = true }
unwrap_to = { version = "0.1.0", optional = true }
tx5-go-pion-turn = { version = "=0.0.6-alpha", optional = true }
tx5-signal-srv = { version = "=0.0.6-alpha", optional = true }
bytes = { version = "1", optional = true }
reqwest = { version = "0.11.2", features = ["json"], optional = true }
[target.'cfg(unix)'.dependencies]
sd-notify = "0.3.0"
[dev-dependencies]
holochain = { path = ".", default-features = false, features = ["test_utils", "slow_tests", "glacial_tests", "tx2", "tx5", "metrics_influxive"] }
anyhow = "1.0.26"
assert_cmd = "1.0.1"
contrafact = "0.2.0-rc.1"
criterion = { version = "0.3", features = [ "async_tokio" ] }
ed25519-dalek = "1"
indoc = "1.0"
isotest = "0"
maplit = "1"
pretty_assertions = "0.6.1"
rand_dalek = {package = "rand", version = "0.7"}
regex = "1.5"
reqwest = "0.11.2"
serial_test = "0.4.0"
test-case = "1.2.1"
[build-dependencies]
hdk = { version = "^0.2.7-rc.1", path = "../hdk"}
serde = { version = ">= 1.0, <= 1.0.166", features = [ "derive" ] }
serde_json = { version = "1.0.51" }
toml = "0.5.6"
chrono = { version = "0.4.6", features = [ "serde" ] }
hostname = "0.3.1"
lair_keystore = { version = "0.4.2", features = [ "rusqlite-bundled-sqlcipher-vendored-openssl" ] }
[[bench]]
name = "bench"
harness = false
[[bench]]
name = "consistency"
harness = false
[lib]
name = "holochain"
path = "src/lib.rs"
[[bin]]
name = "holochain"
path = "src/bin/holochain/main.rs"
[features]
default = ["sqlite-encrypted", "tx2", "tx5", "metrics_influxive"]
tx2 = [ "kitsune_p2p/tx2" ]
tx5 = [ "kitsune_p2p/tx5", "tx5-go-pion-turn", "tx5-signal-srv" ]
metrics_influxive = [ "holochain_metrics/influxive" ]
test_utils = [
"contrafact",
"diff",
"ghost_actor/test_utils",
"hdk/test_utils",
"holochain_sqlite/test_utils",
"holochain_state/test_utils",
"holochain_types/test_utils",
"holochain_zome_types/test_utils",
"kitsune_p2p_types/test_utils",
"kitsune_p2p/test_utils",
"kitsune_p2p_bootstrap",
"holochain_p2p/mock_network",
"arbitrary",
"matches",
"holochain_test_wasm_common",
"unwrap_to"
]
slow_tests = []
glacial_tests = []
build_wasms = ['holochain_wasm_test_utils/build']
only_check_wasms = ['holochain_wasm_test_utils/only_check']
sqlite-encrypted = [
"rusqlite/bundled-sqlcipher-vendored-openssl",
"holochain_keystore/sqlite-encrypted",
"holo_hash/sqlite-encrypted",
"holochain_cascade/sqlite-encrypted",
"holochain_conductor_api/sqlite-encrypted",
"holochain_keystore/sqlite-encrypted",
"holochain_p2p/sqlite-encrypted",
"holochain_sqlite/sqlite-encrypted",
"holochain_state/sqlite-encrypted",
"holochain_types/sqlite-encrypted",
"holochain_zome_types/sqlite-encrypted",
"kitsune_p2p/sqlite-encrypted",
"kitsune_p2p_types/sqlite-encrypted",
"kitsune_p2p_block/sqlite-encrypted",
"kitsune_p2p_bootstrap/sqlite-encrypted",
]
sqlite = [
"rusqlite/bundled",
"holochain_keystore/sqlite",
"holo_hash/sqlite",
"holochain_cascade/sqlite",
"holochain_conductor_api/sqlite",
"holochain_keystore/sqlite",
"holochain_p2p/sqlite",
"holochain_sqlite/sqlite",
"holochain_state/sqlite",
"holochain_types/sqlite",
"holochain_zome_types/sqlite",
"kitsune_p2p/sqlite",
"kitsune_p2p_types/sqlite",
"kitsune_p2p_block/sqlite",
"kitsune_p2p_bootstrap/sqlite",
]
wasmer_debug_memory = ["holochain_wasmer_host/debug_memory"]
chc = [
"bytes",
"reqwest",
"holochain_conductor_api/chc",
"holochain_types/chc",
]
dpki = []
sweetest = [
"test_utils",
"sqlite",
]