Skip to content

Commit

Permalink
fix: remove math from root crate (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Nov 4, 2024
1 parent a8c4ba3 commit 3ba8dac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 0 additions & 2 deletions pallas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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"]
9 changes: 6 additions & 3 deletions pallas/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ba8dac

Please sign in to comment.