mirror of
https://github.com/serai-dex/serai.git
synced 2024-10-30 08:57:36 +00:00
d60e007126
processor isn't intended to be used as a library, yet serai-processor-tests does pull it in as a lib. This caused serai-processor-tests to need to compile rocksdb, which added multiple minutes to the compilation time.
32 lines
1.2 KiB
TOML
32 lines
1.2 KiB
TOML
[package]
|
|
name = "serai-coins-primitives"
|
|
version = "0.1.0"
|
|
description = "Serai coins primitives"
|
|
license = "MIT"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.69"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
zeroize = { version = "^1.5", features = ["derive"], optional = true }
|
|
|
|
borsh = { version = "1", default-features = false, features = ["derive", "de_strict_order"], optional = true }
|
|
serde = { version = "1", default-features = false, features = ["derive", "alloc"], optional = true }
|
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2", default-features = false, features = ["derive"] }
|
|
|
|
serai-primitives = { path = "../../primitives", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
|
|
|
[features]
|
|
std = ["zeroize", "borsh?/std", "serde?/std", "scale/std", "scale-info/std", "sp-runtime/std", "serai-primitives/std"]
|
|
borsh = ["dep:borsh", "serai-primitives/borsh"]
|
|
serde = ["dep:serde", "serai-primitives/serde"]
|
|
default = ["std"]
|