# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "fiber-json-types"
version = "0.9.0-rc5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RPC JSON request/response types for the Fiber Network"
readme = false
license = "MIT"

[features]
all = [
    "conversion",
    "cch",
    "watchtower",
    "fiber-types/cch",
]
cch = []
conversion = ["fiber-types"]
default = []
watchtower = [
    "fiber-types/watchtower",
    "musig2",
]

[lib]
name = "fiber_json_types"
path = "src/lib.rs"

[dependencies.ckb-jsonrpc-types]
version = "1"

[dependencies.ckb-types]
version = "1"

[dependencies.fiber-types]
version = "0.9.0-rc5"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.molecule]
version = "0.9.2"

[dependencies.musig2]
version = "0.2.4"
features = ["secp256k1"]
optional = true

[dependencies.schemars]
version = "1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "3.7"
features = [
    "macros",
    "schemars_1",
]

[lints.clippy]
expect-fun-call = "allow"
needless-return = "allow"
upper-case-acronyms = "allow"
