diff --git a/Cargo.toml b/Cargo.toml index 1ba315c..116ac9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,21 +1,22 @@ [workspace] members = [ - "aquatic", - "aquatic_common", - "aquatic_http", - "aquatic_http_load_test", - "aquatic_http_protocol", - "aquatic_peer_id", - "aquatic_toml_config", - "aquatic_toml_config_derive", - "aquatic_udp", - "aquatic_udp_bench", - "aquatic_udp_load_test", - "aquatic_udp_protocol", - "aquatic_ws", - "aquatic_ws_load_test", - "aquatic_ws_protocol", + "crates/combined_binary", + "crates/common", + "crates/http", + "crates/http_load_test", + "crates/http_protocol", + "crates/peer_id", + "crates/toml_config", + "crates/toml_config_derive", + "crates/udp", + "crates/udp_bench", + "crates/udp_load_test", + "crates/udp_protocol", + "crates/ws", + "crates/ws_load_test", + "crates/ws_protocol", ] +resolver = "2" [workspace.package] version = "0.8.0" @@ -27,16 +28,16 @@ readme = "./README.md" rust-version = "1.64" [workspace.dependencies] -aquatic_common = { version = "0.8.0", path = "./aquatic_common" } -aquatic_http_protocol = { version = "0.8.0", path = "./aquatic_http_protocol" } -aquatic_http = { version = "0.8.0", path = "./aquatic_http" } -aquatic_peer_id = { version = "0.8.0", path = "./aquatic_peer_id" } -aquatic_toml_config = { version = "0.8.0", path = "./aquatic_toml_config" } -aquatic_toml_config_derive = { version = "0.8.0", path = "./aquatic_toml_config_derive" } -aquatic_udp_protocol = { version = "0.8.0", path = "./aquatic_udp_protocol" } -aquatic_udp = { version = "0.8.0", path = "./aquatic_udp" } -aquatic_ws_protocol = { version = "0.8.0", path = "./aquatic_ws_protocol" } -aquatic_ws = { version = "0.8.0", path = "./aquatic_ws" } +aquatic_common = { version = "0.8.0", path = "./crates/common" } +aquatic_http_protocol = { version = "0.8.0", path = "./crates/http_protocol" } +aquatic_http = { version = "0.8.0", path = "./crates/http" } +aquatic_peer_id = { version = "0.8.0", path = "./crates/peer_id" } +aquatic_toml_config = { version = "0.8.0", path = "./crates/toml_config" } +aquatic_toml_config_derive = { version = "0.8.0", path = "./crates/toml_config_derive" } +aquatic_udp_protocol = { version = "0.8.0", path = "./crates/udp_protocol" } +aquatic_udp = { version = "0.8.0", path = "./crates/udp" } +aquatic_ws_protocol = { version = "0.8.0", path = "./crates/ws_protocol" } +aquatic_ws = { version = "0.8.0", path = "./crates/ws" } [profile.release] debug = false diff --git a/aquatic/Cargo.toml b/crates/combined_binary/Cargo.toml similarity index 100% rename from aquatic/Cargo.toml rename to crates/combined_binary/Cargo.toml diff --git a/aquatic/src/main.rs b/crates/combined_binary/src/main.rs similarity index 100% rename from aquatic/src/main.rs rename to crates/combined_binary/src/main.rs diff --git a/aquatic_common/Cargo.toml b/crates/common/Cargo.toml similarity index 100% rename from aquatic_common/Cargo.toml rename to crates/common/Cargo.toml diff --git a/aquatic_common/src/access_list.rs b/crates/common/src/access_list.rs similarity index 100% rename from aquatic_common/src/access_list.rs rename to crates/common/src/access_list.rs diff --git a/aquatic_common/src/cli.rs b/crates/common/src/cli.rs similarity index 100% rename from aquatic_common/src/cli.rs rename to crates/common/src/cli.rs diff --git a/aquatic_common/src/cpu_pinning.rs b/crates/common/src/cpu_pinning.rs similarity index 100% rename from aquatic_common/src/cpu_pinning.rs rename to crates/common/src/cpu_pinning.rs diff --git a/aquatic_common/src/lib.rs b/crates/common/src/lib.rs similarity index 100% rename from aquatic_common/src/lib.rs rename to crates/common/src/lib.rs diff --git a/aquatic_common/src/privileges.rs b/crates/common/src/privileges.rs similarity index 100% rename from aquatic_common/src/privileges.rs rename to crates/common/src/privileges.rs diff --git a/aquatic_common/src/rustls_config.rs b/crates/common/src/rustls_config.rs similarity index 100% rename from aquatic_common/src/rustls_config.rs rename to crates/common/src/rustls_config.rs diff --git a/aquatic_http/Cargo.toml b/crates/http/Cargo.toml similarity index 100% rename from aquatic_http/Cargo.toml rename to crates/http/Cargo.toml diff --git a/aquatic_http/src/common.rs b/crates/http/src/common.rs similarity index 100% rename from aquatic_http/src/common.rs rename to crates/http/src/common.rs diff --git a/aquatic_http/src/config.rs b/crates/http/src/config.rs similarity index 100% rename from aquatic_http/src/config.rs rename to crates/http/src/config.rs diff --git a/aquatic_http/src/lib.rs b/crates/http/src/lib.rs similarity index 100% rename from aquatic_http/src/lib.rs rename to crates/http/src/lib.rs diff --git a/aquatic_http/src/main.rs b/crates/http/src/main.rs similarity index 100% rename from aquatic_http/src/main.rs rename to crates/http/src/main.rs diff --git a/aquatic_http/src/workers/mod.rs b/crates/http/src/workers/mod.rs similarity index 100% rename from aquatic_http/src/workers/mod.rs rename to crates/http/src/workers/mod.rs diff --git a/aquatic_http/src/workers/socket.rs b/crates/http/src/workers/socket.rs similarity index 100% rename from aquatic_http/src/workers/socket.rs rename to crates/http/src/workers/socket.rs diff --git a/aquatic_http/src/workers/swarm.rs b/crates/http/src/workers/swarm.rs similarity index 100% rename from aquatic_http/src/workers/swarm.rs rename to crates/http/src/workers/swarm.rs diff --git a/aquatic_http_load_test/Cargo.toml b/crates/http_load_test/Cargo.toml similarity index 100% rename from aquatic_http_load_test/Cargo.toml rename to crates/http_load_test/Cargo.toml diff --git a/aquatic_http_load_test/src/common.rs b/crates/http_load_test/src/common.rs similarity index 100% rename from aquatic_http_load_test/src/common.rs rename to crates/http_load_test/src/common.rs diff --git a/aquatic_http_load_test/src/config.rs b/crates/http_load_test/src/config.rs similarity index 100% rename from aquatic_http_load_test/src/config.rs rename to crates/http_load_test/src/config.rs diff --git a/aquatic_http_load_test/src/main.rs b/crates/http_load_test/src/main.rs similarity index 100% rename from aquatic_http_load_test/src/main.rs rename to crates/http_load_test/src/main.rs diff --git a/aquatic_http_load_test/src/network.rs b/crates/http_load_test/src/network.rs similarity index 100% rename from aquatic_http_load_test/src/network.rs rename to crates/http_load_test/src/network.rs diff --git a/aquatic_http_load_test/src/utils.rs b/crates/http_load_test/src/utils.rs similarity index 100% rename from aquatic_http_load_test/src/utils.rs rename to crates/http_load_test/src/utils.rs diff --git a/aquatic_http_protocol/Cargo.toml b/crates/http_protocol/Cargo.toml similarity index 100% rename from aquatic_http_protocol/Cargo.toml rename to crates/http_protocol/Cargo.toml diff --git a/aquatic_http_protocol/benches/bench_announce_response_to_bytes.rs b/crates/http_protocol/benches/bench_announce_response_to_bytes.rs similarity index 100% rename from aquatic_http_protocol/benches/bench_announce_response_to_bytes.rs rename to crates/http_protocol/benches/bench_announce_response_to_bytes.rs diff --git a/aquatic_http_protocol/benches/bench_request_from_bytes.rs b/crates/http_protocol/benches/bench_request_from_bytes.rs similarity index 100% rename from aquatic_http_protocol/benches/bench_request_from_bytes.rs rename to crates/http_protocol/benches/bench_request_from_bytes.rs diff --git a/aquatic_http_protocol/src/common.rs b/crates/http_protocol/src/common.rs similarity index 100% rename from aquatic_http_protocol/src/common.rs rename to crates/http_protocol/src/common.rs diff --git a/aquatic_http_protocol/src/lib.rs b/crates/http_protocol/src/lib.rs similarity index 100% rename from aquatic_http_protocol/src/lib.rs rename to crates/http_protocol/src/lib.rs diff --git a/aquatic_http_protocol/src/request.rs b/crates/http_protocol/src/request.rs similarity index 100% rename from aquatic_http_protocol/src/request.rs rename to crates/http_protocol/src/request.rs diff --git a/aquatic_http_protocol/src/response.rs b/crates/http_protocol/src/response.rs similarity index 100% rename from aquatic_http_protocol/src/response.rs rename to crates/http_protocol/src/response.rs diff --git a/aquatic_http_protocol/src/utils.rs b/crates/http_protocol/src/utils.rs similarity index 100% rename from aquatic_http_protocol/src/utils.rs rename to crates/http_protocol/src/utils.rs diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/benchmark.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/benchmark.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/benchmark.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/benchmark.json diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/estimates.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/estimates.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/estimates.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/estimates.json diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/raw.csv b/crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/raw.csv similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/raw.csv rename to crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/raw.csv diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/sample.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/sample.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/sample.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/sample.json diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/tukey.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/tukey.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/bendy/tukey.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/bendy/tukey.json diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/benchmark.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/latest/benchmark.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/benchmark.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/latest/benchmark.json diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/estimates.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/latest/estimates.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/estimates.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/latest/estimates.json diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/raw.csv b/crates/http_protocol/target/criterion/announce-response-to-bytes/latest/raw.csv similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/raw.csv rename to crates/http_protocol/target/criterion/announce-response-to-bytes/latest/raw.csv diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/sample.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/latest/sample.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/sample.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/latest/sample.json diff --git a/aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/tukey.json b/crates/http_protocol/target/criterion/announce-response-to-bytes/latest/tukey.json similarity index 100% rename from aquatic_http_protocol/target/criterion/announce-response-to-bytes/latest/tukey.json rename to crates/http_protocol/target/criterion/announce-response-to-bytes/latest/tukey.json diff --git a/aquatic_http_protocol/target/criterion/request-from-bytes/latest/benchmark.json b/crates/http_protocol/target/criterion/request-from-bytes/latest/benchmark.json similarity index 100% rename from aquatic_http_protocol/target/criterion/request-from-bytes/latest/benchmark.json rename to crates/http_protocol/target/criterion/request-from-bytes/latest/benchmark.json diff --git a/aquatic_http_protocol/target/criterion/request-from-bytes/latest/estimates.json b/crates/http_protocol/target/criterion/request-from-bytes/latest/estimates.json similarity index 100% rename from aquatic_http_protocol/target/criterion/request-from-bytes/latest/estimates.json rename to crates/http_protocol/target/criterion/request-from-bytes/latest/estimates.json diff --git a/aquatic_http_protocol/target/criterion/request-from-bytes/latest/raw.csv b/crates/http_protocol/target/criterion/request-from-bytes/latest/raw.csv similarity index 100% rename from aquatic_http_protocol/target/criterion/request-from-bytes/latest/raw.csv rename to crates/http_protocol/target/criterion/request-from-bytes/latest/raw.csv diff --git a/aquatic_http_protocol/target/criterion/request-from-bytes/latest/sample.json b/crates/http_protocol/target/criterion/request-from-bytes/latest/sample.json similarity index 100% rename from aquatic_http_protocol/target/criterion/request-from-bytes/latest/sample.json rename to crates/http_protocol/target/criterion/request-from-bytes/latest/sample.json diff --git a/aquatic_http_protocol/target/criterion/request-from-bytes/latest/tukey.json b/crates/http_protocol/target/criterion/request-from-bytes/latest/tukey.json similarity index 100% rename from aquatic_http_protocol/target/criterion/request-from-bytes/latest/tukey.json rename to crates/http_protocol/target/criterion/request-from-bytes/latest/tukey.json diff --git a/aquatic_peer_id/Cargo.toml b/crates/peer_id/Cargo.toml similarity index 100% rename from aquatic_peer_id/Cargo.toml rename to crates/peer_id/Cargo.toml diff --git a/aquatic_peer_id/src/lib.rs b/crates/peer_id/src/lib.rs similarity index 100% rename from aquatic_peer_id/src/lib.rs rename to crates/peer_id/src/lib.rs diff --git a/aquatic_toml_config/Cargo.toml b/crates/toml_config/Cargo.toml similarity index 100% rename from aquatic_toml_config/Cargo.toml rename to crates/toml_config/Cargo.toml diff --git a/aquatic_toml_config/src/lib.rs b/crates/toml_config/src/lib.rs similarity index 100% rename from aquatic_toml_config/src/lib.rs rename to crates/toml_config/src/lib.rs diff --git a/aquatic_toml_config/tests/test.rs b/crates/toml_config/tests/test.rs similarity index 100% rename from aquatic_toml_config/tests/test.rs rename to crates/toml_config/tests/test.rs diff --git a/aquatic_toml_config_derive/Cargo.toml b/crates/toml_config_derive/Cargo.toml similarity index 100% rename from aquatic_toml_config_derive/Cargo.toml rename to crates/toml_config_derive/Cargo.toml diff --git a/aquatic_toml_config_derive/src/lib.rs b/crates/toml_config_derive/src/lib.rs similarity index 100% rename from aquatic_toml_config_derive/src/lib.rs rename to crates/toml_config_derive/src/lib.rs diff --git a/aquatic_udp/Cargo.toml b/crates/udp/Cargo.toml similarity index 100% rename from aquatic_udp/Cargo.toml rename to crates/udp/Cargo.toml diff --git a/aquatic_udp/src/common.rs b/crates/udp/src/common.rs similarity index 100% rename from aquatic_udp/src/common.rs rename to crates/udp/src/common.rs diff --git a/aquatic_udp/src/config.rs b/crates/udp/src/config.rs similarity index 100% rename from aquatic_udp/src/config.rs rename to crates/udp/src/config.rs diff --git a/aquatic_udp/src/lib.rs b/crates/udp/src/lib.rs similarity index 100% rename from aquatic_udp/src/lib.rs rename to crates/udp/src/lib.rs diff --git a/aquatic_udp/src/main.rs b/crates/udp/src/main.rs similarity index 100% rename from aquatic_udp/src/main.rs rename to crates/udp/src/main.rs diff --git a/aquatic_udp/src/workers/mod.rs b/crates/udp/src/workers/mod.rs similarity index 100% rename from aquatic_udp/src/workers/mod.rs rename to crates/udp/src/workers/mod.rs diff --git a/aquatic_udp/src/workers/socket/mio.rs b/crates/udp/src/workers/socket/mio.rs similarity index 100% rename from aquatic_udp/src/workers/socket/mio.rs rename to crates/udp/src/workers/socket/mio.rs diff --git a/aquatic_udp/src/workers/socket/mod.rs b/crates/udp/src/workers/socket/mod.rs similarity index 100% rename from aquatic_udp/src/workers/socket/mod.rs rename to crates/udp/src/workers/socket/mod.rs diff --git a/aquatic_udp/src/workers/socket/storage.rs b/crates/udp/src/workers/socket/storage.rs similarity index 100% rename from aquatic_udp/src/workers/socket/storage.rs rename to crates/udp/src/workers/socket/storage.rs diff --git a/aquatic_udp/src/workers/socket/uring/buf_ring.rs b/crates/udp/src/workers/socket/uring/buf_ring.rs similarity index 100% rename from aquatic_udp/src/workers/socket/uring/buf_ring.rs rename to crates/udp/src/workers/socket/uring/buf_ring.rs diff --git a/aquatic_udp/src/workers/socket/uring/mod.rs b/crates/udp/src/workers/socket/uring/mod.rs similarity index 100% rename from aquatic_udp/src/workers/socket/uring/mod.rs rename to crates/udp/src/workers/socket/uring/mod.rs diff --git a/aquatic_udp/src/workers/socket/uring/recv_helper.rs b/crates/udp/src/workers/socket/uring/recv_helper.rs similarity index 100% rename from aquatic_udp/src/workers/socket/uring/recv_helper.rs rename to crates/udp/src/workers/socket/uring/recv_helper.rs diff --git a/aquatic_udp/src/workers/socket/uring/send_buffers.rs b/crates/udp/src/workers/socket/uring/send_buffers.rs similarity index 100% rename from aquatic_udp/src/workers/socket/uring/send_buffers.rs rename to crates/udp/src/workers/socket/uring/send_buffers.rs diff --git a/aquatic_udp/src/workers/socket/validator.rs b/crates/udp/src/workers/socket/validator.rs similarity index 100% rename from aquatic_udp/src/workers/socket/validator.rs rename to crates/udp/src/workers/socket/validator.rs diff --git a/aquatic_udp/src/workers/statistics/collector.rs b/crates/udp/src/workers/statistics/collector.rs similarity index 100% rename from aquatic_udp/src/workers/statistics/collector.rs rename to crates/udp/src/workers/statistics/collector.rs diff --git a/aquatic_udp/src/workers/statistics/mod.rs b/crates/udp/src/workers/statistics/mod.rs similarity index 100% rename from aquatic_udp/src/workers/statistics/mod.rs rename to crates/udp/src/workers/statistics/mod.rs diff --git a/aquatic_udp/src/workers/swarm/mod.rs b/crates/udp/src/workers/swarm/mod.rs similarity index 100% rename from aquatic_udp/src/workers/swarm/mod.rs rename to crates/udp/src/workers/swarm/mod.rs diff --git a/aquatic_udp/src/workers/swarm/storage.rs b/crates/udp/src/workers/swarm/storage.rs similarity index 100% rename from aquatic_udp/src/workers/swarm/storage.rs rename to crates/udp/src/workers/swarm/storage.rs diff --git a/aquatic_udp/templates/statistics.css b/crates/udp/templates/statistics.css similarity index 100% rename from aquatic_udp/templates/statistics.css rename to crates/udp/templates/statistics.css diff --git a/aquatic_udp/templates/statistics.html b/crates/udp/templates/statistics.html similarity index 100% rename from aquatic_udp/templates/statistics.html rename to crates/udp/templates/statistics.html diff --git a/aquatic_udp/tests/access_list.rs b/crates/udp/tests/access_list.rs similarity index 100% rename from aquatic_udp/tests/access_list.rs rename to crates/udp/tests/access_list.rs diff --git a/aquatic_udp/tests/common/mod.rs b/crates/udp/tests/common/mod.rs similarity index 100% rename from aquatic_udp/tests/common/mod.rs rename to crates/udp/tests/common/mod.rs diff --git a/aquatic_udp/tests/invalid_connection_id.rs b/crates/udp/tests/invalid_connection_id.rs similarity index 100% rename from aquatic_udp/tests/invalid_connection_id.rs rename to crates/udp/tests/invalid_connection_id.rs diff --git a/aquatic_udp/tests/requests_responses.rs b/crates/udp/tests/requests_responses.rs similarity index 100% rename from aquatic_udp/tests/requests_responses.rs rename to crates/udp/tests/requests_responses.rs diff --git a/aquatic_udp_bench/Cargo.toml b/crates/udp_bench/Cargo.toml similarity index 100% rename from aquatic_udp_bench/Cargo.toml rename to crates/udp_bench/Cargo.toml diff --git a/aquatic_udp_bench/src/announce.rs b/crates/udp_bench/src/announce.rs similarity index 100% rename from aquatic_udp_bench/src/announce.rs rename to crates/udp_bench/src/announce.rs diff --git a/aquatic_udp_bench/src/common.rs b/crates/udp_bench/src/common.rs similarity index 100% rename from aquatic_udp_bench/src/common.rs rename to crates/udp_bench/src/common.rs diff --git a/aquatic_udp_bench/src/config.rs b/crates/udp_bench/src/config.rs similarity index 100% rename from aquatic_udp_bench/src/config.rs rename to crates/udp_bench/src/config.rs diff --git a/aquatic_udp_bench/src/main.rs b/crates/udp_bench/src/main.rs similarity index 100% rename from aquatic_udp_bench/src/main.rs rename to crates/udp_bench/src/main.rs diff --git a/aquatic_udp_bench/src/scrape.rs b/crates/udp_bench/src/scrape.rs similarity index 100% rename from aquatic_udp_bench/src/scrape.rs rename to crates/udp_bench/src/scrape.rs diff --git a/aquatic_udp_load_test/Cargo.toml b/crates/udp_load_test/Cargo.toml similarity index 100% rename from aquatic_udp_load_test/Cargo.toml rename to crates/udp_load_test/Cargo.toml diff --git a/aquatic_udp_load_test/src/common.rs b/crates/udp_load_test/src/common.rs similarity index 100% rename from aquatic_udp_load_test/src/common.rs rename to crates/udp_load_test/src/common.rs diff --git a/aquatic_udp_load_test/src/config.rs b/crates/udp_load_test/src/config.rs similarity index 100% rename from aquatic_udp_load_test/src/config.rs rename to crates/udp_load_test/src/config.rs diff --git a/aquatic_udp_load_test/src/main.rs b/crates/udp_load_test/src/main.rs similarity index 100% rename from aquatic_udp_load_test/src/main.rs rename to crates/udp_load_test/src/main.rs diff --git a/aquatic_udp_load_test/src/utils.rs b/crates/udp_load_test/src/utils.rs similarity index 100% rename from aquatic_udp_load_test/src/utils.rs rename to crates/udp_load_test/src/utils.rs diff --git a/aquatic_udp_load_test/src/worker/mod.rs b/crates/udp_load_test/src/worker/mod.rs similarity index 100% rename from aquatic_udp_load_test/src/worker/mod.rs rename to crates/udp_load_test/src/worker/mod.rs diff --git a/aquatic_udp_load_test/src/worker/request_gen.rs b/crates/udp_load_test/src/worker/request_gen.rs similarity index 100% rename from aquatic_udp_load_test/src/worker/request_gen.rs rename to crates/udp_load_test/src/worker/request_gen.rs diff --git a/aquatic_udp_protocol/Cargo.toml b/crates/udp_protocol/Cargo.toml similarity index 100% rename from aquatic_udp_protocol/Cargo.toml rename to crates/udp_protocol/Cargo.toml diff --git a/aquatic_udp_protocol/src/common.rs b/crates/udp_protocol/src/common.rs similarity index 100% rename from aquatic_udp_protocol/src/common.rs rename to crates/udp_protocol/src/common.rs diff --git a/aquatic_udp_protocol/src/lib.rs b/crates/udp_protocol/src/lib.rs similarity index 100% rename from aquatic_udp_protocol/src/lib.rs rename to crates/udp_protocol/src/lib.rs diff --git a/aquatic_udp_protocol/src/request.rs b/crates/udp_protocol/src/request.rs similarity index 100% rename from aquatic_udp_protocol/src/request.rs rename to crates/udp_protocol/src/request.rs diff --git a/aquatic_udp_protocol/src/response.rs b/crates/udp_protocol/src/response.rs similarity index 100% rename from aquatic_udp_protocol/src/response.rs rename to crates/udp_protocol/src/response.rs diff --git a/aquatic_ws/Cargo.toml b/crates/ws/Cargo.toml similarity index 98% rename from aquatic_ws/Cargo.toml rename to crates/ws/Cargo.toml index 3f899d4..d3e2f01 100644 --- a/aquatic_ws/Cargo.toml +++ b/crates/ws/Cargo.toml @@ -8,7 +8,7 @@ edition.workspace = true license.workspace = true repository.workspace = true readme.workspace = true -rust-version.workspace = true +rust-version = "1.70" [lib] name = "aquatic_ws" diff --git a/aquatic_ws/src/common.rs b/crates/ws/src/common.rs similarity index 100% rename from aquatic_ws/src/common.rs rename to crates/ws/src/common.rs diff --git a/aquatic_ws/src/config.rs b/crates/ws/src/config.rs similarity index 100% rename from aquatic_ws/src/config.rs rename to crates/ws/src/config.rs diff --git a/aquatic_ws/src/lib.rs b/crates/ws/src/lib.rs similarity index 100% rename from aquatic_ws/src/lib.rs rename to crates/ws/src/lib.rs diff --git a/aquatic_ws/src/main.rs b/crates/ws/src/main.rs similarity index 100% rename from aquatic_ws/src/main.rs rename to crates/ws/src/main.rs diff --git a/aquatic_ws/src/workers/mod.rs b/crates/ws/src/workers/mod.rs similarity index 100% rename from aquatic_ws/src/workers/mod.rs rename to crates/ws/src/workers/mod.rs diff --git a/aquatic_ws/src/workers/socket.rs b/crates/ws/src/workers/socket.rs similarity index 100% rename from aquatic_ws/src/workers/socket.rs rename to crates/ws/src/workers/socket.rs diff --git a/aquatic_ws/src/workers/swarm.rs b/crates/ws/src/workers/swarm.rs similarity index 100% rename from aquatic_ws/src/workers/swarm.rs rename to crates/ws/src/workers/swarm.rs diff --git a/aquatic_ws_load_test/Cargo.toml b/crates/ws_load_test/Cargo.toml similarity index 100% rename from aquatic_ws_load_test/Cargo.toml rename to crates/ws_load_test/Cargo.toml diff --git a/aquatic_ws_load_test/src/common.rs b/crates/ws_load_test/src/common.rs similarity index 100% rename from aquatic_ws_load_test/src/common.rs rename to crates/ws_load_test/src/common.rs diff --git a/aquatic_ws_load_test/src/config.rs b/crates/ws_load_test/src/config.rs similarity index 100% rename from aquatic_ws_load_test/src/config.rs rename to crates/ws_load_test/src/config.rs diff --git a/aquatic_ws_load_test/src/main.rs b/crates/ws_load_test/src/main.rs similarity index 100% rename from aquatic_ws_load_test/src/main.rs rename to crates/ws_load_test/src/main.rs diff --git a/aquatic_ws_load_test/src/network.rs b/crates/ws_load_test/src/network.rs similarity index 100% rename from aquatic_ws_load_test/src/network.rs rename to crates/ws_load_test/src/network.rs diff --git a/aquatic_ws_load_test/src/utils.rs b/crates/ws_load_test/src/utils.rs similarity index 100% rename from aquatic_ws_load_test/src/utils.rs rename to crates/ws_load_test/src/utils.rs diff --git a/aquatic_ws_protocol/Cargo.toml b/crates/ws_protocol/Cargo.toml similarity index 100% rename from aquatic_ws_protocol/Cargo.toml rename to crates/ws_protocol/Cargo.toml diff --git a/aquatic_ws_protocol/benches/bench_deserialize_announce_request.rs b/crates/ws_protocol/benches/bench_deserialize_announce_request.rs similarity index 100% rename from aquatic_ws_protocol/benches/bench_deserialize_announce_request.rs rename to crates/ws_protocol/benches/bench_deserialize_announce_request.rs diff --git a/aquatic_ws_protocol/src/common.rs b/crates/ws_protocol/src/common.rs similarity index 100% rename from aquatic_ws_protocol/src/common.rs rename to crates/ws_protocol/src/common.rs diff --git a/aquatic_ws_protocol/src/lib.rs b/crates/ws_protocol/src/lib.rs similarity index 100% rename from aquatic_ws_protocol/src/lib.rs rename to crates/ws_protocol/src/lib.rs diff --git a/aquatic_ws_protocol/src/request/announce.rs b/crates/ws_protocol/src/request/announce.rs similarity index 100% rename from aquatic_ws_protocol/src/request/announce.rs rename to crates/ws_protocol/src/request/announce.rs diff --git a/aquatic_ws_protocol/src/request/mod.rs b/crates/ws_protocol/src/request/mod.rs similarity index 100% rename from aquatic_ws_protocol/src/request/mod.rs rename to crates/ws_protocol/src/request/mod.rs diff --git a/aquatic_ws_protocol/src/request/scrape.rs b/crates/ws_protocol/src/request/scrape.rs similarity index 100% rename from aquatic_ws_protocol/src/request/scrape.rs rename to crates/ws_protocol/src/request/scrape.rs diff --git a/aquatic_ws_protocol/src/response/announce.rs b/crates/ws_protocol/src/response/announce.rs similarity index 100% rename from aquatic_ws_protocol/src/response/announce.rs rename to crates/ws_protocol/src/response/announce.rs diff --git a/aquatic_ws_protocol/src/response/answer.rs b/crates/ws_protocol/src/response/answer.rs similarity index 100% rename from aquatic_ws_protocol/src/response/answer.rs rename to crates/ws_protocol/src/response/answer.rs diff --git a/aquatic_ws_protocol/src/response/error.rs b/crates/ws_protocol/src/response/error.rs similarity index 100% rename from aquatic_ws_protocol/src/response/error.rs rename to crates/ws_protocol/src/response/error.rs diff --git a/aquatic_ws_protocol/src/response/mod.rs b/crates/ws_protocol/src/response/mod.rs similarity index 100% rename from aquatic_ws_protocol/src/response/mod.rs rename to crates/ws_protocol/src/response/mod.rs diff --git a/aquatic_ws_protocol/src/response/offer.rs b/crates/ws_protocol/src/response/offer.rs similarity index 100% rename from aquatic_ws_protocol/src/response/offer.rs rename to crates/ws_protocol/src/response/offer.rs diff --git a/aquatic_ws_protocol/src/response/scrape.rs b/crates/ws_protocol/src/response/scrape.rs similarity index 100% rename from aquatic_ws_protocol/src/response/scrape.rs rename to crates/ws_protocol/src/response/scrape.rs diff --git a/aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/benchmark.json b/crates/ws_protocol/target/criterion/deserialize-announce-request/latest/benchmark.json similarity index 100% rename from aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/benchmark.json rename to crates/ws_protocol/target/criterion/deserialize-announce-request/latest/benchmark.json diff --git a/aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/estimates.json b/crates/ws_protocol/target/criterion/deserialize-announce-request/latest/estimates.json similarity index 100% rename from aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/estimates.json rename to crates/ws_protocol/target/criterion/deserialize-announce-request/latest/estimates.json diff --git a/aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/raw.csv b/crates/ws_protocol/target/criterion/deserialize-announce-request/latest/raw.csv similarity index 100% rename from aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/raw.csv rename to crates/ws_protocol/target/criterion/deserialize-announce-request/latest/raw.csv diff --git a/aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/sample.json b/crates/ws_protocol/target/criterion/deserialize-announce-request/latest/sample.json similarity index 100% rename from aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/sample.json rename to crates/ws_protocol/target/criterion/deserialize-announce-request/latest/sample.json diff --git a/aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/tukey.json b/crates/ws_protocol/target/criterion/deserialize-announce-request/latest/tukey.json similarity index 100% rename from aquatic_ws_protocol/target/criterion/deserialize-announce-request/latest/tukey.json rename to crates/ws_protocol/target/criterion/deserialize-announce-request/latest/tukey.json