mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-16 15:58:14 +00:00
80bfe0a34c
* add `cuprate_types::json` * docs * `Option` -> flattened enums + prefix structs * output enum * docs * todo!() epee impl * cuprate-rpc-types: add comments * cuprate-rpc-types: common `TxEntry` fields into prefix struct * remove epee * docs * add `hex` module * `From` serai types * cleanup * proofs * tx from impls * fix tx timelock * add block value tests * add ringct types * add tx_v1, tx_rct_3 test * clsag bulletproofs tx test * clsag bulletproofs plus tx test * docs * fix hex bytes * typo * docs
41 lines
No EOL
1.4 KiB
TOML
41 lines
No EOL
1.4 KiB
TOML
[package]
|
|
name = "cuprate-types"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
description = "Cuprate data types"
|
|
license = "MIT"
|
|
authors = ["hinto-janai"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/types"
|
|
keywords = ["cuprate", "types"]
|
|
|
|
[features]
|
|
default = ["blockchain", "epee", "serde", "json", "hex"]
|
|
blockchain = []
|
|
epee = ["dep:cuprate-epee-encoding"]
|
|
serde = ["dep:serde"]
|
|
proptest = ["dep:proptest", "dep:proptest-derive"]
|
|
json = ["hex", "dep:cuprate-helper"]
|
|
hex = ["dep:hex"]
|
|
|
|
[dependencies]
|
|
cuprate-epee-encoding = { path = "../net/epee-encoding", optional = true }
|
|
cuprate-helper = { path = "../helper", optional = true, features = ["cast"] }
|
|
cuprate-fixed-bytes = { path = "../net/fixed-bytes" }
|
|
|
|
bytes = { workspace = true }
|
|
curve25519-dalek = { workspace = true }
|
|
monero-serai = { workspace = true }
|
|
hex = { workspace = true, features = ["serde", "alloc"], optional = true }
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
|
thiserror = { workspace = true }
|
|
|
|
proptest = { workspace = true, optional = true }
|
|
proptest-derive = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
serde_json = { workspace = true, features = ["std"] }
|
|
|
|
[lints]
|
|
workspace = true |