Skip to content

Commit

Permalink
dusk-core: remove custom serde support
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Feb 25, 2025
1 parent c12f20d commit 2c54000
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 445 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ark-serialize = { workspace = true, optional = true }

# serde support dependencies
serde = { workspace = true, features = ["derive"], optional = true }
hex = { workspace = true, optional = true }
serde_with = { workspace = true, features = ["hex"], optional = true }

[dev-dependencies]
rand = { workspace = true, features = ["std", "std_rng"] }
Expand Down Expand Up @@ -75,7 +75,7 @@ std = ["dusk-plonk/std"]

serde = [
"dep:serde",
"hex",
"dep:serde_with",
"piecrust-uplink/serde",
"bls12_381-bls/serde",
"phoenix-core/serde",
Expand Down
4 changes: 1 addition & 3 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#![deny(rustdoc::broken_intra_doc_links)]
#![deny(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
#![feature(cfg_eval)]
#![feature(const_fn_floating_point_arithmetic)]
#![cfg_attr(not(target_family = "wasm"), deny(unused_crate_dependencies))]
#![deny(unused_extern_crates)]
Expand All @@ -28,9 +29,6 @@ pub use error::Error;
mod dusk;
pub use dusk::{dusk, from_dusk, Dusk, LUX};

#[cfg(feature = "serde")]
mod serde_support;

// elliptic curve types
pub use dusk_bls12_381::BlsScalar;
pub use dusk_jubjub::{
Expand Down
Loading

0 comments on commit 2c54000

Please sign in to comment.