mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-04-18 17:13:10 +00:00
- ValidityWindow<T = BlockId> now generic over bound type - Generic Display<T> implementation for all bound types - to_datetime_window() converts block-id window to UTC datetime window - Backward compatible: default type param is BlockId Enables ValidityWindow<chrono::DateTime<Utc>> for human-readable display. Refs #421
27 lines
655 B
TOML
27 lines
655 B
TOML
[package]
|
|
name = "indexer_service_protocol"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
chrono = { workspace = true }
|
|
nssa_core = { workspace = true, optional = true, features = ["host"] }
|
|
nssa = { workspace = true, optional = true }
|
|
common = { workspace = true, optional = true }
|
|
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_with.workspace = true
|
|
schemars.workspace = true
|
|
base64.workspace = true
|
|
base58.workspace = true
|
|
hex.workspace = true
|
|
anyhow.workspace = true
|
|
|
|
[features]
|
|
# Enable conversion to/from NSSA core types
|
|
convert = ["dep:nssa_core", "dep:nssa", "dep:common"]
|