From 3ba8dac19c06d6023a947877ca205dad62409a9a Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Mon, 4 Nov 2024 12:29:46 -0300 Subject: [PATCH] fix: remove math from root crate (#541) --- pallas/Cargo.toml | 2 -- pallas/src/lib.rs | 9 ++++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pallas/Cargo.toml b/pallas/Cargo.toml index a7014c17..92563691 100644 --- a/pallas/Cargo.toml +++ b/pallas/Cargo.toml @@ -20,7 +20,6 @@ pallas-codec = { version = "=0.31.0", path = "../pallas-codec/" } pallas-utxorpc = { version = "=0.31.0", path = "../pallas-utxorpc/" } pallas-configs = { version = "=0.31.0", path = "../pallas-configs/" } pallas-txbuilder = { version = "=0.31.0", path = "../pallas-txbuilder/" } -pallas-math = { version = "=0.31.0", path = "../pallas-math/", optional = true } pallas-applying = { version = "=0.31.0", path = "../pallas-applying/", optional = true } pallas-wallet = { version = "=0.31.0", path = "../pallas-wallet/", optional = true } pallas-hardano = { version = "=0.31.0", path = "../pallas-hardano/", optional = true } @@ -29,5 +28,4 @@ pallas-hardano = { version = "=0.31.0", path = "../pallas-hardano/", optional = hardano = ["pallas-hardano"] wallet = ["pallas-wallet"] applying = ["pallas-applying"] -math = ["pallas-math"] unstable = ["hardano", "wallet", "applying"] diff --git a/pallas/src/lib.rs b/pallas/src/lib.rs index d2cb4cf7..abe60807 100644 --- a/pallas/src/lib.rs +++ b/pallas/src/lib.rs @@ -40,9 +40,12 @@ pub use pallas_crypto as crypto; #[doc(inline)] pub use pallas_codec as codec; -#[doc(inline)] -#[cfg(feature = "pallas-math")] -pub use pallas_math as math; +// TODO: re-incorporate math here once we commit to a final set of upstream +// dependencies + +// #[doc(inline)] +// #[cfg(feature = "pallas-math")] +// pub use pallas_math as math; pub mod interop { //! Interoperability with other protocols, formats & systems