From 62a5e12c9aa37543c4319f66acf9f3c1d3282b65 Mon Sep 17 00:00:00 2001 From: yngrtc Date: Sat, 2 Mar 2024 13:12:50 -0800 Subject: [PATCH] bump rtc-dtls to v0.1.0 --- Cargo.toml | 2 +- {dtls => rtc-dtls}/.gitignore | 0 {dtls => rtc-dtls}/CHANGELOG.md | 0 {dtls => rtc-dtls}/Cargo.toml | 25 ++++++++++-------- {dtls => rtc-dtls}/LICENSE-APACHE | 0 {dtls => rtc-dtls}/LICENSE-MIT | 0 {dtls => rtc-dtls}/README.md | 0 {dtls => rtc-dtls}/codecov.yml | 0 {dtls => rtc-dtls}/doc/webrtc.rs.png | Bin .../examples_wip/certificates/README.md | 0 .../examples_wip/certificates/client.csr | 0 .../examples_wip/certificates/client.pem | 0 .../certificates/client.pem.private_key.pem | 0 .../examples_wip/certificates/client.pub.pem | 0 .../examples_wip/certificates/extfile.conf | 0 .../examples_wip/certificates/server.csr | 0 .../examples_wip/certificates/server.pem | 0 .../certificates/server.pem.private_key.pem | 0 .../examples_wip/certificates/server.pub.pem | 0 .../examples_wip/dial/psk/dial_psk.rs | 0 .../dial/selfsign/dial_selfsign.rs | 0 .../examples_wip/dial/verify/dial_verify.rs | 0 .../examples_wip/dtls_chat_server.rs | 0 .../examples_wip/dtls_client.rs | 0 .../examples_wip/dtls_client_selfsign.rs | 0 .../examples_wip/dtls_echo_server.rs | 0 .../examples_wip/hub/Cargo.toml | 0 .../examples_wip/hub/src/lib.rs | 0 .../examples_wip/hub/src/utilities.rs | 0 .../examples_wip/listen/psk/listen_psk.rs | 0 .../listen/selfsign/listen_selfsign.rs | 0 .../listen/verify/listen_verify.rs | 0 {dtls => rtc-dtls}/src/alert/alert_test.rs | 0 {dtls => rtc-dtls}/src/alert/mod.rs | 0 {dtls => rtc-dtls}/src/application_data.rs | 0 .../change_cipher_spec_test.rs | 0 .../src/change_cipher_spec/mod.rs | 0 .../cipher_suite/cipher_suite_aes_128_ccm.rs | 0 .../cipher_suite_aes_128_gcm_sha256.rs | 0 .../cipher_suite_aes_256_cbc_sha.rs | 0 ..._suite_tls_ecdhe_ecdsa_with_aes_128_ccm.rs | 0 ...suite_tls_ecdhe_ecdsa_with_aes_128_ccm8.rs | 0 .../cipher_suite_tls_psk_with_aes_128_ccm.rs | 0 .../cipher_suite_tls_psk_with_aes_128_ccm8.rs | 0 ...r_suite_tls_psk_with_aes_128_gcm_sha256.rs | 0 {dtls => rtc-dtls}/src/cipher_suite/mod.rs | 0 .../src/client_certificate_type.rs | 0 {dtls => rtc-dtls}/src/compression_methods.rs | 0 {dtls => rtc-dtls}/src/config.rs | 0 {dtls => rtc-dtls}/src/conn/conn_test.rs | 0 {dtls => rtc-dtls}/src/conn/mod.rs | 0 {dtls => rtc-dtls}/src/content.rs | 0 {dtls => rtc-dtls}/src/crypto/crypto_cbc.rs | 0 {dtls => rtc-dtls}/src/crypto/crypto_ccm.rs | 0 {dtls => rtc-dtls}/src/crypto/crypto_gcm.rs | 0 {dtls => rtc-dtls}/src/crypto/crypto_test.rs | 0 {dtls => rtc-dtls}/src/crypto/mod.rs | 0 {dtls => rtc-dtls}/src/curve/mod.rs | 0 {dtls => rtc-dtls}/src/curve/named_curve.rs | 0 {dtls => rtc-dtls}/src/endpoint.rs | 0 .../src/extension/extension_server_name.rs | 0 .../extension_server_name_test.rs | 0 .../extension_supported_elliptic_curves.rs | 0 ...xtension_supported_elliptic_curves_test.rs | 0 .../extension_supported_point_formats.rs | 0 .../extension_supported_point_formats_test.rs | 0 ...xtension_supported_signature_algorithms.rs | 0 ...ion_supported_signature_algorithms_test.rs | 0 .../extension_use_extended_master_secret.rs | 0 ...tension_use_extended_master_secret_test.rs | 0 .../src/extension/extension_use_srtp.rs | 0 .../extension_use_srtp_test.rs | 0 {dtls => rtc-dtls}/src/extension/mod.rs | 0 .../src/extension/renegotiation_info.rs | 0 .../renegotiation_info_test.rs | 0 {dtls => rtc-dtls}/src/flight/flight0.rs | 0 {dtls => rtc-dtls}/src/flight/flight1.rs | 0 {dtls => rtc-dtls}/src/flight/flight2.rs | 0 {dtls => rtc-dtls}/src/flight/flight3.rs | 0 {dtls => rtc-dtls}/src/flight/flight4.rs | 0 {dtls => rtc-dtls}/src/flight/flight5.rs | 0 {dtls => rtc-dtls}/src/flight/flight6.rs | 0 {dtls => rtc-dtls}/src/flight/mod.rs | 0 .../fragment_buffer/fragment_buffer_test.rs | 0 {dtls => rtc-dtls}/src/fragment_buffer/mod.rs | 0 .../src/handshake/handshake_cache.rs | 0 .../handshake_cache/handshake_cache_test.rs | 0 .../src/handshake/handshake_header.rs | 0 .../handshake_message_certificate.rs | 0 .../handshake_message_certificate_test.rs | 0 .../handshake_message_certificate_request.rs | 0 ...dshake_message_certificate_request_test.rs | 0 .../handshake_message_certificate_verify.rs | 0 ...ndshake_message_certificate_verify_test.rs | 0 .../handshake_message_client_hello.rs | 0 .../handshake_message_client_hello_test.rs | 0 .../handshake_message_client_key_exchange.rs | 0 ...dshake_message_client_key_exchange_test.rs | 0 .../handshake/handshake_message_finished.rs | 0 .../handshake_message_finished_test.rs | 0 .../handshake_message_hello_verify_request.rs | 0 ...shake_message_hello_verify_request_test.rs | 0 .../handshake_message_server_hello.rs | 0 .../handshake_message_server_hello_test.rs | 0 .../handshake_message_server_hello_done.rs | 0 ...andshake_message_server_hello_done_test.rs | 0 .../handshake_message_server_key_exchange.rs | 0 ...dshake_message_server_key_exchange_test.rs | 0 .../src/handshake/handshake_random.rs | 0 .../src/handshake/handshake_test.rs | 0 {dtls => rtc-dtls}/src/handshake/mod.rs | 0 {dtls => rtc-dtls}/src/handshaker.rs | 0 {dtls => rtc-dtls}/src/lib.rs | 0 {dtls => rtc-dtls}/src/prf/mod.rs | 0 {dtls => rtc-dtls}/src/prf/prf_test.rs | 0 {dtls => rtc-dtls}/src/record_layer/mod.rs | 0 .../src/record_layer/record_layer_header.rs | 0 .../src/record_layer/record_layer_test.rs | 0 .../src/signature_hash_algorithm/mod.rs | 0 .../signature_hash_algorithm_test.rs | 0 {dtls => rtc-dtls}/src/state.rs | 0 rtc-stun/Cargo.toml | 2 +- 122 files changed, 16 insertions(+), 13 deletions(-) rename {dtls => rtc-dtls}/.gitignore (100%) rename {dtls => rtc-dtls}/CHANGELOG.md (100%) rename {dtls => rtc-dtls}/Cargo.toml (79%) rename {dtls => rtc-dtls}/LICENSE-APACHE (100%) rename {dtls => rtc-dtls}/LICENSE-MIT (100%) rename {dtls => rtc-dtls}/README.md (100%) rename {dtls => rtc-dtls}/codecov.yml (100%) rename {dtls => rtc-dtls}/doc/webrtc.rs.png (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/README.md (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/client.csr (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/client.pem (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/client.pem.private_key.pem (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/client.pub.pem (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/extfile.conf (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/server.csr (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/server.pem (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/server.pem.private_key.pem (100%) rename {dtls => rtc-dtls}/examples_wip/certificates/server.pub.pem (100%) rename {dtls => rtc-dtls}/examples_wip/dial/psk/dial_psk.rs (100%) rename {dtls => rtc-dtls}/examples_wip/dial/selfsign/dial_selfsign.rs (100%) rename {dtls => rtc-dtls}/examples_wip/dial/verify/dial_verify.rs (100%) rename {dtls => rtc-dtls}/examples_wip/dtls_chat_server.rs (100%) rename {dtls => rtc-dtls}/examples_wip/dtls_client.rs (100%) rename {dtls => rtc-dtls}/examples_wip/dtls_client_selfsign.rs (100%) rename {dtls => rtc-dtls}/examples_wip/dtls_echo_server.rs (100%) rename {dtls => rtc-dtls}/examples_wip/hub/Cargo.toml (100%) rename {dtls => rtc-dtls}/examples_wip/hub/src/lib.rs (100%) rename {dtls => rtc-dtls}/examples_wip/hub/src/utilities.rs (100%) rename {dtls => rtc-dtls}/examples_wip/listen/psk/listen_psk.rs (100%) rename {dtls => rtc-dtls}/examples_wip/listen/selfsign/listen_selfsign.rs (100%) rename {dtls => rtc-dtls}/examples_wip/listen/verify/listen_verify.rs (100%) rename {dtls => rtc-dtls}/src/alert/alert_test.rs (100%) rename {dtls => rtc-dtls}/src/alert/mod.rs (100%) rename {dtls => rtc-dtls}/src/application_data.rs (100%) rename {dtls => rtc-dtls}/src/change_cipher_spec/change_cipher_spec_test.rs (100%) rename {dtls => rtc-dtls}/src/change_cipher_spec/mod.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_aes_128_ccm.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_aes_128_gcm_sha256.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_aes_256_cbc_sha.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm8.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm8.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_gcm_sha256.rs (100%) rename {dtls => rtc-dtls}/src/cipher_suite/mod.rs (100%) rename {dtls => rtc-dtls}/src/client_certificate_type.rs (100%) rename {dtls => rtc-dtls}/src/compression_methods.rs (100%) rename {dtls => rtc-dtls}/src/config.rs (100%) rename {dtls => rtc-dtls}/src/conn/conn_test.rs (100%) rename {dtls => rtc-dtls}/src/conn/mod.rs (100%) rename {dtls => rtc-dtls}/src/content.rs (100%) rename {dtls => rtc-dtls}/src/crypto/crypto_cbc.rs (100%) rename {dtls => rtc-dtls}/src/crypto/crypto_ccm.rs (100%) rename {dtls => rtc-dtls}/src/crypto/crypto_gcm.rs (100%) rename {dtls => rtc-dtls}/src/crypto/crypto_test.rs (100%) rename {dtls => rtc-dtls}/src/crypto/mod.rs (100%) rename {dtls => rtc-dtls}/src/curve/mod.rs (100%) rename {dtls => rtc-dtls}/src/curve/named_curve.rs (100%) rename {dtls => rtc-dtls}/src/endpoint.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_server_name.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_server_name/extension_server_name_test.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_supported_elliptic_curves.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_supported_elliptic_curves/extension_supported_elliptic_curves_test.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_supported_point_formats.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_supported_point_formats/extension_supported_point_formats_test.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_supported_signature_algorithms.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_supported_signature_algorithms/extension_supported_signature_algorithms_test.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_use_extended_master_secret.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_use_extended_master_secret/extension_use_extended_master_secret_test.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_use_srtp.rs (100%) rename {dtls => rtc-dtls}/src/extension/extension_use_srtp/extension_use_srtp_test.rs (100%) rename {dtls => rtc-dtls}/src/extension/mod.rs (100%) rename {dtls => rtc-dtls}/src/extension/renegotiation_info.rs (100%) rename {dtls => rtc-dtls}/src/extension/renegotiation_info/renegotiation_info_test.rs (100%) rename {dtls => rtc-dtls}/src/flight/flight0.rs (100%) rename {dtls => rtc-dtls}/src/flight/flight1.rs (100%) rename {dtls => rtc-dtls}/src/flight/flight2.rs (100%) rename {dtls => rtc-dtls}/src/flight/flight3.rs (100%) rename {dtls => rtc-dtls}/src/flight/flight4.rs (100%) rename {dtls => rtc-dtls}/src/flight/flight5.rs (100%) rename {dtls => rtc-dtls}/src/flight/flight6.rs (100%) rename {dtls => rtc-dtls}/src/flight/mod.rs (100%) rename {dtls => rtc-dtls}/src/fragment_buffer/fragment_buffer_test.rs (100%) rename {dtls => rtc-dtls}/src/fragment_buffer/mod.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_cache.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_cache/handshake_cache_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_header.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_certificate.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_certificate/handshake_message_certificate_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_certificate_request.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_certificate_request/handshake_message_certificate_request_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_certificate_verify.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_certificate_verify/handshake_message_certificate_verify_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_client_hello.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_client_hello/handshake_message_client_hello_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_client_key_exchange.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_client_key_exchange/handshake_message_client_key_exchange_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_finished.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_finished/handshake_message_finished_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_hello_verify_request.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_hello_verify_request/handshake_message_hello_verify_request_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_server_hello.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_server_hello/handshake_message_server_hello_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_server_hello_done.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_server_hello_done/handshake_message_server_hello_done_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_server_key_exchange.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_message_server_key_exchange/handshake_message_server_key_exchange_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_random.rs (100%) rename {dtls => rtc-dtls}/src/handshake/handshake_test.rs (100%) rename {dtls => rtc-dtls}/src/handshake/mod.rs (100%) rename {dtls => rtc-dtls}/src/handshaker.rs (100%) rename {dtls => rtc-dtls}/src/lib.rs (100%) rename {dtls => rtc-dtls}/src/prf/mod.rs (100%) rename {dtls => rtc-dtls}/src/prf/prf_test.rs (100%) rename {dtls => rtc-dtls}/src/record_layer/mod.rs (100%) rename {dtls => rtc-dtls}/src/record_layer/record_layer_header.rs (100%) rename {dtls => rtc-dtls}/src/record_layer/record_layer_test.rs (100%) rename {dtls => rtc-dtls}/src/signature_hash_algorithm/mod.rs (100%) rename {dtls => rtc-dtls}/src/signature_hash_algorithm/signature_hash_algorithm_test.rs (100%) rename {dtls => rtc-dtls}/src/state.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 629276a..adc4a6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [workspace] members = [ "data", - "dtls", + "rtc-dtls", "rtc", "rtcp", "rtp", diff --git a/dtls/.gitignore b/rtc-dtls/.gitignore similarity index 100% rename from dtls/.gitignore rename to rtc-dtls/.gitignore diff --git a/dtls/CHANGELOG.md b/rtc-dtls/CHANGELOG.md similarity index 100% rename from dtls/CHANGELOG.md rename to rtc-dtls/CHANGELOG.md diff --git a/dtls/Cargo.toml b/rtc-dtls/Cargo.toml similarity index 79% rename from dtls/Cargo.toml rename to rtc-dtls/Cargo.toml index 3b45253..a0caa64 100644 --- a/dtls/Cargo.toml +++ b/rtc-dtls/Cargo.toml @@ -1,13 +1,16 @@ [package] -name = "dtls" -version = "0.0.0" +name = "rtc-dtls" +version = "0.1.0" authors = ["Rain Liu "] edition = "2021" -description = "DTLS in Rust" +description = "RTC DTLS in Rust" license = "MIT/Apache-2.0" +documentation = "https://docs.rs/rtc-dtls" +homepage = "https://webrtc.rs" +repository = "https://github.com/webrtc-rs/rtc" [dependencies] -shared = { path = "../rtc-shared", package = "rtc-shared", default-features = false, features = ["crypto", "replay"] } +shared = { version = "0.1", path = "../rtc-shared", package = "rtc-shared", default-features = false, features = ["crypto", "replay"] } retty = "0.24" bytes = "1.4" byteorder = "1" @@ -38,14 +41,14 @@ thiserror = "1" pem = { version = "3", optional = true } [dev-dependencies] -local-sync = "0.1.0" -core_affinity = "0.8.0" -chrono = "0.4.23" +local-sync = "0.1" +core_affinity = "0.8" +chrono = "0.4" env_logger = "0.11" -clap = { version = "4.2.2", features = ["derive"] } -anyhow = "1.0.70" -ctrlc = "3.2.5" -futures = "0.3.28" +clap = { version = "4", features = ["derive"] } +anyhow = "1" +ctrlc = "3" +futures = "0.3" [features] pem = ["dep:pem"] diff --git a/dtls/LICENSE-APACHE b/rtc-dtls/LICENSE-APACHE similarity index 100% rename from dtls/LICENSE-APACHE rename to rtc-dtls/LICENSE-APACHE diff --git a/dtls/LICENSE-MIT b/rtc-dtls/LICENSE-MIT similarity index 100% rename from dtls/LICENSE-MIT rename to rtc-dtls/LICENSE-MIT diff --git a/dtls/README.md b/rtc-dtls/README.md similarity index 100% rename from dtls/README.md rename to rtc-dtls/README.md diff --git a/dtls/codecov.yml b/rtc-dtls/codecov.yml similarity index 100% rename from dtls/codecov.yml rename to rtc-dtls/codecov.yml diff --git a/dtls/doc/webrtc.rs.png b/rtc-dtls/doc/webrtc.rs.png similarity index 100% rename from dtls/doc/webrtc.rs.png rename to rtc-dtls/doc/webrtc.rs.png diff --git a/dtls/examples_wip/certificates/README.md b/rtc-dtls/examples_wip/certificates/README.md similarity index 100% rename from dtls/examples_wip/certificates/README.md rename to rtc-dtls/examples_wip/certificates/README.md diff --git a/dtls/examples_wip/certificates/client.csr b/rtc-dtls/examples_wip/certificates/client.csr similarity index 100% rename from dtls/examples_wip/certificates/client.csr rename to rtc-dtls/examples_wip/certificates/client.csr diff --git a/dtls/examples_wip/certificates/client.pem b/rtc-dtls/examples_wip/certificates/client.pem similarity index 100% rename from dtls/examples_wip/certificates/client.pem rename to rtc-dtls/examples_wip/certificates/client.pem diff --git a/dtls/examples_wip/certificates/client.pem.private_key.pem b/rtc-dtls/examples_wip/certificates/client.pem.private_key.pem similarity index 100% rename from dtls/examples_wip/certificates/client.pem.private_key.pem rename to rtc-dtls/examples_wip/certificates/client.pem.private_key.pem diff --git a/dtls/examples_wip/certificates/client.pub.pem b/rtc-dtls/examples_wip/certificates/client.pub.pem similarity index 100% rename from dtls/examples_wip/certificates/client.pub.pem rename to rtc-dtls/examples_wip/certificates/client.pub.pem diff --git a/dtls/examples_wip/certificates/extfile.conf b/rtc-dtls/examples_wip/certificates/extfile.conf similarity index 100% rename from dtls/examples_wip/certificates/extfile.conf rename to rtc-dtls/examples_wip/certificates/extfile.conf diff --git a/dtls/examples_wip/certificates/server.csr b/rtc-dtls/examples_wip/certificates/server.csr similarity index 100% rename from dtls/examples_wip/certificates/server.csr rename to rtc-dtls/examples_wip/certificates/server.csr diff --git a/dtls/examples_wip/certificates/server.pem b/rtc-dtls/examples_wip/certificates/server.pem similarity index 100% rename from dtls/examples_wip/certificates/server.pem rename to rtc-dtls/examples_wip/certificates/server.pem diff --git a/dtls/examples_wip/certificates/server.pem.private_key.pem b/rtc-dtls/examples_wip/certificates/server.pem.private_key.pem similarity index 100% rename from dtls/examples_wip/certificates/server.pem.private_key.pem rename to rtc-dtls/examples_wip/certificates/server.pem.private_key.pem diff --git a/dtls/examples_wip/certificates/server.pub.pem b/rtc-dtls/examples_wip/certificates/server.pub.pem similarity index 100% rename from dtls/examples_wip/certificates/server.pub.pem rename to rtc-dtls/examples_wip/certificates/server.pub.pem diff --git a/dtls/examples_wip/dial/psk/dial_psk.rs b/rtc-dtls/examples_wip/dial/psk/dial_psk.rs similarity index 100% rename from dtls/examples_wip/dial/psk/dial_psk.rs rename to rtc-dtls/examples_wip/dial/psk/dial_psk.rs diff --git a/dtls/examples_wip/dial/selfsign/dial_selfsign.rs b/rtc-dtls/examples_wip/dial/selfsign/dial_selfsign.rs similarity index 100% rename from dtls/examples_wip/dial/selfsign/dial_selfsign.rs rename to rtc-dtls/examples_wip/dial/selfsign/dial_selfsign.rs diff --git a/dtls/examples_wip/dial/verify/dial_verify.rs b/rtc-dtls/examples_wip/dial/verify/dial_verify.rs similarity index 100% rename from dtls/examples_wip/dial/verify/dial_verify.rs rename to rtc-dtls/examples_wip/dial/verify/dial_verify.rs diff --git a/dtls/examples_wip/dtls_chat_server.rs b/rtc-dtls/examples_wip/dtls_chat_server.rs similarity index 100% rename from dtls/examples_wip/dtls_chat_server.rs rename to rtc-dtls/examples_wip/dtls_chat_server.rs diff --git a/dtls/examples_wip/dtls_client.rs b/rtc-dtls/examples_wip/dtls_client.rs similarity index 100% rename from dtls/examples_wip/dtls_client.rs rename to rtc-dtls/examples_wip/dtls_client.rs diff --git a/dtls/examples_wip/dtls_client_selfsign.rs b/rtc-dtls/examples_wip/dtls_client_selfsign.rs similarity index 100% rename from dtls/examples_wip/dtls_client_selfsign.rs rename to rtc-dtls/examples_wip/dtls_client_selfsign.rs diff --git a/dtls/examples_wip/dtls_echo_server.rs b/rtc-dtls/examples_wip/dtls_echo_server.rs similarity index 100% rename from dtls/examples_wip/dtls_echo_server.rs rename to rtc-dtls/examples_wip/dtls_echo_server.rs diff --git a/dtls/examples_wip/hub/Cargo.toml b/rtc-dtls/examples_wip/hub/Cargo.toml similarity index 100% rename from dtls/examples_wip/hub/Cargo.toml rename to rtc-dtls/examples_wip/hub/Cargo.toml diff --git a/dtls/examples_wip/hub/src/lib.rs b/rtc-dtls/examples_wip/hub/src/lib.rs similarity index 100% rename from dtls/examples_wip/hub/src/lib.rs rename to rtc-dtls/examples_wip/hub/src/lib.rs diff --git a/dtls/examples_wip/hub/src/utilities.rs b/rtc-dtls/examples_wip/hub/src/utilities.rs similarity index 100% rename from dtls/examples_wip/hub/src/utilities.rs rename to rtc-dtls/examples_wip/hub/src/utilities.rs diff --git a/dtls/examples_wip/listen/psk/listen_psk.rs b/rtc-dtls/examples_wip/listen/psk/listen_psk.rs similarity index 100% rename from dtls/examples_wip/listen/psk/listen_psk.rs rename to rtc-dtls/examples_wip/listen/psk/listen_psk.rs diff --git a/dtls/examples_wip/listen/selfsign/listen_selfsign.rs b/rtc-dtls/examples_wip/listen/selfsign/listen_selfsign.rs similarity index 100% rename from dtls/examples_wip/listen/selfsign/listen_selfsign.rs rename to rtc-dtls/examples_wip/listen/selfsign/listen_selfsign.rs diff --git a/dtls/examples_wip/listen/verify/listen_verify.rs b/rtc-dtls/examples_wip/listen/verify/listen_verify.rs similarity index 100% rename from dtls/examples_wip/listen/verify/listen_verify.rs rename to rtc-dtls/examples_wip/listen/verify/listen_verify.rs diff --git a/dtls/src/alert/alert_test.rs b/rtc-dtls/src/alert/alert_test.rs similarity index 100% rename from dtls/src/alert/alert_test.rs rename to rtc-dtls/src/alert/alert_test.rs diff --git a/dtls/src/alert/mod.rs b/rtc-dtls/src/alert/mod.rs similarity index 100% rename from dtls/src/alert/mod.rs rename to rtc-dtls/src/alert/mod.rs diff --git a/dtls/src/application_data.rs b/rtc-dtls/src/application_data.rs similarity index 100% rename from dtls/src/application_data.rs rename to rtc-dtls/src/application_data.rs diff --git a/dtls/src/change_cipher_spec/change_cipher_spec_test.rs b/rtc-dtls/src/change_cipher_spec/change_cipher_spec_test.rs similarity index 100% rename from dtls/src/change_cipher_spec/change_cipher_spec_test.rs rename to rtc-dtls/src/change_cipher_spec/change_cipher_spec_test.rs diff --git a/dtls/src/change_cipher_spec/mod.rs b/rtc-dtls/src/change_cipher_spec/mod.rs similarity index 100% rename from dtls/src/change_cipher_spec/mod.rs rename to rtc-dtls/src/change_cipher_spec/mod.rs diff --git a/dtls/src/cipher_suite/cipher_suite_aes_128_ccm.rs b/rtc-dtls/src/cipher_suite/cipher_suite_aes_128_ccm.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_aes_128_ccm.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_aes_128_ccm.rs diff --git a/dtls/src/cipher_suite/cipher_suite_aes_128_gcm_sha256.rs b/rtc-dtls/src/cipher_suite/cipher_suite_aes_128_gcm_sha256.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_aes_128_gcm_sha256.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_aes_128_gcm_sha256.rs diff --git a/dtls/src/cipher_suite/cipher_suite_aes_256_cbc_sha.rs b/rtc-dtls/src/cipher_suite/cipher_suite_aes_256_cbc_sha.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_aes_256_cbc_sha.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_aes_256_cbc_sha.rs diff --git a/dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm.rs b/rtc-dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm.rs diff --git a/dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm8.rs b/rtc-dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm8.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm8.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_tls_ecdhe_ecdsa_with_aes_128_ccm8.rs diff --git a/dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm.rs b/rtc-dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm.rs diff --git a/dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm8.rs b/rtc-dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm8.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm8.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_ccm8.rs diff --git a/dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_gcm_sha256.rs b/rtc-dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_gcm_sha256.rs similarity index 100% rename from dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_gcm_sha256.rs rename to rtc-dtls/src/cipher_suite/cipher_suite_tls_psk_with_aes_128_gcm_sha256.rs diff --git a/dtls/src/cipher_suite/mod.rs b/rtc-dtls/src/cipher_suite/mod.rs similarity index 100% rename from dtls/src/cipher_suite/mod.rs rename to rtc-dtls/src/cipher_suite/mod.rs diff --git a/dtls/src/client_certificate_type.rs b/rtc-dtls/src/client_certificate_type.rs similarity index 100% rename from dtls/src/client_certificate_type.rs rename to rtc-dtls/src/client_certificate_type.rs diff --git a/dtls/src/compression_methods.rs b/rtc-dtls/src/compression_methods.rs similarity index 100% rename from dtls/src/compression_methods.rs rename to rtc-dtls/src/compression_methods.rs diff --git a/dtls/src/config.rs b/rtc-dtls/src/config.rs similarity index 100% rename from dtls/src/config.rs rename to rtc-dtls/src/config.rs diff --git a/dtls/src/conn/conn_test.rs b/rtc-dtls/src/conn/conn_test.rs similarity index 100% rename from dtls/src/conn/conn_test.rs rename to rtc-dtls/src/conn/conn_test.rs diff --git a/dtls/src/conn/mod.rs b/rtc-dtls/src/conn/mod.rs similarity index 100% rename from dtls/src/conn/mod.rs rename to rtc-dtls/src/conn/mod.rs diff --git a/dtls/src/content.rs b/rtc-dtls/src/content.rs similarity index 100% rename from dtls/src/content.rs rename to rtc-dtls/src/content.rs diff --git a/dtls/src/crypto/crypto_cbc.rs b/rtc-dtls/src/crypto/crypto_cbc.rs similarity index 100% rename from dtls/src/crypto/crypto_cbc.rs rename to rtc-dtls/src/crypto/crypto_cbc.rs diff --git a/dtls/src/crypto/crypto_ccm.rs b/rtc-dtls/src/crypto/crypto_ccm.rs similarity index 100% rename from dtls/src/crypto/crypto_ccm.rs rename to rtc-dtls/src/crypto/crypto_ccm.rs diff --git a/dtls/src/crypto/crypto_gcm.rs b/rtc-dtls/src/crypto/crypto_gcm.rs similarity index 100% rename from dtls/src/crypto/crypto_gcm.rs rename to rtc-dtls/src/crypto/crypto_gcm.rs diff --git a/dtls/src/crypto/crypto_test.rs b/rtc-dtls/src/crypto/crypto_test.rs similarity index 100% rename from dtls/src/crypto/crypto_test.rs rename to rtc-dtls/src/crypto/crypto_test.rs diff --git a/dtls/src/crypto/mod.rs b/rtc-dtls/src/crypto/mod.rs similarity index 100% rename from dtls/src/crypto/mod.rs rename to rtc-dtls/src/crypto/mod.rs diff --git a/dtls/src/curve/mod.rs b/rtc-dtls/src/curve/mod.rs similarity index 100% rename from dtls/src/curve/mod.rs rename to rtc-dtls/src/curve/mod.rs diff --git a/dtls/src/curve/named_curve.rs b/rtc-dtls/src/curve/named_curve.rs similarity index 100% rename from dtls/src/curve/named_curve.rs rename to rtc-dtls/src/curve/named_curve.rs diff --git a/dtls/src/endpoint.rs b/rtc-dtls/src/endpoint.rs similarity index 100% rename from dtls/src/endpoint.rs rename to rtc-dtls/src/endpoint.rs diff --git a/dtls/src/extension/extension_server_name.rs b/rtc-dtls/src/extension/extension_server_name.rs similarity index 100% rename from dtls/src/extension/extension_server_name.rs rename to rtc-dtls/src/extension/extension_server_name.rs diff --git a/dtls/src/extension/extension_server_name/extension_server_name_test.rs b/rtc-dtls/src/extension/extension_server_name/extension_server_name_test.rs similarity index 100% rename from dtls/src/extension/extension_server_name/extension_server_name_test.rs rename to rtc-dtls/src/extension/extension_server_name/extension_server_name_test.rs diff --git a/dtls/src/extension/extension_supported_elliptic_curves.rs b/rtc-dtls/src/extension/extension_supported_elliptic_curves.rs similarity index 100% rename from dtls/src/extension/extension_supported_elliptic_curves.rs rename to rtc-dtls/src/extension/extension_supported_elliptic_curves.rs diff --git a/dtls/src/extension/extension_supported_elliptic_curves/extension_supported_elliptic_curves_test.rs b/rtc-dtls/src/extension/extension_supported_elliptic_curves/extension_supported_elliptic_curves_test.rs similarity index 100% rename from dtls/src/extension/extension_supported_elliptic_curves/extension_supported_elliptic_curves_test.rs rename to rtc-dtls/src/extension/extension_supported_elliptic_curves/extension_supported_elliptic_curves_test.rs diff --git a/dtls/src/extension/extension_supported_point_formats.rs b/rtc-dtls/src/extension/extension_supported_point_formats.rs similarity index 100% rename from dtls/src/extension/extension_supported_point_formats.rs rename to rtc-dtls/src/extension/extension_supported_point_formats.rs diff --git a/dtls/src/extension/extension_supported_point_formats/extension_supported_point_formats_test.rs b/rtc-dtls/src/extension/extension_supported_point_formats/extension_supported_point_formats_test.rs similarity index 100% rename from dtls/src/extension/extension_supported_point_formats/extension_supported_point_formats_test.rs rename to rtc-dtls/src/extension/extension_supported_point_formats/extension_supported_point_formats_test.rs diff --git a/dtls/src/extension/extension_supported_signature_algorithms.rs b/rtc-dtls/src/extension/extension_supported_signature_algorithms.rs similarity index 100% rename from dtls/src/extension/extension_supported_signature_algorithms.rs rename to rtc-dtls/src/extension/extension_supported_signature_algorithms.rs diff --git a/dtls/src/extension/extension_supported_signature_algorithms/extension_supported_signature_algorithms_test.rs b/rtc-dtls/src/extension/extension_supported_signature_algorithms/extension_supported_signature_algorithms_test.rs similarity index 100% rename from dtls/src/extension/extension_supported_signature_algorithms/extension_supported_signature_algorithms_test.rs rename to rtc-dtls/src/extension/extension_supported_signature_algorithms/extension_supported_signature_algorithms_test.rs diff --git a/dtls/src/extension/extension_use_extended_master_secret.rs b/rtc-dtls/src/extension/extension_use_extended_master_secret.rs similarity index 100% rename from dtls/src/extension/extension_use_extended_master_secret.rs rename to rtc-dtls/src/extension/extension_use_extended_master_secret.rs diff --git a/dtls/src/extension/extension_use_extended_master_secret/extension_use_extended_master_secret_test.rs b/rtc-dtls/src/extension/extension_use_extended_master_secret/extension_use_extended_master_secret_test.rs similarity index 100% rename from dtls/src/extension/extension_use_extended_master_secret/extension_use_extended_master_secret_test.rs rename to rtc-dtls/src/extension/extension_use_extended_master_secret/extension_use_extended_master_secret_test.rs diff --git a/dtls/src/extension/extension_use_srtp.rs b/rtc-dtls/src/extension/extension_use_srtp.rs similarity index 100% rename from dtls/src/extension/extension_use_srtp.rs rename to rtc-dtls/src/extension/extension_use_srtp.rs diff --git a/dtls/src/extension/extension_use_srtp/extension_use_srtp_test.rs b/rtc-dtls/src/extension/extension_use_srtp/extension_use_srtp_test.rs similarity index 100% rename from dtls/src/extension/extension_use_srtp/extension_use_srtp_test.rs rename to rtc-dtls/src/extension/extension_use_srtp/extension_use_srtp_test.rs diff --git a/dtls/src/extension/mod.rs b/rtc-dtls/src/extension/mod.rs similarity index 100% rename from dtls/src/extension/mod.rs rename to rtc-dtls/src/extension/mod.rs diff --git a/dtls/src/extension/renegotiation_info.rs b/rtc-dtls/src/extension/renegotiation_info.rs similarity index 100% rename from dtls/src/extension/renegotiation_info.rs rename to rtc-dtls/src/extension/renegotiation_info.rs diff --git a/dtls/src/extension/renegotiation_info/renegotiation_info_test.rs b/rtc-dtls/src/extension/renegotiation_info/renegotiation_info_test.rs similarity index 100% rename from dtls/src/extension/renegotiation_info/renegotiation_info_test.rs rename to rtc-dtls/src/extension/renegotiation_info/renegotiation_info_test.rs diff --git a/dtls/src/flight/flight0.rs b/rtc-dtls/src/flight/flight0.rs similarity index 100% rename from dtls/src/flight/flight0.rs rename to rtc-dtls/src/flight/flight0.rs diff --git a/dtls/src/flight/flight1.rs b/rtc-dtls/src/flight/flight1.rs similarity index 100% rename from dtls/src/flight/flight1.rs rename to rtc-dtls/src/flight/flight1.rs diff --git a/dtls/src/flight/flight2.rs b/rtc-dtls/src/flight/flight2.rs similarity index 100% rename from dtls/src/flight/flight2.rs rename to rtc-dtls/src/flight/flight2.rs diff --git a/dtls/src/flight/flight3.rs b/rtc-dtls/src/flight/flight3.rs similarity index 100% rename from dtls/src/flight/flight3.rs rename to rtc-dtls/src/flight/flight3.rs diff --git a/dtls/src/flight/flight4.rs b/rtc-dtls/src/flight/flight4.rs similarity index 100% rename from dtls/src/flight/flight4.rs rename to rtc-dtls/src/flight/flight4.rs diff --git a/dtls/src/flight/flight5.rs b/rtc-dtls/src/flight/flight5.rs similarity index 100% rename from dtls/src/flight/flight5.rs rename to rtc-dtls/src/flight/flight5.rs diff --git a/dtls/src/flight/flight6.rs b/rtc-dtls/src/flight/flight6.rs similarity index 100% rename from dtls/src/flight/flight6.rs rename to rtc-dtls/src/flight/flight6.rs diff --git a/dtls/src/flight/mod.rs b/rtc-dtls/src/flight/mod.rs similarity index 100% rename from dtls/src/flight/mod.rs rename to rtc-dtls/src/flight/mod.rs diff --git a/dtls/src/fragment_buffer/fragment_buffer_test.rs b/rtc-dtls/src/fragment_buffer/fragment_buffer_test.rs similarity index 100% rename from dtls/src/fragment_buffer/fragment_buffer_test.rs rename to rtc-dtls/src/fragment_buffer/fragment_buffer_test.rs diff --git a/dtls/src/fragment_buffer/mod.rs b/rtc-dtls/src/fragment_buffer/mod.rs similarity index 100% rename from dtls/src/fragment_buffer/mod.rs rename to rtc-dtls/src/fragment_buffer/mod.rs diff --git a/dtls/src/handshake/handshake_cache.rs b/rtc-dtls/src/handshake/handshake_cache.rs similarity index 100% rename from dtls/src/handshake/handshake_cache.rs rename to rtc-dtls/src/handshake/handshake_cache.rs diff --git a/dtls/src/handshake/handshake_cache/handshake_cache_test.rs b/rtc-dtls/src/handshake/handshake_cache/handshake_cache_test.rs similarity index 100% rename from dtls/src/handshake/handshake_cache/handshake_cache_test.rs rename to rtc-dtls/src/handshake/handshake_cache/handshake_cache_test.rs diff --git a/dtls/src/handshake/handshake_header.rs b/rtc-dtls/src/handshake/handshake_header.rs similarity index 100% rename from dtls/src/handshake/handshake_header.rs rename to rtc-dtls/src/handshake/handshake_header.rs diff --git a/dtls/src/handshake/handshake_message_certificate.rs b/rtc-dtls/src/handshake/handshake_message_certificate.rs similarity index 100% rename from dtls/src/handshake/handshake_message_certificate.rs rename to rtc-dtls/src/handshake/handshake_message_certificate.rs diff --git a/dtls/src/handshake/handshake_message_certificate/handshake_message_certificate_test.rs b/rtc-dtls/src/handshake/handshake_message_certificate/handshake_message_certificate_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_certificate/handshake_message_certificate_test.rs rename to rtc-dtls/src/handshake/handshake_message_certificate/handshake_message_certificate_test.rs diff --git a/dtls/src/handshake/handshake_message_certificate_request.rs b/rtc-dtls/src/handshake/handshake_message_certificate_request.rs similarity index 100% rename from dtls/src/handshake/handshake_message_certificate_request.rs rename to rtc-dtls/src/handshake/handshake_message_certificate_request.rs diff --git a/dtls/src/handshake/handshake_message_certificate_request/handshake_message_certificate_request_test.rs b/rtc-dtls/src/handshake/handshake_message_certificate_request/handshake_message_certificate_request_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_certificate_request/handshake_message_certificate_request_test.rs rename to rtc-dtls/src/handshake/handshake_message_certificate_request/handshake_message_certificate_request_test.rs diff --git a/dtls/src/handshake/handshake_message_certificate_verify.rs b/rtc-dtls/src/handshake/handshake_message_certificate_verify.rs similarity index 100% rename from dtls/src/handshake/handshake_message_certificate_verify.rs rename to rtc-dtls/src/handshake/handshake_message_certificate_verify.rs diff --git a/dtls/src/handshake/handshake_message_certificate_verify/handshake_message_certificate_verify_test.rs b/rtc-dtls/src/handshake/handshake_message_certificate_verify/handshake_message_certificate_verify_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_certificate_verify/handshake_message_certificate_verify_test.rs rename to rtc-dtls/src/handshake/handshake_message_certificate_verify/handshake_message_certificate_verify_test.rs diff --git a/dtls/src/handshake/handshake_message_client_hello.rs b/rtc-dtls/src/handshake/handshake_message_client_hello.rs similarity index 100% rename from dtls/src/handshake/handshake_message_client_hello.rs rename to rtc-dtls/src/handshake/handshake_message_client_hello.rs diff --git a/dtls/src/handshake/handshake_message_client_hello/handshake_message_client_hello_test.rs b/rtc-dtls/src/handshake/handshake_message_client_hello/handshake_message_client_hello_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_client_hello/handshake_message_client_hello_test.rs rename to rtc-dtls/src/handshake/handshake_message_client_hello/handshake_message_client_hello_test.rs diff --git a/dtls/src/handshake/handshake_message_client_key_exchange.rs b/rtc-dtls/src/handshake/handshake_message_client_key_exchange.rs similarity index 100% rename from dtls/src/handshake/handshake_message_client_key_exchange.rs rename to rtc-dtls/src/handshake/handshake_message_client_key_exchange.rs diff --git a/dtls/src/handshake/handshake_message_client_key_exchange/handshake_message_client_key_exchange_test.rs b/rtc-dtls/src/handshake/handshake_message_client_key_exchange/handshake_message_client_key_exchange_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_client_key_exchange/handshake_message_client_key_exchange_test.rs rename to rtc-dtls/src/handshake/handshake_message_client_key_exchange/handshake_message_client_key_exchange_test.rs diff --git a/dtls/src/handshake/handshake_message_finished.rs b/rtc-dtls/src/handshake/handshake_message_finished.rs similarity index 100% rename from dtls/src/handshake/handshake_message_finished.rs rename to rtc-dtls/src/handshake/handshake_message_finished.rs diff --git a/dtls/src/handshake/handshake_message_finished/handshake_message_finished_test.rs b/rtc-dtls/src/handshake/handshake_message_finished/handshake_message_finished_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_finished/handshake_message_finished_test.rs rename to rtc-dtls/src/handshake/handshake_message_finished/handshake_message_finished_test.rs diff --git a/dtls/src/handshake/handshake_message_hello_verify_request.rs b/rtc-dtls/src/handshake/handshake_message_hello_verify_request.rs similarity index 100% rename from dtls/src/handshake/handshake_message_hello_verify_request.rs rename to rtc-dtls/src/handshake/handshake_message_hello_verify_request.rs diff --git a/dtls/src/handshake/handshake_message_hello_verify_request/handshake_message_hello_verify_request_test.rs b/rtc-dtls/src/handshake/handshake_message_hello_verify_request/handshake_message_hello_verify_request_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_hello_verify_request/handshake_message_hello_verify_request_test.rs rename to rtc-dtls/src/handshake/handshake_message_hello_verify_request/handshake_message_hello_verify_request_test.rs diff --git a/dtls/src/handshake/handshake_message_server_hello.rs b/rtc-dtls/src/handshake/handshake_message_server_hello.rs similarity index 100% rename from dtls/src/handshake/handshake_message_server_hello.rs rename to rtc-dtls/src/handshake/handshake_message_server_hello.rs diff --git a/dtls/src/handshake/handshake_message_server_hello/handshake_message_server_hello_test.rs b/rtc-dtls/src/handshake/handshake_message_server_hello/handshake_message_server_hello_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_server_hello/handshake_message_server_hello_test.rs rename to rtc-dtls/src/handshake/handshake_message_server_hello/handshake_message_server_hello_test.rs diff --git a/dtls/src/handshake/handshake_message_server_hello_done.rs b/rtc-dtls/src/handshake/handshake_message_server_hello_done.rs similarity index 100% rename from dtls/src/handshake/handshake_message_server_hello_done.rs rename to rtc-dtls/src/handshake/handshake_message_server_hello_done.rs diff --git a/dtls/src/handshake/handshake_message_server_hello_done/handshake_message_server_hello_done_test.rs b/rtc-dtls/src/handshake/handshake_message_server_hello_done/handshake_message_server_hello_done_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_server_hello_done/handshake_message_server_hello_done_test.rs rename to rtc-dtls/src/handshake/handshake_message_server_hello_done/handshake_message_server_hello_done_test.rs diff --git a/dtls/src/handshake/handshake_message_server_key_exchange.rs b/rtc-dtls/src/handshake/handshake_message_server_key_exchange.rs similarity index 100% rename from dtls/src/handshake/handshake_message_server_key_exchange.rs rename to rtc-dtls/src/handshake/handshake_message_server_key_exchange.rs diff --git a/dtls/src/handshake/handshake_message_server_key_exchange/handshake_message_server_key_exchange_test.rs b/rtc-dtls/src/handshake/handshake_message_server_key_exchange/handshake_message_server_key_exchange_test.rs similarity index 100% rename from dtls/src/handshake/handshake_message_server_key_exchange/handshake_message_server_key_exchange_test.rs rename to rtc-dtls/src/handshake/handshake_message_server_key_exchange/handshake_message_server_key_exchange_test.rs diff --git a/dtls/src/handshake/handshake_random.rs b/rtc-dtls/src/handshake/handshake_random.rs similarity index 100% rename from dtls/src/handshake/handshake_random.rs rename to rtc-dtls/src/handshake/handshake_random.rs diff --git a/dtls/src/handshake/handshake_test.rs b/rtc-dtls/src/handshake/handshake_test.rs similarity index 100% rename from dtls/src/handshake/handshake_test.rs rename to rtc-dtls/src/handshake/handshake_test.rs diff --git a/dtls/src/handshake/mod.rs b/rtc-dtls/src/handshake/mod.rs similarity index 100% rename from dtls/src/handshake/mod.rs rename to rtc-dtls/src/handshake/mod.rs diff --git a/dtls/src/handshaker.rs b/rtc-dtls/src/handshaker.rs similarity index 100% rename from dtls/src/handshaker.rs rename to rtc-dtls/src/handshaker.rs diff --git a/dtls/src/lib.rs b/rtc-dtls/src/lib.rs similarity index 100% rename from dtls/src/lib.rs rename to rtc-dtls/src/lib.rs diff --git a/dtls/src/prf/mod.rs b/rtc-dtls/src/prf/mod.rs similarity index 100% rename from dtls/src/prf/mod.rs rename to rtc-dtls/src/prf/mod.rs diff --git a/dtls/src/prf/prf_test.rs b/rtc-dtls/src/prf/prf_test.rs similarity index 100% rename from dtls/src/prf/prf_test.rs rename to rtc-dtls/src/prf/prf_test.rs diff --git a/dtls/src/record_layer/mod.rs b/rtc-dtls/src/record_layer/mod.rs similarity index 100% rename from dtls/src/record_layer/mod.rs rename to rtc-dtls/src/record_layer/mod.rs diff --git a/dtls/src/record_layer/record_layer_header.rs b/rtc-dtls/src/record_layer/record_layer_header.rs similarity index 100% rename from dtls/src/record_layer/record_layer_header.rs rename to rtc-dtls/src/record_layer/record_layer_header.rs diff --git a/dtls/src/record_layer/record_layer_test.rs b/rtc-dtls/src/record_layer/record_layer_test.rs similarity index 100% rename from dtls/src/record_layer/record_layer_test.rs rename to rtc-dtls/src/record_layer/record_layer_test.rs diff --git a/dtls/src/signature_hash_algorithm/mod.rs b/rtc-dtls/src/signature_hash_algorithm/mod.rs similarity index 100% rename from dtls/src/signature_hash_algorithm/mod.rs rename to rtc-dtls/src/signature_hash_algorithm/mod.rs diff --git a/dtls/src/signature_hash_algorithm/signature_hash_algorithm_test.rs b/rtc-dtls/src/signature_hash_algorithm/signature_hash_algorithm_test.rs similarity index 100% rename from dtls/src/signature_hash_algorithm/signature_hash_algorithm_test.rs rename to rtc-dtls/src/signature_hash_algorithm/signature_hash_algorithm_test.rs diff --git a/dtls/src/state.rs b/rtc-dtls/src/state.rs similarity index 100% rename from dtls/src/state.rs rename to rtc-dtls/src/state.rs diff --git a/rtc-stun/Cargo.toml b/rtc-stun/Cargo.toml index 04c4ef5..67070e8 100644 --- a/rtc-stun/Cargo.toml +++ b/rtc-stun/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "stun" +name = "rtc-stun" version = "0.1.0" authors = ["Rain Liu "] edition = "2021"