diff --git a/Cargo.lock b/Cargo.lock index 599776fd2d..fe19332aba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,7 +12,7 @@ dependencies = [ "actix-rt", "actix_derive", "bitflags 2.6.0", - "bytes 1.7.1", + "bytes 1.7.2", "crossbeam-channel 0.5.13", "futures-core", "futures-sink", @@ -34,7 +34,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a" dependencies = [ "bitflags 2.6.0", - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "futures-sink", "memchr", @@ -70,7 +70,7 @@ dependencies = [ "actix-utils", "actix-web", "bitflags 2.6.0", - "bytes 1.7.1", + "bytes 1.7.2", "derive_more", "futures-core", "http-range", @@ -97,7 +97,7 @@ dependencies = [ "base64 0.22.1", "bitflags 2.6.0", "brotli", - "bytes 1.7.1", + "bytes 1.7.2", "bytestring", "derive_more", "encoding_rs", @@ -135,7 +135,7 @@ dependencies = [ "actix-tls", "actix-utils", "awc", - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "http 0.2.12", "log", @@ -286,7 +286,7 @@ dependencies = [ "actix-utils", "actix-web-codegen", "ahash 0.8.11", - "bytes 1.7.1", + "bytes 1.7.2", "bytestring", "cfg-if 1.0.0", "cookie", @@ -322,7 +322,7 @@ dependencies = [ "actix-codec", "actix-http", "actix-web", - "bytes 1.7.1", + "bytes 1.7.2", "bytestring", "futures-core", "pin-project-lite", @@ -578,9 +578,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.87" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f00e1f6e58a40e807377c75c6a7f97bf9044fab57816f2414e6f5f4499d7b8" +checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "appdirs" @@ -759,7 +759,7 @@ dependencies = [ "actix-tls", "actix-utils", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.7.2", "cfg-if 1.0.0", "cookie", "derive_more", @@ -1113,15 +1113,18 @@ checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" [[package]] name = "bytesize" version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" +dependencies = [ + "serde", +] [[package]] name = "bytestring" @@ -1129,7 +1132,7 @@ version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74d80203ea6b29df88012294f62733de21cfeab47f17b41af3a38bc30a03ee72" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", ] [[package]] @@ -1211,9 +1214,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.18" +version = "1.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476" +checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" dependencies = [ "jobserver", "libc", @@ -2686,7 +2689,7 @@ dependencies = [ "log", "regex", "thiserror", - "yansi", + "yansi 0.5.1", ] [[package]] @@ -3055,7 +3058,7 @@ dependencies = [ [[package]] name = "golem-certificate" version = "0.1.1" -source = "git+https://github.com/golemfactory/golem-certificate.git?rev=952fdbd47adc57e46b7370935111e046271ef415#952fdbd47adc57e46b7370935111e046271ef415" +source = "git+https://github.com/golemfactory/golem-certificate.git?rev=f2d7514c18fc066e9cfb796090b90f5b27cfe1c6#f2d7514c18fc066e9cfb796090b90f5b27cfe1c6" dependencies = [ "anyhow", "chrono", @@ -3110,7 +3113,7 @@ dependencies = [ "ya-core-model", "ya-provider", "ya-utils-path", - "ya-utils-process 0.3.0", + "ya-utils-process", ] [[package]] @@ -3139,7 +3142,7 @@ version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "futures-core", "futures-sink", @@ -3159,7 +3162,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" dependencies = [ "atomic-waker", - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "futures-core", "futures-sink", @@ -3225,7 +3228,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270" dependencies = [ "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "headers-core", "http 0.2.12", "httpdate", @@ -3405,7 +3408,7 @@ version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "itoa", ] @@ -3416,7 +3419,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "itoa", ] @@ -3427,7 +3430,7 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.12", "pin-project-lite", ] @@ -3438,7 +3441,7 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "http 1.1.0", ] @@ -3448,7 +3451,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -3514,7 +3517,7 @@ version = "0.14.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-channel", "futures-core", "futures-util", @@ -3538,7 +3541,7 @@ version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-channel", "futures-util", "h2 0.4.6", @@ -3572,7 +3575,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "hyper 0.14.30", "native-tls", "tokio", @@ -3585,7 +3588,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da62f120a8a37763efb0cf8fdf264b884c7b8b9ac8660b900c8661030c00e6ba" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -3596,9 +3599,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.60" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -4001,7 +4004,7 @@ checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.6.0", "libc", - "redox_syscall 0.5.3", + "redox_syscall 0.5.4", ] [[package]] @@ -4436,7 +4439,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09b34bd91b9e5c5b06338d392463e1318d683cf82ec3d3af4014609be6e2108d" dependencies = [ "assert-json-diff", - "bytes 1.7.1", + "bytes 1.7.2", "colored", "futures-util", "http 1.1.0", @@ -5011,7 +5014,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall 0.5.3", + "redox_syscall 0.5.4", "smallvec", "windows-targets 0.52.6", ] @@ -5246,12 +5249,12 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" dependencies = [ "diff", - "yansi", + "yansi 1.0.1", ] [[package]] @@ -5332,7 +5335,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "toml_edit 0.22.20", + "toml_edit 0.22.21", ] [[package]] @@ -5389,7 +5392,7 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "prost-derive 0.10.1", ] @@ -5399,7 +5402,7 @@ version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "prost-derive 0.12.6", ] @@ -5409,7 +5412,7 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ae5a4388762d5815a9fc0dea33c56b021cdc8dde0c55e0c9ca57197254b0cab" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "cfg-if 1.0.0", "cmake", "heck 0.4.1", @@ -5431,7 +5434,7 @@ version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "heck 0.5.0", "itertools 0.12.1", "log", @@ -5478,7 +5481,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d0a014229361011dc8e69c8a1ec6c2e8d0f2af7c91e3ea3f5b2170298461e68" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "prost 0.10.4", ] @@ -5743,9 +5746,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" +checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853" dependencies = [ "bitflags 2.6.0", ] @@ -5821,7 +5824,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "encoding_rs", "futures-core", "futures-util", @@ -5920,7 +5923,7 @@ checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" dependencies = [ "bitvec 1.0.1", "bytecheck", - "bytes 1.7.1", + "bytes 1.7.2", "hashbrown 0.12.3", "ptr_meta", "rend", @@ -5947,7 +5950,7 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "rustc-hex", ] @@ -5990,7 +5993,7 @@ checksum = "b082d80e3e3cc52b2ed634388d436fe1f4de6af5786cc2de9ba9737527bdf555" dependencies = [ "arrayvec 0.7.6", "borsh", - "bytes 1.7.1", + "bytes 1.7.2", "num-traits", "rand 0.8.5", "rkyv", @@ -6021,9 +6024,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.36" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ "bitflags 2.6.0", "errno 0.3.9", @@ -6984,7 +6987,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ "base64 0.13.1", - "bytes 1.7.1", + "bytes 1.7.2", "futures 0.3.30", "httparse", "log", @@ -7049,7 +7052,7 @@ dependencies = [ "ahash 0.8.11", "atoi", "byteorder", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "crc", "crossbeam-queue 0.3.11", @@ -7130,7 +7133,7 @@ dependencies = [ "base64 0.21.7", "bitflags 2.6.0", "byteorder", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "crc", "digest 0.10.7", @@ -7739,7 +7742,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", - "bytes 1.7.1", + "bytes 1.7.2", "libc", "mio 1.0.2", "parking_lot 0.12.3", @@ -7783,11 +7786,10 @@ dependencies = [ [[package]] name = "tokio-openssl" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ffab79df67727f6acf57f1ff743091873c24c579b1e2ce4d8f53e47ded4d63d" +checksum = "59df6849caa43bb7567f9a36f863c447d95a11d5903c9cc334ba32576a27eadd" dependencies = [ - "futures-util", "openssl", "openssl-sys", "tokio", @@ -7867,7 +7869,7 @@ version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "futures-io", "futures-sink", @@ -7886,7 +7888,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.20", + "toml_edit 0.22.21", ] [[package]] @@ -7911,9 +7913,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.20" +version = "0.22.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" +checksum = "3b072cee73c449a636ffd6f32bd8de3a9f7119139aff882f44943ce2986dc5cf" dependencies = [ "indexmap 2.5.0", "serde", @@ -8110,15 +8112,15 @@ checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" dependencies = [ "tinyvec", ] @@ -8131,9 +8133,9 @@ checksum = "52ea75f83c0137a9b98608359a5f1af8144876eb67bcb1ce837368e906a9f524" [[package]] name = "unicode-segmentation" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" @@ -8177,7 +8179,7 @@ dependencies = [ "rustls 0.23.13", "rustls-pki-types", "url", - "webpki-roots 0.26.5", + "webpki-roots 0.26.6", ] [[package]] @@ -8430,7 +8432,7 @@ checksum = "5388522c899d1e1c96a4c307e3797e0f697ba7c77dd8e0e625ecba9dd0342937" dependencies = [ "arrayvec 0.7.6", "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "derive_more", "ethabi", "ethereum-types 0.14.1", @@ -8496,9 +8498,9 @@ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "webpki-roots" -version = "0.26.5" +version = "0.26.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bd24728e5af82c6c4ec1b66ac4844bdf8156257fccda846ec58b42cd0cdbe6a" +checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" dependencies = [ "rustls-pki-types", ] @@ -8521,7 +8523,7 @@ version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d" dependencies = [ - "redox_syscall 0.5.3", + "redox_syscall 0.5.4", "wasite", ] @@ -8864,11 +8866,11 @@ dependencies = [ [[package]] name = "ya-client" version = "0.9.0" -source = "git+https://github.com/golemfactory/ya-client.git?rev=dacad31b5bbd039b8ffc97adb70696655d0872ad#dacad31b5bbd039b8ffc97adb70696655d0872ad" +source = "git+https://github.com/golemfactory/ya-client.git?rev=60327ddaaea289ecf45836c1e242e15855d71dc5#60327ddaaea289ecf45836c1e242e15855d71dc5" dependencies = [ "actix-codec", "awc", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "envy", "futures 0.3.30", @@ -8887,10 +8889,11 @@ dependencies = [ [[package]] name = "ya-client-model" -version = "0.7.0" -source = "git+https://github.com/golemfactory/ya-client.git?rev=dacad31b5bbd039b8ffc97adb70696655d0872ad#dacad31b5bbd039b8ffc97adb70696655d0872ad" +version = "0.6.0" +source = "git+https://github.com/golemfactory/ya-client.git?rev=60327ddaaea289ecf45836c1e242e15855d71dc5#60327ddaaea289ecf45836c1e242e15855d71dc5" dependencies = [ "bigdecimal 0.2.2", + "bytesize", "chrono", "derive_more", "diesel", @@ -8949,7 +8952,7 @@ dependencies = [ "actix", "actix-rt", "anyhow", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "futures 0.3.30", "lazy_static", @@ -8963,7 +8966,7 @@ dependencies = [ "tokio", "winapi 0.3.9", "ya-agreement-utils", - "ya-utils-process 0.3.0", + "ya-utils-process", ] [[package]] @@ -9054,7 +9057,7 @@ dependencies = [ "anyhow", "async-stream", "async-trait", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "derivative", "derive_more", @@ -9108,8 +9111,8 @@ dependencies = [ "ya-utils-futures", "ya-utils-networking", "ya-utils-path", - "ya-utils-process 0.3.0", - "yansi", + "ya-utils-process", + "yansi 0.5.1", ] [[package]] @@ -9128,7 +9131,7 @@ dependencies = [ "chrono", "flexi_logger 0.17.1", "log", - "yansi", + "yansi 0.5.1", ] [[package]] @@ -9144,7 +9147,7 @@ dependencies = [ "async-compression", "async-trait", "awc", - "bytes 1.7.1", + "bytes 1.7.2", "cargo_metadata 0.18.1", "crossterm 0.26.1", "env_logger 0.7.1", @@ -9248,7 +9251,7 @@ dependencies = [ "anyhow", "awc", "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "ctor", "env_logger 0.10.2", "flexbuffers", @@ -9281,7 +9284,7 @@ dependencies = [ "actix-web", "anyhow", "async-stream", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "derive_more", "env_logger 0.10.2", @@ -9352,7 +9355,7 @@ dependencies = [ "ya-service-api-derive", "ya-service-api-interfaces", "ya-service-bus", - "yansi", + "yansi 0.5.1", ] [[package]] @@ -9512,7 +9515,7 @@ dependencies = [ "actix", "anyhow", "async-trait", - "bytes 1.7.1", + "bytes 1.7.2", "env_logger 0.10.2", "futures 0.3.30", "hex", @@ -9542,7 +9545,7 @@ dependencies = [ "actix", "actix-web", "anyhow", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "env_logger 0.7.1", "ethsign", @@ -9716,7 +9719,7 @@ dependencies = [ "ya-core-model", "ya-service-api", "ya-service-api-interfaces", - "ya-utils-process 0.3.0", + "ya-utils-process", ] [[package]] @@ -9791,14 +9794,14 @@ dependencies = [ "ya-utils-actix", "ya-utils-cli", "ya-utils-path", - "ya-utils-process 0.3.0", - "yansi", + "ya-utils-process", + "yansi 0.5.1", ] [[package]] name = "ya-relay-client" version = "0.6.1" -source = "git+https://github.com/golemfactory/ya-relay.git?rev=e199ee1cfdb22837f9d95f4202378e182d3cb489#e199ee1cfdb22837f9d95f4202378e182d3cb489" +source = "git+https://github.com/golemfactory/ya-relay.git?rev=0588dd1af311ae19c621b04cc2a4cfd9c0483252#0588dd1af311ae19c621b04cc2a4cfd9c0483252" dependencies = [ "anyhow", "async-trait", @@ -9813,7 +9816,6 @@ dependencies = [ "metrics 0.21.1", "num_cpus", "parking_lot 0.12.3", - "rand 0.8.5", "strum 0.25.0", "strum_macros 0.25.3", "thiserror", @@ -9829,7 +9831,7 @@ dependencies = [ [[package]] name = "ya-relay-core" version = "0.4.1" -source = "git+https://github.com/golemfactory/ya-relay.git?rev=e199ee1cfdb22837f9d95f4202378e182d3cb489#e199ee1cfdb22837f9d95f4202378e182d3cb489" +source = "git+https://github.com/golemfactory/ya-relay.git?rev=0588dd1af311ae19c621b04cc2a4cfd9c0483252#0588dd1af311ae19c621b04cc2a4cfd9c0483252" dependencies = [ "anyhow", "chrono", @@ -9859,10 +9861,10 @@ dependencies = [ [[package]] name = "ya-relay-proto" version = "0.4.3" -source = "git+https://github.com/golemfactory/ya-relay.git?rev=e199ee1cfdb22837f9d95f4202378e182d3cb489#e199ee1cfdb22837f9d95f4202378e182d3cb489" +source = "git+https://github.com/golemfactory/ya-relay.git?rev=0588dd1af311ae19c621b04cc2a4cfd9c0483252#0588dd1af311ae19c621b04cc2a4cfd9c0483252" dependencies = [ "anyhow", - "bytes 1.7.1", + "bytes 1.7.2", "derive_more", "futures 0.3.30", "hex", @@ -9873,7 +9875,7 @@ dependencies = [ "thiserror", "tokio", "tokio-util", - "ya-relay-util 0.1.0 (git+https://github.com/golemfactory/ya-relay.git?rev=e199ee1cfdb22837f9d95f4202378e182d3cb489)", + "ya-relay-util 0.1.0 (git+https://github.com/golemfactory/ya-relay.git?rev=0588dd1af311ae19c621b04cc2a4cfd9c0483252)", ] [[package]] @@ -9899,7 +9901,7 @@ dependencies = [ [[package]] name = "ya-relay-stack" version = "0.5.1" -source = "git+https://github.com/golemfactory/ya-relay.git?rev=e199ee1cfdb22837f9d95f4202378e182d3cb489#e199ee1cfdb22837f9d95f4202378e182d3cb489" +source = "git+https://github.com/golemfactory/ya-relay.git?rev=0588dd1af311ae19c621b04cc2a4cfd9c0483252#0588dd1af311ae19c621b04cc2a4cfd9c0483252" dependencies = [ "derive_more", "futures 0.3.30", @@ -9913,7 +9915,7 @@ dependencies = [ "thiserror", "tokio", "tokio-stream", - "ya-relay-util 0.1.0 (git+https://github.com/golemfactory/ya-relay.git?rev=e199ee1cfdb22837f9d95f4202378e182d3cb489)", + "ya-relay-util 0.1.0 (git+https://github.com/golemfactory/ya-relay.git?rev=0588dd1af311ae19c621b04cc2a4cfd9c0483252)", ] [[package]] @@ -9922,16 +9924,16 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "306a73f6ce2286987c9da25bc0c2ef81f4f0b2b58bb8d9aeedc34d27407603ff" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "derive_more", ] [[package]] name = "ya-relay-util" version = "0.1.0" -source = "git+https://github.com/golemfactory/ya-relay.git?rev=e199ee1cfdb22837f9d95f4202378e182d3cb489#e199ee1cfdb22837f9d95f4202378e182d3cb489" +source = "git+https://github.com/golemfactory/ya-relay.git?rev=0588dd1af311ae19c621b04cc2a4cfd9c0483252#0588dd1af311ae19c621b04cc2a4cfd9c0483252" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "derive_more", ] @@ -9942,7 +9944,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf0db25811f107d62be6c6ac7444d9c6c3e39714b6f76d72798b66ecce47506f" dependencies = [ "anyhow", - "bytes 1.7.1", + "bytes 1.7.2", "futures 0.3.30", "log", "prost 0.10.4", @@ -9959,7 +9961,7 @@ name = "ya-runtime-api" version = "0.7.1" dependencies = [ "anyhow", - "bytes 1.7.1", + "bytes 1.7.2", "env_logger 0.7.1", "futures 0.3.30", "log", @@ -9979,7 +9981,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69e6b13e3a7d0deab2421046e7fd5b498bd30b9d51d068b3fb4e3278a48bb63f" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "prost 0.10.4", "prost-build 0.10.4", "thiserror", @@ -10179,7 +10181,7 @@ dependencies = [ "tokio", "url", "ya-framework-macro", - "ya-utils-process 0.3.0", + "ya-utils-process", ] [[package]] @@ -10195,7 +10197,7 @@ dependencies = [ "async-compression", "async-trait", "awc", - "bytes 1.7.1", + "bytes 1.7.2", "crossterm 0.26.1", "env_logger 0.7.1", "futures 0.3.30", @@ -10225,7 +10227,6 @@ dependencies = [ "tokio-util", "url", "walkdir", - "ya-client", "ya-client-model", "ya-core-model", "ya-exe-unit", @@ -10296,24 +10297,6 @@ dependencies = [ "log", ] -[[package]] -name = "ya-utils-process" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ae347dbc4362cc24241f96ddb7c4bc46fdc6f4772c2f92d12b40af359b81ef" -dependencies = [ - "actix", - "anyhow", - "derive_more", - "fs2", - "futures 0.3.30", - "futures-util", - "libc", - "nix 0.22.3", - "shared_child", - "tokio", -] - [[package]] name = "ya-utils-process" version = "0.3.0" @@ -10370,7 +10353,7 @@ dependencies = [ "actix-web", "actix-web-actors", "anyhow", - "bytes 1.7.1", + "bytes 1.7.2", "env_logger 0.7.1", "futures 0.3.30", "hex", @@ -10460,7 +10443,7 @@ dependencies = [ "ya-utils-futures", "ya-utils-networking", "ya-utils-path", - "ya-utils-process 0.2.0", + "ya-utils-process", "ya-version", "ya-vpn", ] @@ -10480,6 +10463,12 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" +[[package]] +name = "yansi" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" + [[package]] name = "zerocopy" version = "0.7.35" diff --git a/Cargo.toml b/Cargo.toml index db21e038e8..4bbb252694 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,9 +13,13 @@ version = "0.16.0" default = ['erc20-driver', 'gftp/bin'] dummy-driver = ['ya-dummy-driver'] erc20-driver = ['ya-erc20-driver'] -framework-test = ['ya-exe-unit/system-test', 'ya-payment/framework-test', 'ya-identity/framework-test'] static-openssl = ["openssl/vendored", "openssl-probe"] tos = [] +framework-test = [ + 'ya-exe-unit/framework-test', + 'ya-payment/framework-test', + 'ya-identity/framework-test', +] # Temporary to make goth integration tests work central-net = ['ya-net/central-net'] packet-trace-enable = [ @@ -30,44 +34,45 @@ name = "yagna" path = "core/serv/src/main.rs" [dependencies] -gftp = {workspace = true, optional = true} -ya-activity = "0.4" -ya-client-model.workspace = true -ya-client.workspace = true -ya-compile-time-utils = "0.2" +ya-compile-time-utils.workspace = true +ya-activity.workspace = true ya-core-model.workspace = true -ya-dummy-driver = {version = "0.3", optional = true} -ya-erc20-driver = {version = "0.4", optional = true} -ya-fd-metrics = {path = "utils/fd-metrics"} -ya-file-logging = "0.1" -ya-gsb-api = "0.1" -ya-identity = "0.3" -ya-market = "0.4" -ya-metrics = "0.2" -ya-net = {version = "0.3", features = ["service"]} -ya-payment = "0.3" -ya-persistence = {version = "0.3", features = ["service"]} -ya-sb-proto = {workspace = true} -ya-sb-router = {workspace = true} -ya-service-api = "0.1" -ya-service-api-derive = "0.2" -ya-service-api-interfaces = "0.2" -ya-service-api-web = "0.2" -ya-service-bus = {workspace = true} -ya-sgx = "0.2" +ya-dummy-driver = { workspace = true, optional = true } +ya-file-logging.workspace = true +ya-gsb-api.workspace = true +ya-erc20-driver = { workspace = true, optional = true } +ya-identity.workspace = true +ya-market.workspace = true +ya-metrics.workspace = true +ya-net = { workspace = true, features = ["service"] } +ya-payment.workspace = true +ya-persistence = { path = "core/persistence", features = ["service"] } +ya-sb-proto = { workspace = true } +ya-sb-router = { workspace = true } +ya-service-api.workspace = true +ya-service-api-derive.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-api-web.workspace = true +ya-service-bus = { workspace = true } +ya-sgx.path = "core/sgx" +ya-utils-path.workspace = true ya-utils-futures.workspace = true -ya-utils-networking = "0.2" -ya-utils-path = "0.1" -ya-utils-process = {version = "0.2", features = ["lock"]} -ya-version = "0.2" -ya-vpn = "0.2" +ya-utils-process = { workspace = true, features = ["lock"] } +ya-utils-networking.workspace = true +ya-fd-metrics = { path = "utils/fd-metrics" } +ya-version = { path = "core/version" } +ya-vpn.workspace = true +ya-client.workspace = true +ya-client-model.workspace = true +gftp = { workspace = true, optional = true } # just to enable gftp build for cargo-deb -ya-exe-unit = {version = "0.4", optional = true, path = "exe-unit"}# just to enable conditionally running some tests -ya-provider = {version = "0.3", optional = true}# just to enable conditionally running some tests +ya-provider = { path = "agent/provider", optional = true } # just to enable conditionally running some tests +ya-exe-unit = { version = "0.4", optional = true, path = "exe-unit" } # just to enable conditionally running some tests + +actix-rt.workspace = true +actix-service.workspace = true +actix-web.workspace = true -actix-rt = "2.7" -actix-service = "2" -actix-web = "4" anyhow = "1.0" chrono = "0.4" directories = "2.0.2" @@ -89,9 +94,10 @@ tokio-util = {version = "0.7", features = ["codec"]} url = "2.1.1" [dev-dependencies] -erc20_processor = {workspace = true} -ya-exe-unit = {version = "0.4", path = "exe-unit"} -ya-test-framework = "0.1" +erc20_processor = { workspace = true } +ya-test-framework.path= "test-utils/test-framework" + +ya-exe-unit = { version = "0.4", path = "exe-unit" } [package.metadata.deb] assets = [ @@ -236,6 +242,11 @@ members = [ # this entry is needed to make sqlx version >=0.5.9 work with diesel 1.4.* # diesel 1.4.* supports up to 0.23.0, but sqlx 0.5.9 requires 0.22.0 # sqlx 0.5.10 need 0.23.2, so 0.5.9 is last version possible +actix-rt = "2.7" +actix-service = "2" +actix-web = "4" +actix = { version = "0.13", default-features = false } + derive_more = "0.99.11" erc20_payment_lib = {git = "https://github.com/golemfactory/erc20_payment_lib", rev = "4200567b931af64f4fb1f6b756dd6d051576b64f"} erc20_processor = {git = "https://github.com/golemfactory/erc20_payment_lib", rev = "4200567b931af64f4fb1f6b756dd6d051576b64f"} @@ -253,93 +264,65 @@ strum = {version = "0.24", features = ["derive"]} trust-dns-resolver = "0.22" url = "2.3.1" -ya-agreement-utils = {version = "0.6", path = "utils/agreement-utils"} -ya-core-model = {version = "0.10", path = "core/model"} -ya-relay-client = {git = "https://github.com/golemfactory/ya-relay.git", rev = "e199ee1cfdb22837f9d95f4202378e182d3cb489"} -ya-relay-stack = {git = "https://github.com/golemfactory/ya-relay.git", rev = "c92a75b0cf062fcc9dbb3ea2a034d913e5fad8e5"} -ya-utils-futures = {path = "utils/futures"} +ya-agreement-utils = { version = "0.6", path = "utils/agreement-utils" } +ya-exe-unit.path = "./exe-unit" +ya-relay-client = { git = "https://github.com/golemfactory/ya-relay.git", rev = "0588dd1af311ae19c621b04cc2a4cfd9c0483252" } +ya-relay-stack = { git = "https://github.com/golemfactory/ya-relay.git", rev = "c92a75b0cf062fcc9dbb3ea2a034d913e5fad8e5" } +ya-utils-futures = { path = "utils/futures" } +ya-utils-networking = { path = "utils/networking", default-features = false } +ya-file-logging.path = "utils/file-logging" +ya-utils-cli.path = "utils/cli" -mime = "0.3.17" +ya-service-bus = { version = "0.7.3", features = ['tls'] } +ya-sb-router = { version = "0.6.4" } +ya-sb-proto = { version = "0.6.2" } +ya-sb-util = { version = "0.5.1" } parking_lot = "0.12.3" -ya-sb-proto = {version = "0.6.2"} -ya-sb-router = {version = "0.6.4"} -ya-sb-util = {version = "0.5.1"} -ya-service-bus = {version = "0.7.3", features = ['tls']} -# true version is given in patches section -ya-client = "0.9" -# true version is given in patches section -ya-client-model = "0.7" - -[patch.crates-io] -## SERVICES -ya-activity = {path = "core/activity"} -ya-dummy-driver = {path = "core/payment-driver/dummy"} -ya-erc20-driver = {path = "core/payment-driver/erc20"} -ya-gsb-api = {path = "core/gsb-api"} -ya-identity = {path = "core/identity"} -ya-market = {path = "core/market"} -ya-market-resolver = {path = "core/market/resolver"} -ya-net = {path = "core/net"} -ya-payment = {path = "core/payment"} -ya-payment-driver = {path = "core/payment-driver/base"} -ya-sgx = {path = "core/sgx"} -ya-version = {path = "core/version"} -ya-vpn = {path = "core/vpn"} - -## CORE UTILS -ya-core-model = {path = "core/model"} -ya-persistence = {path = "core/persistence"} -ya-service-api = {path = "core/serv-api"} -ya-service-api-derive = {path = "core/serv-api/derive"} -ya-service-api-interfaces = {path = "core/serv-api/interfaces"} -ya-service-api-web = {path = "core/serv-api/web"} - -## CLIENT -ya-client = {git = "https://github.com/golemfactory/ya-client.git", rev = "dacad31b5bbd039b8ffc97adb70696655d0872ad"} -#ya-client = { path = "../ya-client" } -ya-client-model = {git = "https://github.com/golemfactory/ya-client.git", rev = "dacad31b5bbd039b8ffc97adb70696655d0872ad"} -#ya-client-model = { path = "../ya-client/model" } -golem-certificate = {git = "https://github.com/golemfactory/golem-certificate.git", rev = "952fdbd47adc57e46b7370935111e046271ef415"} +mime = "0.3.17" +ya-client = { git = "https://github.com/golemfactory/ya-client.git", rev = "60327ddaaea289ecf45836c1e242e15855d71dc5" } +ya-client-model = { git = "https://github.com/golemfactory/ya-client.git", rev = "60327ddaaea289ecf45836c1e242e15855d71dc5" } -## RELAY and networking stack +ya-compile-time-utils.path = "utils/compile-time-utils" +ya-manifest-utils = { path = "utils/manifest-utils" } +ya-std-utils = { path = "utils/std-utils" } +ya-diesel-utils.path = "utils/diesel-utils" +ya-utils-actix.path = "utils/actix_utils" +ya-core-model = { path = "core/model" } +ya-utils-path.path = "utils/path" +ya-utils-process.path = "utils/process" -#ya-relay-stack = { path = "../ya-relay/crates/stack" } -#ya-relay-client = { path = "../ya-relay/client" } -#ya-relay-core = { path = "../ya-relay/crates/core" } -#ya-relay-proto = { path = "../ya-relay/crates/proto" } +ya-identity.path = "core/identity" +ya-market.path="core/market" +ya-activity.path = "core/activity" +ya-net.path = "core/net" +ya-persistence.path = "core/persistence" +ya-payment.path = "core/payment" +ya-metrics.path = "core/metrics" +ya-manifest-test-utils.path = "utils/manifest-utils/test-utils" +ya-vpn.path = "core/vpn" +ya-gsb-api.path = "core/gsb-api" -## OTHERS -gftp = {path = "core/gftp"} -tokio-process-ns = {path = "exe-unit/tokio-process-ns"} -ya-agreement-utils = {path = "utils/agreement-utils"} -ya-compile-time-utils = {path = "utils/compile-time-utils"} -ya-counters = {path = "exe-unit/components/counters"} -ya-diesel-utils = {path = "utils/diesel-utils"} -ya-exe-unit = {path = "exe-unit"} -ya-file-logging = {path = "utils/file-logging"} -ya-gsb-http-proxy = {path = "exe-unit/components/gsb-http-proxy"} -ya-manifest-utils = {path = "utils/manifest-utils"} -ya-metrics = {path = "core/metrics"} -ya-provider = {path = "agent/provider"} -ya-std-utils = {path = "utils/std-utils"} -ya-transfer = {path = "exe-unit/components/transfer"} -ya-utils-actix = {path = "utils/actix_utils"} -ya-utils-cli = {path = "utils/cli"} -ya-utils-networking = {path = "utils/networking"} -ya-utils-path = {path = "utils/path"} -ya-utils-process = {path = "utils/process"} +ya-payment-driver.path = "core/payment-driver/base" +ya-dummy-driver.path= "core/payment-driver/dummy" +ya-erc20-driver.path = "core/payment-driver/erc20" -## TEST UTILS -ya-framework-basic = {path = "test-utils/test-framework/framework-basic"} -ya-framework-macro = {path = "test-utils/test-framework/framework-macro"} -ya-framework-mocks = {path = "test-utils/test-framework/framework-mocks"} -ya-manifest-test-utils = {path = "utils/manifest-utils/test-utils"} -ya-test-framework = {path = "test-utils/test-framework"} +ya-service-api.path = "core/serv-api" +ya-service-api-derive.path = "core/serv-api/derive" +ya-service-api-interfaces.path = "core/serv-api/interfaces" +ya-service-api-web.path = "core/serv-api/web" -ethereum-tx-sign = {git = "https://github.com/golemfactory/ethereum-tx-sign.git", rev = "1164c74187a9e2947faeaea7dde104c3cdec4195"} -graphene-sgx = {git = " https://github.com/golemfactory/graphene-rust.git", rev = "dbd993ebad7f9190410ea390a589348479af6407"} +ya-framework-macro.path = "test-utils/test-framework/framework-macro" +ya-framework-basic.path = "test-utils/test-framework/framework-basic" +ya-framework-mocks.path = "test-utils/test-framework/framework-mocks" -diesel = {git = "https://github.com/golemfactory/yagna-diesel-patch.git", rev = "a512c66d520a9066dd9a4d1416f9109019b39563"} +[patch.crates-io] +## CLIENT +#ya-client = { git = "https://github.com/golemfactory/ya-client.git", branch = "kek/deploy-volumes" } +ya-client-model = { git = "https://github.com/golemfactory/ya-client.git", rev = "60327ddaaea289ecf45836c1e242e15855d71dc5" } +golem-certificate = { git = "https://github.com/golemfactory/golem-certificate.git", rev = "f2d7514c18fc066e9cfb796090b90f5b27cfe1c6" } +ethereum-tx-sign = { git = "https://github.com/golemfactory/ethereum-tx-sign.git", rev = "1164c74187a9e2947faeaea7dde104c3cdec4195" } +graphene-sgx = { git = " https://github.com/golemfactory/graphene-rust.git", rev = "dbd993ebad7f9190410ea390a589348479af6407" } +diesel = { git = "https://github.com/golemfactory/yagna-diesel-patch.git", rev = "a512c66d520a9066dd9a4d1416f9109019b39563" } # Speed up builds on macOS (will be default in next rust version probably) # https://jakedeichert.com/blog/reducing-rust-incremental-compilation-times-on-macos-by-70-percent/ diff --git a/agent/provider/Cargo.toml b/agent/provider/Cargo.toml index ee7dd15a2f..2ee25e9480 100644 --- a/agent/provider/Cargo.toml +++ b/agent/provider/Cargo.toml @@ -14,17 +14,17 @@ path = "src/main.rs" [dependencies] ya-agreement-utils = { workspace = true } -ya-manifest-utils = { version = "0.2" } +ya-manifest-utils.workspace = true ya-client = { workspace = true, features = ['cli'] } ya-client-model.workspace = true -ya-compile-time-utils = "0.2" +ya-compile-time-utils.workspace = true ya-core-model = { workspace = true, features = ['activity', 'payment'] } -ya-file-logging = "0.1" -ya-utils-actix = "0.2" -ya-utils-cli = "0.1" -ya-utils-path = "0.1" -ya-utils-process = { version = "0.3", features = ['lock'] } -ya-std-utils = "0.1" +ya-file-logging.workspace = true +ya-utils-actix.workspace = true +ya-utils-cli.workspace = true +ya-utils-path.workspace = true +ya-utils-process = { workspace = true, features = ['lock'] } +ya-std-utils.workspace = true golem-certificate = "0.1.1" actix = { version = "0.13", default-features = false } @@ -91,8 +91,8 @@ tempdir = "0.3" tempfile = "3.5.0" pretty_assertions = "1.3" -ya-manifest-test-utils = "0.1" -ya-framework-basic = "0.1" +ya-manifest-test-utils.workspace = true +ya-framework-basic.workspace = true [lints] workspace = true diff --git a/core/activity/Cargo.toml b/core/activity/Cargo.toml index f3164c23d7..0c6ec40e56 100644 --- a/core/activity/Cargo.toml +++ b/core/activity/Cargo.toml @@ -7,11 +7,11 @@ edition = "2018" [dependencies] ya-core-model = { workspace = true, features = ["activity", "market"] } ya-client-model = { workspace = true, features = ["sgx"] } -ya-net = "0.3" -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" -ya-service-api-web = "0.2" +ya-net.workspace = true +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-api-web.workspace = true ya-service-bus = { workspace = true } ya-gsb-http-proxy = { path = "../../exe-unit/components/gsb-http-proxy" } diff --git a/core/gftp/Cargo.toml b/core/gftp/Cargo.toml index cdacdc72a7..e38790e51f 100644 --- a/core/gftp/Cargo.toml +++ b/core/gftp/Cargo.toml @@ -18,7 +18,7 @@ name = "gftp" required-features = ['bin'] [dependencies] -ya-compile-time-utils = "0.2" +ya-compile-time-utils.workspace = true ya-core-model = { workspace = true, features = ["gftp", "identity", "net"] } ya-service-bus = { workspace = true } diff --git a/core/gsb-api/Cargo.toml b/core/gsb-api/Cargo.toml index dd8c889710..17c5cf625b 100644 --- a/core/gsb-api/Cargo.toml +++ b/core/gsb-api/Cargo.toml @@ -7,10 +7,10 @@ edition = "2018" [dependencies] ya-client-model.workspace = true -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" -ya-service-api-web = "0.2" +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-api-web.workspace = true ya-service-bus = { workspace = true } actix = "0" diff --git a/core/identity/Cargo.toml b/core/identity/Cargo.toml index 10238f7299..773f85559e 100644 --- a/core/identity/Cargo.toml +++ b/core/identity/Cargo.toml @@ -12,9 +12,9 @@ framework-test = [] [dependencies] ya-client-model = { workspace = true, features = ["with-diesel"] } ya-core-model = { workspace = true, features = ["identity", "appkey"] } -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true ya-service-bus = { workspace = true } anyhow = "1.0" @@ -41,10 +41,10 @@ rustc-hex = "2.1.0" yansi = "0.5.0" [dev-dependencies] -ya-service-api-derive = "0.2" +ya-service-api-derive.workspace = true ya-sb-router = { workspace = true } -ya-framework-basic = { version = "0.1" } -ya-framework-mocks = { version = "0.1" } +ya-framework-basic.workspace = true +ya-framework-mocks.workspace = true actix-rt = "2.7" actix-service = "2" @@ -57,4 +57,4 @@ serial_test = { git = "https://github.com/tworec/serial_test.git", branch = "act test-context = "0.1.4" [lints] -workspace = true \ No newline at end of file +workspace = true diff --git a/core/market/Cargo.toml b/core/market/Cargo.toml index 8036bd3c3d..76d1fb5cd9 100644 --- a/core/market/Cargo.toml +++ b/core/market/Cargo.toml @@ -12,17 +12,17 @@ test-suite = [] ya-agreement-utils = { workspace = true } ya-client.workspace = true ya-core-model = { workspace = true, features = ["market", "net"] } -ya-diesel-utils = { version = "0.1" } -ya-framework-basic = "0.1" -ya-market-resolver = "0.2" -ya-net = "0.3" -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" -ya-service-api-web = "0.2" +ya-diesel-utils.workspace = true +ya-framework-basic.workspace = true +ya-market-resolver.path = "./resolver" +ya-net.workspace = true +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-api-web.workspace = true ya-service-bus = { workspace = true } -ya-std-utils = "0.1" -ya-utils-actix = "0.2" +ya-std-utils.workspace = true +ya-utils-actix.workspace = true actix = { version = "0.13", default-features = false } actix-http = "3" @@ -73,7 +73,7 @@ serial_test = { git = "https://github.com/golemfactory/serial_test.git", branch structopt = "0.3" tokio = { version = "1", features = ["macros", "rt"] } -ya-framework-mocks = "0.1" +ya-framework-mocks.workspace = true [lints] -workspace = true \ No newline at end of file +workspace = true diff --git a/core/metrics/Cargo.toml b/core/metrics/Cargo.toml index 7d3a2dcd8f..d54fdff916 100644 --- a/core/metrics/Cargo.toml +++ b/core/metrics/Cargo.toml @@ -11,9 +11,9 @@ license = "LGPL-3.0" [dependencies] ya-core-model = { workspace = true, features = ["identity"] } -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" -ya-service-bus = { workspace = true } +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-bus = { workspace = true } awc = "3" actix-web = { version = "4", features = ["openssl"] } diff --git a/core/net/Cargo.toml b/core/net/Cargo.toml index af0fc30efd..dce7433912 100644 --- a/core/net/Cargo.toml +++ b/core/net/Cargo.toml @@ -22,14 +22,14 @@ ya-relay-client = { workspace = true } ya-sb-proto = { workspace = true } ya-sb-util = { workspace = true } -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true ya-service-bus = { workspace = true, features = ["tls"] } -ya-utils-networking = "0.2" +ya-utils-networking.workspace = true ya-packet-trace = { git = "https://github.com/golemfactory/ya-packet-trace" } -actix = "0.13" -actix-web = "4" +actix.workspace = true +actix-web.workspace = true anyhow = "1.0" chrono = "0.4" futures = "0.3" diff --git a/core/payment-driver/base/Cargo.toml b/core/payment-driver/base/Cargo.toml index 885c92fd90..8dcc3e3572 100644 --- a/core/payment-driver/base/Cargo.toml +++ b/core/payment-driver/base/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" default = [] [dependencies] -actix = { version = "0.13", default-features = false } +actix = { workspace = true, default-features = false } anyhow = "1.0" async-trait = "0.1" bigdecimal = { version = "0.2" } @@ -38,7 +38,7 @@ ya-core-model = { workspace = true, features = [ "identity", "payment", ] } -ya-persistence = "0.3" +ya-persistence.workspace = true ya-service-bus = { workspace = true } diff --git a/core/payment-driver/dummy/Cargo.toml b/core/payment-driver/dummy/Cargo.toml index 3633a76df9..ab3b430e57 100644 --- a/core/payment-driver/dummy/Cargo.toml +++ b/core/payment-driver/dummy/Cargo.toml @@ -14,9 +14,9 @@ ya-core-model = { workspace = true, features = [ "payment", ] } ya-client-model.workspace = true -ya-payment-driver = "0.3" -ya-persistence = "0.3" -ya-service-api-interfaces = "0.2" +ya-payment-driver.workspace = true +ya-persistence.workspace = true +ya-service-api-interfaces.workspace = true ya-service-bus = { workspace = true } anyhow = "1.0" diff --git a/core/payment-driver/erc20/Cargo.toml b/core/payment-driver/erc20/Cargo.toml index 94563eefe1..1b2406e3ef 100644 --- a/core/payment-driver/erc20/Cargo.toml +++ b/core/payment-driver/erc20/Cargo.toml @@ -42,13 +42,13 @@ web3 = { version = "0.19.0", default-features = false, features = [ rust_decimal = "1" ## yagna dependencies -ya-payment-driver = "0.3" -ya-core-model = { workspace = true } +ya-payment-driver.workspace = true +ya-core-model.workspace = true ya-client-model.workspace = true -ya-service-api-interfaces = "0.2" +ya-service-api-interfaces.workspace = true ya-utils-futures.workspace = true -ya-utils-networking = "0.2" -erc20_payment_lib = { workspace = true } +ya-utils-networking.workspace = true +erc20_payment_lib.workspace = true [dev-dependencies] actix-rt = "2.7" diff --git a/core/payment/Cargo.toml b/core/payment/Cargo.toml index 01898cddd7..19a47772a1 100644 --- a/core/payment/Cargo.toml +++ b/core/payment/Cargo.toml @@ -18,14 +18,14 @@ ya-core-model = { workspace = true, features = [ "market", "payment", ] } -ya-net = "0.3" -ya-metrics = "0.2" -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" -ya-service-api-web = "0.2" +ya-net.workspace = true +ya-metrics.workspace = true +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-api-web.workspace = true ya-service-bus = { workspace = true } -ya-std-utils = "0.1" +ya-std-utils.workspace = true actix-web = "4" anyhow = "1.0" @@ -66,16 +66,16 @@ uint = "0.7" uuid = { version = "0.8", features = ["v4"] } [dev-dependencies] -ya-client = { workspace = true } -ya-dummy-driver = "0.3" -ya-erc20-driver = "0.4" -ya-net = { version = "0.3", features = ["service"] } -ya-identity = "0.3" -ya-market = "0.4" +ya-client.workspace = true +ya-dummy-driver.workspace = true +ya-erc20-driver.workspace = true +ya-net = { workspace = true, features = ["service"] } +ya-identity.workspace = true +ya-market.workspace = true ya-sb-router = { workspace = true } -ya-framework-basic = { version = "0.1" } -ya-framework-mocks = { version = "0.1" } -ya-payment-driver = "0.3" +ya-framework-basic.workspace = true +ya-framework-mocks.workspace = true +ya-payment-driver.workspace = true actix-rt = "2.7" rand = "0.8" diff --git a/core/persistence/Cargo.toml b/core/persistence/Cargo.toml index e05d6a3931..b2b649272d 100644 --- a/core/persistence/Cargo.toml +++ b/core/persistence/Cargo.toml @@ -15,10 +15,10 @@ service = [ [dependencies] ya-client-model = { workspace = true, features = ["with-diesel"] } -ya-core-model = { workspace = true } -ya-service-api = { version = "0.1", optional = true } -ya-service-api-interfaces = { version = "0.2", optional = true } -ya-utils-process = { version = "0.3", features = ["lock"], optional = true } +ya-core-model.workspace = true +ya-service-api = { workspace = true, optional = true } +ya-service-api-interfaces = { workspace = true, optional = true } +ya-utils-process = { workspace = true, features = ["lock"], optional = true } anyhow = "1.0.26" bigdecimal = "0.2" diff --git a/core/serv-api/Cargo.toml b/core/serv-api/Cargo.toml index 3f6d97e568..190f329a46 100644 --- a/core/serv-api/Cargo.toml +++ b/core/serv-api/Cargo.toml @@ -11,5 +11,5 @@ lazy_static = "1.4" serde = { version = "1.0", features = ["derive"] } url = "2.1.1" -ya-utils-cli = "0.1" -ya-core-model = { workspace = true } +ya-utils-cli.workspace = true +ya-core-model.workspace = true diff --git a/core/serv-api/derive/Cargo.toml b/core/serv-api/derive/Cargo.toml index 1f399fa945..911ee34a4c 100644 --- a/core/serv-api/derive/Cargo.toml +++ b/core/serv-api/derive/Cargo.toml @@ -17,11 +17,11 @@ strum_macros = "0.24" syn = { version = "1.0", features = ["full"] } [dev-dependencies] -ya-service-api-interfaces = "0.2" +ya-service-api-interfaces.workspace = true -actix-rt = "2.7" -actix-service = "2" -actix-web = "4" +actix-rt.workspace = true +actix-service.workspace = true +actix-web.workspace = true anyhow = "1.0" log = "0.4" structopt = "0.3" diff --git a/core/serv-api/web/Cargo.toml b/core/serv-api/web/Cargo.toml index 7683913e3a..54d3e350cd 100644 --- a/core/serv-api/web/Cargo.toml +++ b/core/serv-api/web/Cargo.toml @@ -8,8 +8,8 @@ edition = "2018" [dependencies] ya-client.workspace = true ya-core-model = { workspace = true, features = ["appkey"] } -ya-service-api = "0.1" -ya-service-bus = { workspace = true } +ya-service-api.workspace = true +ya-service-bus = { workspace = true } actix-cors = "0.6" actix-service = "2" @@ -23,11 +23,11 @@ structopt = "0.3" url = "2.1.1" [dev-dependencies] -ya-identity = "0.3" -ya-persistence = "0.3" +ya-identity.workspace = true +ya-persistence.workspace = true ya-sb-router = { workspace = true } -ya-service-api-derive = "0.2" -ya-service-api-interfaces = "0.2" +ya-service-api-derive.workspace = true +ya-service-api-interfaces.workspace = true actix-rt = "2.7" anyhow = "1.0" diff --git a/core/version/Cargo.toml b/core/version/Cargo.toml index 68ca971a8d..9519d06a0a 100644 --- a/core/version/Cargo.toml +++ b/core/version/Cargo.toml @@ -7,12 +7,12 @@ edition = "2018" [dependencies] ya-client.workspace = true -ya-compile-time-utils = "0.2" +ya-compile-time-utils.workspace = true ya-core-model = { workspace = true, features = ["version"] } -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" -ya-service-bus = { workspace = true } +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-bus = { workspace = true } actix-web = "4" anyhow = "1.0" diff --git a/core/vpn/Cargo.toml b/core/vpn/Cargo.toml index ac2ffa89ef..7fdbe451a8 100644 --- a/core/vpn/Cargo.toml +++ b/core/vpn/Cargo.toml @@ -7,15 +7,13 @@ edition = "2018" [dependencies] ya-core-model = { workspace = true, features = ["activity", "market"] } ya-client-model = { workspace = true, features = ["sgx"] } -ya-net = "0.3" -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-interfaces = "0.2" -ya-service-api-web = "0.2" +ya-net.workspace = true +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-interfaces.workspace = true +ya-service-api-web.workspace = true ya-service-bus = { workspace = true } -ya-utils-networking = { version = "0.2", default-features = false, features = [ - "vpn", -] } +ya-utils-networking = { workspace = true, default-features = false, features = [ "vpn", ] } ya-packet-trace = { git = "https://github.com/golemfactory/ya-packet-trace" } actix = "0.13" diff --git a/exe-unit/Cargo.toml b/exe-unit/Cargo.toml index ff1eb42248..d697ee198d 100644 --- a/exe-unit/Cargo.toml +++ b/exe-unit/Cargo.toml @@ -24,30 +24,32 @@ sgx = [ 'ya-core-model/sgx', 'ya-transfer/sgx', ] -system-test = ["ya-transfer/system-test"] +framework-test = [] [dependencies] ya-agreement-utils = {workspace = true} ya-client-model.workspace = true -ya-compile-time-utils = "0.2" +ya-compile-time-utils.workspace = true ya-core-model = {workspace = true, features = ["activity", "appkey"]} -ya-counters = {path = "../exe-unit/components/counters", features = ["os"]} +ya-counters = {path = "./components/counters", features = ["os"]} ya-gsb-http-proxy = {path = "../exe-unit/components/gsb-http-proxy"} -ya-manifest-utils = {version = "0.2"} +ya-manifest-utils.workspace = true ya-packet-trace = {git = "https://github.com/golemfactory/ya-packet-trace"} ya-runtime-api = {version = "0.7", path = "runtime-api", features = [ "server", ]} ya-service-bus = {workspace = true} -ya-std-utils = "0.1" -ya-transfer = "0.3" +ya-std-utils.workspace = true +ya-transfer.path = "components/transfer" ya-utils-futures.workspace = true -ya-utils-networking = {version = "0.2", default-features = false, features = [ - "dns", - "vpn", -]} -ya-utils-path = "0.1" -ya-utils-process = "0.3" +ya-utils-networking = { workspace = true, default-features = false, features = [ + "dns", + "vpn", +] } +ya-utils-process.workspace = true +ya-utils-path.workspace = true + + actix = {version = "0.13", default-features = false} actix-rt = "2.7" @@ -110,7 +112,7 @@ shell-words = "1.0.0" tempdir = "0.3.7" test-context = "0.1.4" -ya-framework-basic = {version = "0.1"} +ya-framework-basic.workspace = true ya-mock-runtime = {path = "components/mock-runtime"} [lints] diff --git a/exe-unit/components/counters/Cargo.toml b/exe-unit/components/counters/Cargo.toml index 585fcb827a..f6cff54e44 100644 --- a/exe-unit/components/counters/Cargo.toml +++ b/exe-unit/components/counters/Cargo.toml @@ -6,7 +6,7 @@ description = "Runtime counters generating data used to collect activity metrics [dependencies] ya-agreement-utils = { workspace = true } -ya-utils-process = { version = "0.3", optional = true } +ya-utils-process = { workspace = true, optional = true } anyhow = "1.0" actix = "0.13" diff --git a/exe-unit/components/gsb-http-proxy/Cargo.toml b/exe-unit/components/gsb-http-proxy/Cargo.toml index ced2888965..d625aae187 100644 --- a/exe-unit/components/gsb-http-proxy/Cargo.toml +++ b/exe-unit/components/gsb-http-proxy/Cargo.toml @@ -39,5 +39,5 @@ mockito = "1.2" serial_test = { git = "https://github.com/tworec/serial_test.git", branch = "actix_rt_test", features = ["actix-rt2"] } test-context = "0.1.4" -ya-framework-basic = { version = "0.1" } +ya-framework-basic.workspace = true ya-sb-router = "0.6.2" diff --git a/exe-unit/components/mock-runtime/Cargo.toml b/exe-unit/components/mock-runtime/Cargo.toml index 564a6e5e67..e35a2ab04a 100644 --- a/exe-unit/components/mock-runtime/Cargo.toml +++ b/exe-unit/components/mock-runtime/Cargo.toml @@ -30,9 +30,9 @@ ya-runtime-api = "0.7" # Dependancies for ExeUnit testing utils ya-client-model.workspace = true ya-core-model = {workspace = true, features = ["activity", "appkey"]} -ya-exe-unit = "0.4" -ya-framework-basic = {version = "0.1"} -ya-sb-router = "0.6" +ya-exe-unit.workspace = true +ya-framework-basic.workspace = true +ya-sb-router.workspace = true ya-service-bus = {workspace = true} actix = {version = "0.13", default-features = false} diff --git a/exe-unit/components/mock-runtime/src/testing/exe_unit_ext.rs b/exe-unit/components/mock-runtime/src/testing/exe_unit_ext.rs index 8559a20c27..cebfc03cda 100644 --- a/exe-unit/components/mock-runtime/src/testing/exe_unit_ext.rs +++ b/exe-unit/components/mock-runtime/src/testing/exe_unit_ext.rs @@ -181,7 +181,7 @@ impl ExeUnitExt for ExeUnitHandle { env: Default::default(), hosts: Default::default(), hostname: None, - volumes: vec![], + volumes: None, }], ) .await diff --git a/exe-unit/components/transfer/Cargo.toml b/exe-unit/components/transfer/Cargo.toml index ad4f965ef5..d7b30beba1 100644 --- a/exe-unit/components/transfer/Cargo.toml +++ b/exe-unit/components/transfer/Cargo.toml @@ -6,9 +6,8 @@ authors = ["Golem Factory "] edition = "2018" [dependencies] -ya-client = { workspace = true } -ya-client-model = { workspace = true } -ya-core-model = { workspace = true, features = ["activity", "gftp"] } +ya-client-model.workspace = true +ya-core-model.workspace = true ya-service-bus = { workspace = true } ya-utils-path = { version = "0.1", path = "../../../utils/path" } ya-utils-futures.workspace = true @@ -82,5 +81,5 @@ structopt = "0.3.15" test-context = "0.1.4" test-case = "3" -ya-framework-basic = { version = "0.1" } +ya-framework-basic.workspace = true ya-exe-unit = { version = "0.4", path = "../../../exe-unit" } diff --git a/exe-unit/src/exe_unit.rs b/exe-unit/src/exe_unit.rs index 5b8936ace3..ed44fc16b8 100644 --- a/exe-unit/src/exe_unit.rs +++ b/exe-unit/src/exe_unit.rs @@ -14,6 +14,7 @@ use ya_counters::message::GetCounters; use ya_counters::service::CountersService; use ya_agreement_utils::OfferTemplate; +use ya_client_model::activity::exe_script_command::VolumeMount; use ya_client_model::activity::{ActivityUsage, CommandOutput, ExeScriptCommand, State, StatePair}; use ya_core_model::activity; use ya_core_model::activity::local::Credentials; @@ -320,14 +321,26 @@ impl RuntimeRef { volumes, .. } => { - let volumes = volumes - .iter() - .enumerate() - .map(|(idx, vol)| ContainerVolume { - name: format!("vol-custom-{idx}"), - path: vol.to_string(), - }) - .collect::>(); + let volumes = if let Some(v) = &volumes { + v.clone() + .as_volumes() + .iter() + .enumerate() + .filter_map(|(idx, (path, info))| { + if matches!(info, VolumeMount::Host { .. }) { + Some(ContainerVolume { + name: format!("vol-custom-{idx}"), + path: path.clone(), + }) + } else { + None + } + }) + .collect::>() + } else { + Vec::new() + }; + transfer_service.send(AddVolumes::new(volumes)).await??; // TODO: We should pass `task_package` here not in `TransferService` initialization. diff --git a/exe-unit/src/manifest.rs b/exe-unit/src/manifest.rs index 9d085f948c..8c1df47382 100644 --- a/exe-unit/src/manifest.rs +++ b/exe-unit/src/manifest.rs @@ -504,7 +504,7 @@ mod tests { net: Default::default(), hosts: Default::default(), hostname: None, - volumes: vec![], + volumes: Default::default(), env: Default::default(), progress: None, }, diff --git a/exe-unit/src/runtime/process.rs b/exe-unit/src/runtime/process.rs index 7c0fd1c9f7..773f9cf502 100644 --- a/exe-unit/src/runtime/process.rs +++ b/exe-unit/src/runtime/process.rs @@ -205,7 +205,16 @@ impl RuntimeProcess { let (cmd, ctx) = cmd.split(); match cmd { - ExeScriptCommand::Deploy { .. } => rt_args.args(["deploy", "--"]), + ExeScriptCommand::Deploy { volumes, .. } => { + if let Some(volumes) = volumes { + let vol_override_json = serde_json::to_string(&volumes.as_volumes()) + .expect("failed to serialize volume info"); + + rt_args.arg("--volume-override"); + rt_args.arg(vol_override_json); + } + rt_args.args(["deploy", "--"]) + } ExeScriptCommand::Start { args } => rt_args.args(["start", "--"]).args(args), ExeScriptCommand::Run { entry_point, args, .. diff --git a/exe-unit/tests/test_exe_unit_basic.rs b/exe-unit/tests/test_exe_unit_basic.rs index 5c354e4b6c..18444b5c6c 100644 --- a/exe-unit/tests/test_exe_unit_basic.rs +++ b/exe-unit/tests/test_exe_unit_basic.rs @@ -9,7 +9,6 @@ use ya_framework_basic::test_dirs::cargo_binary; use ya_framework_basic::{resource, temp_dir}; use ya_mock_runtime::testing::{create_exe_unit, exe_unit_config, ExeUnitExt}; -#[cfg_attr(not(feature = "system-test"), ignore)] #[test_context(DroppableTestContext)] #[serial_test::serial] async fn test_exe_unit_start_terminate(ctx: &mut DroppableTestContext) -> anyhow::Result<()> { diff --git a/exe-unit/tests/test_progress.rs b/exe-unit/tests/test_progress.rs index c87bbe4394..3183f23091 100644 --- a/exe-unit/tests/test_progress.rs +++ b/exe-unit/tests/test_progress.rs @@ -2,7 +2,7 @@ use futures::StreamExt; use std::time::Duration; use test_context::test_context; -use ya_client_model::activity::exe_script_command::ProgressArgs; +use ya_client_model::activity::exe_script_command::{ProgressArgs, Volumes}; use ya_client_model::activity::{ExeScriptCommand, RuntimeEventKind, TransferArgs}; use ya_core_model::activity; use ya_framework_basic::async_drop::DroppableTestContext; @@ -17,7 +17,6 @@ use ya_service_bus::typed as bus; /// Test if progress reporting mechanisms work on gsb level /// with full ExeUnit setup. -#[cfg_attr(not(feature = "system-test"), ignore)] #[test_context(DroppableTestContext)] #[serial_test::serial] async fn test_progress_reporting(ctx: &mut DroppableTestContext) -> anyhow::Result<()> { @@ -67,7 +66,7 @@ async fn test_progress_reporting(ctx: &mut DroppableTestContext) -> anyhow::Resu env: Default::default(), hosts: Default::default(), hostname: None, - volumes: vec!["/input".to_owned()], + volumes: Some(Volumes::Simple(vec!["/input".to_owned()])), }], ) .await diff --git a/golem_cli/Cargo.toml b/golem_cli/Cargo.toml index 2a5da6bb02..5259abcc5e 100644 --- a/golem_cli/Cargo.toml +++ b/golem_cli/Cargo.toml @@ -7,11 +7,11 @@ edition = "2018" [dependencies] ya-client = { workspace = true, features = ['cli'] } -ya-compile-time-utils = "0.2" +ya-compile-time-utils.workspace = true ya-core-model = { workspace = true, features = ["payment", "version"] } -ya-provider = "0.3" -ya-utils-path = "0.1.0" -ya-utils-process = { version = "0.3", features = ["lock"] } +ya-provider.path = "../agent/provider" +ya-utils-path.workspace = true +ya-utils-process = { workspace = true, features = ["lock"] } actix-rt = "2.7" ansi_term = "0.12.1" diff --git a/test-utils/test-framework/Cargo.toml b/test-utils/test-framework/Cargo.toml index 74f4b2a24f..c743a8bef4 100644 --- a/test-utils/test-framework/Cargo.toml +++ b/test-utils/test-framework/Cargo.toml @@ -17,8 +17,8 @@ serial_test = { git = "https://github.com/golemfactory/serial_test.git", branch tokio = { version = "1", features = ["rt"] } url = "2.3" -ya-utils-process = "0.3" -ya-framework-macro = "0.1" +ya-utils-process.workspace = true +ya-framework-macro = { path = "./framework-macro" } [target.'cfg(target_family = "unix")'.dependencies] libc = "0.2.73" diff --git a/test-utils/test-framework/framework-basic/Cargo.toml b/test-utils/test-framework/framework-basic/Cargo.toml index 1c884aef97..67e3440bda 100644 --- a/test-utils/test-framework/framework-basic/Cargo.toml +++ b/test-utils/test-framework/framework-basic/Cargo.toml @@ -11,13 +11,13 @@ bcast-singleton = [] [dependencies] ya-client-model.workspace = true ya-client.workspace = true -ya-core-model = { workspace = true, features = ["net"] } +ya-core-model.workspace = true ya-service-bus = { workspace = true } ya-utils-path = { version = "0.1", path = "../../../utils/path" } ya-utils-futures.workspace = true gftp = { workspace = true } -ya-net = "0.3" +ya-net.workspace = true actix = "0.13" actix-files = "0.6" diff --git a/test-utils/test-framework/framework-mocks/Cargo.toml b/test-utils/test-framework/framework-mocks/Cargo.toml index a9a33e1491..963783a18e 100644 --- a/test-utils/test-framework/framework-mocks/Cargo.toml +++ b/test-utils/test-framework/framework-mocks/Cargo.toml @@ -6,27 +6,27 @@ edition = "2021" [dependencies] ya-agreement-utils = { workspace = true } -ya-client-model = { workspace = true } -ya-client = { workspace = true } -ya-core-model = { workspace = true } -ya-dummy-driver = "0.3" -ya-erc20-driver = "0.4" -ya-identity = "0.3" -ya-market = "0.4" -ya-net = { version = "0.3", features = ["service"] } -ya-payment = "0.3" -ya-persistence = "0.3" -ya-service-api = "0.1" -ya-service-api-web = "0.2" +ya-client-model.workspace = true +ya-client.workspace = true +ya-core-model.workspace = true +ya-dummy-driver.workspace = true +ya-erc20-driver.workspace = true +ya-identity.workspace = true +ya-market.workspace = true +ya-net = { workspace = true, features = ["service"] } +ya-payment.workspace = true +ya-persistence.workspace = true +ya-service-api.workspace = true +ya-service-api-web.workspace = true ya-service-bus = { workspace = true } ya-sb-router = { workspace = true } -ya-utils-path = { version = "0.1", path = "../../../utils/path" } -ya-std-utils = "0.1" +ya-utils-path.workspace = true +ya-std-utils.workspace = true -ya-framework-basic = { version = "0.1" } +ya-framework-basic.workspace = true -actix-rt = "2.7" -actix-web = "4" +actix-rt.workspace = true +actix-web.workspace = true actix-http = "3" actix-service = "2" anyhow = "1.0" diff --git a/utils/manifest-utils/Cargo.toml b/utils/manifest-utils/Cargo.toml index 4bb6e1707f..86db7ef3c3 100644 --- a/utils/manifest-utils/Cargo.toml +++ b/utils/manifest-utils/Cargo.toml @@ -21,7 +21,7 @@ schema = ["schemars"] [dependencies] ya-agreement-utils = { workspace = true } -ya-utils-path = "0.1" +ya-utils-path.workspace = true ya-client-model.workspace = true golem-certificate = "0.1.1" @@ -57,8 +57,8 @@ serial_test = "2" shlex = "1.1" tar = "0.4" test-case = "3.1" -ya-manifest-test-utils = "0.1" +ya-manifest-test-utils.workspace = true openssl.workspace = true [lints] -workspace = true \ No newline at end of file +workspace = true diff --git a/utils/manifest-utils/test-utils/Cargo.toml b/utils/manifest-utils/test-utils/Cargo.toml index 27aac3c1ba..449d74c03c 100644 --- a/utils/manifest-utils/test-utils/Cargo.toml +++ b/utils/manifest-utils/test-utils/Cargo.toml @@ -13,5 +13,5 @@ base64 = "0.13" tar = "0.4" openssl = "0.10" -ya-manifest-utils = "0.2" +ya-manifest-utils.workspace = true ya-agreement-utils = { workspace = true }