fix: remove math from root crate (#541)

This commit is contained in:
Santiago Carmuega 2024-11-04 12:29:46 -03:00 committed by GitHub
parent a8c4ba3979
commit 3ba8dac19c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View file

@ -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"]

View file

@ -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