Skip to content

Commit

Permalink
chore: Remove serde dependency
Browse files Browse the repository at this point in the history
rust-elements has the default feature "json-contract" which depends on
serde_json. We don't need this feature in rust-simplicity.
  • Loading branch information
uncomputable committed Oct 7, 2024
1 parent 9eed013 commit 2a2e7fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.63.0"
default = ["elements"]
elements = ["dep:elements", "bitcoin"]
test-utils = ["simplicity-sys/test-utils"]
serde = ["dep:serde", "bitcoin/serde", "elements/serde"]
serde = ["dep:serde", "bitcoin/serde", "elements/serde", "elements/json-contract"]

[lib]
name = "simplicity"
Expand All @@ -24,7 +24,7 @@ path = "src/lib.rs"
bitcoin = { version = "0.32.0", optional = true }
bitcoin-miniscript = { package = "miniscript", version = "12.0.0" }
byteorder = "1.3"
elements = { version = "0.25.0", optional = true }
elements = { version = "0.25.0", optional = true, default-features = false }
hashes = { package = "bitcoin_hashes", version = "0.14" }
hex = { package = "hex-conservative", version = "0.1.1" }
santiago = "1.3"
Expand Down

0 comments on commit 2a2e7fb

Please sign in to comment.