diff --git a/Cargo.lock b/Cargo.lock index 2acc50931d..7235f28297 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3948,7 +3948,7 @@ dependencies = [ name = "nym-sphinx-types" version = "0.1.0" dependencies = [ - "sphinx", + "sphinx-packet", ] [[package]] @@ -5705,9 +5705,10 @@ dependencies = [ ] [[package]] -name = "sphinx" +name = "sphinx-packet" version = "0.1.0" -source = "git+https://github.com/nymtech/sphinx?rev=e05a1992522ed0afd3c6fcac160313ffc9bb306a#e05a1992522ed0afd3c6fcac160313ffc9bb306a" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc43eda802856ee82a7555c7b75ceb9e07451741c7a2f5f23d036020e01189d4" dependencies = [ "aes 0.7.5", "arrayref", diff --git a/common/nymsphinx/types/Cargo.toml b/common/nymsphinx/types/Cargo.toml index 2461691c1a..9eaa417b42 100644 --- a/common/nymsphinx/types/Cargo.toml +++ b/common/nymsphinx/types/Cargo.toml @@ -9,8 +9,8 @@ readme = { workspace = true } homepage = { workspace = true } documentation = { workspace = true } -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] -sphinx = { git = "https://github.com/nymtech/sphinx", rev="e05a1992522ed0afd3c6fcac160313ffc9bb306a" } -#sphinx = { path = "../../../../sphinx"} +sphinx-packet = { version = "0.1.0" } + +#[patch.crates-io] +#sphinx-packet = { path = "../../../../sphinx" } diff --git a/common/nymsphinx/types/src/lib.rs b/common/nymsphinx/types/src/lib.rs index d3f8d629e4..e80268ada0 100644 --- a/common/nymsphinx/types/src/lib.rs +++ b/common/nymsphinx/types/src/lib.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // re-exporting types and constants available in sphinx -pub use sphinx::{ +pub use sphinx_packet::{ constants::{ self, DESTINATION_ADDRESS_LENGTH, IDENTIFIER_LENGTH, MAX_PATH_LENGTH, NODE_ADDRESS_LENGTH, PAYLOAD_KEY_SIZE,