[package]
name = "fuel-indexer-schema"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
description = "Fuel Indexer Schema"
[dependencies]
async-graphql-parser = "5.0"
fuel-indexer-database = { workspace = true, optional = true }
fuel-indexer-lib = { workspace = true }
fuel-indexer-types = { workspace = true }
hex = "0.4"
itertools = "0.10"
serde = { default-features = false, features = ["derive"], workspace = true }
sqlx = { version = "0.6", optional = true, features = ["postgres", "runtime-tokio-rustls", "bigdecimal"] }
thiserror = { workspace = true }
tracing = { workspace = true, optional = true }
[dev-dependencies]
insta = { version = "1.8", features = ["yaml"] }
[features]
default = ["db-models"]
db-models = [
"fuel-indexer-database",
"tracing",
"sqlx",
]