mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-24 12:39:24 +00:00
38 lines
No EOL
1.1 KiB
TOML
38 lines
No EOL
1.1 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"]
|
|
blockchain = []
|
|
epee = ["dep:cuprate-epee-encoding"]
|
|
serde = ["dep:serde"]
|
|
proptest = ["dep:proptest", "dep:proptest-derive"]
|
|
json = []
|
|
|
|
[dependencies]
|
|
cuprate-epee-encoding = { path = "../net/epee-encoding", optional = true }
|
|
cuprate-fixed-bytes = { path = "../net/fixed-bytes" }
|
|
|
|
# cfg-if = { workspace = true }
|
|
bytes = { workspace = true }
|
|
curve25519-dalek = { workspace = true }
|
|
monero-serai = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"], optional = true }
|
|
thiserror = { workspace = true }
|
|
|
|
proptest = { workspace = true, optional = true }
|
|
proptest-derive = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
serde_json = { workspace = true, features = ["std"] }
|
|
|
|
[lints]
|
|
workspace = true |