@@ -17,14 +17,13 @@ bao-tree = { version = "0.15.1", features = ["experimental-mixed", "tokio_fsm",
1717bytes = { version = " 1" , features = [" serde" ] }
1818derive_more = { version = " 2.0.1" , features = [" from" , " try_from" , " into" , " debug" , " display" , " deref" , " deref_mut" ] }
1919futures-lite = " 2.6.0"
20- quinn = { package = " iroh-quinn" , version = " 0.14.0" }
21- n0-future = " 0.2.0 "
20+ quinn = { package = " iroh-quinn" , version = " 0.14.0" , optional = true }
21+ n0-future = " 0.3 "
2222n0-snafu = " 0.2.2"
2323range-collections = { version = " 0.4.6" , features = [" serde" ] }
2424smallvec = { version = " 1" , features = [" serde" , " const_new" ] }
2525snafu = " 0.8.5"
26- tokio = { version = " 1.43.0" , features = [" full" ] }
27- tokio-util = { version = " 0.7.13" , features = [" full" ] }
26+ tokio = { version = " 1.43.0" , default-features = false , features = [" sync" ] }
2827tracing = " 0.1.41"
2928iroh-io = " 0.6.1"
3029rand = " 0.9.2"
@@ -36,11 +35,11 @@ chrono = "0.4.39"
3635nested_enum_utils = " 0.2.1"
3736ref-cast = " 1.0.24"
3837arrayvec = " 0.7.6"
39- iroh = " 0.93"
38+ iroh = { version = " 0.93" , default-features = false }
4039self_cell = " 1.1.0"
4140genawaiter = { version = " 0.99.1" , features = [" futures03" ] }
4241iroh-base = " 0.93"
43- irpc = { version = " 0.9.0" , features = [" rpc " , " quinn_endpoint_setup " , " spans " , " stream " , " derive " ], default-features = false }
42+ irpc = { version = " 0.9.0" , features = [" spans " , " stream " , " derive " , " varint-util " ], default-features = false }
4443iroh-metrics = { version = " 0.36" }
4544redb = { version = " 2.6.3" , optional = true }
4645reflink-copy = { version = " 0.1.24" , optional = true }
@@ -63,8 +62,24 @@ iroh = { version = "0.93", features = ["discovery-local-network"]}
6362async-compression = { version = " 0.4.30" , features = [" lz4" , " tokio" ] }
6463concat_const = " 0.2.0"
6564
65+ [build-dependencies ]
66+ cfg_aliases = " 0.2.1"
67+
6668[features ]
6769hide-proto-docs = []
6870metrics = []
69- default = [" hide-proto-docs" , " fs-store" ]
70- fs-store = [" dep:redb" , " dep:reflink-copy" ]
71+ default = [" hide-proto-docs" , " fs-store" , " rpc" ]
72+ fs-store = [" dep:redb" , " dep:reflink-copy" , " bao-tree/fs" ]
73+ rpc = [" dep:quinn" , " irpc/rpc" , " irpc/quinn_endpoint_setup" ]
74+
75+ [patch .crates-io ]
76+ irpc = { git = " https://github.com/n0-computer/irpc" , branch = " Frando/varint-feature" }
77+ bao-tree = { git = " https://github.com/n0-computer/bao-tree.git" , branch = " Frando/wasm" }
78+
79+ [[example ]]
80+ name = " expiring-tags"
81+ required-features = [" fs-store" ]
82+
83+ [[example ]]
84+ name = " random_store"
85+ required-features = [" fs-store" ]
0 commit comments