2024-03-27 00:46:32 +00:00
|
|
|
[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]
|
2024-10-05 00:47:44 +00:00
|
|
|
default = ["blockchain", "epee", "serde", "json", "hex"]
|
2024-06-04 17:19:35 +00:00
|
|
|
blockchain = []
|
2024-07-16 21:47:50 +00:00
|
|
|
epee = ["dep:cuprate-epee-encoding"]
|
|
|
|
serde = ["dep:serde"]
|
2024-08-08 23:56:13 +00:00
|
|
|
proptest = ["dep:proptest", "dep:proptest-derive"]
|
2024-10-05 00:47:44 +00:00
|
|
|
json = ["hex", "dep:cuprate-helper"]
|
|
|
|
hex = ["dep:hex"]
|
2024-03-27 00:46:32 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-07-16 21:47:50 +00:00
|
|
|
cuprate-epee-encoding = { path = "../net/epee-encoding", optional = true }
|
2024-10-05 00:47:44 +00:00
|
|
|
cuprate-helper = { path = "../helper", optional = true, features = ["cast"] }
|
2024-07-16 21:47:50 +00:00
|
|
|
cuprate-fixed-bytes = { path = "../net/fixed-bytes" }
|
|
|
|
|
|
|
|
bytes = { workspace = true }
|
2024-03-27 00:46:32 +00:00
|
|
|
curve25519-dalek = { workspace = true }
|
|
|
|
monero-serai = { workspace = true }
|
2024-10-05 00:47:44 +00:00
|
|
|
hex = { workspace = true, features = ["serde", "alloc"], optional = true }
|
2024-07-16 21:47:50 +00:00
|
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
2024-10-11 22:57:43 +00:00
|
|
|
strum = { workspace = true, features = ["derive"] }
|
2024-08-08 23:56:13 +00:00
|
|
|
thiserror = { workspace = true }
|
|
|
|
|
|
|
|
proptest = { workspace = true, optional = true }
|
|
|
|
proptest-derive = { workspace = true, optional = true }
|
2024-03-27 00:46:32 +00:00
|
|
|
|
2024-09-02 17:12:54 +00:00
|
|
|
[dev-dependencies]
|
2024-10-05 00:47:44 +00:00
|
|
|
hex-literal = { workspace = true }
|
|
|
|
pretty_assertions = { workspace = true }
|
|
|
|
serde_json = { workspace = true, features = ["std"] }
|
2024-09-02 17:12:54 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|