mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +00:00
80bfe0a34c
Some checks failed
Audit / audit (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
Deny / audit (push) Has been cancelled
Doc / build (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Doc / deploy (push) Has been cancelled
* 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 |