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 8, 2024
1 parent 9eed013 commit 505e219
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
31 changes: 0 additions & 31 deletions Cargo-recent.lock
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ dependencies = [
"bitcoin",
"secp256k1-zkp",
"serde",
"serde_json",
]

[[package]]
Expand Down Expand Up @@ -175,12 +174,6 @@ dependencies = [
"rustc_version",
]

[[package]]
name = "itoa"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"

[[package]]
name = "js-sys"
version = "0.3.70"
Expand Down Expand Up @@ -208,12 +201,6 @@ version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"

[[package]]
name = "memchr"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"

[[package]]
name = "memmap2"
version = "0.9.5"
Expand Down Expand Up @@ -320,12 +307,6 @@ dependencies = [
"semver",
]

[[package]]
name = "ryu"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"

[[package]]
name = "santiago"
version = "1.3.1"
Expand Down Expand Up @@ -405,18 +386,6 @@ dependencies = [
"syn",
]

[[package]]
name = "serde_json"
version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
dependencies = [
"itoa",
"memchr",
"ryu",
"serde",
]

[[package]]
name = "simpcli"
version = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 505e219

Please sign in to comment.