Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove math from root crate #541

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading