af-switchboard-wrapper 0.0.35

Move types for Aftermath's `SwitchboardWrapper` package that extends `AfOracle`
Documentation
[package]
description = "Move types for Aftermath's `SwitchboardWrapper` package that extends `AfOracle`"
name        = "af-switchboard-wrapper"
version     = "0.0.35"

authors.workspace      = true
categories.workspace   = true
edition.workspace      = true
license.workspace      = true
repository.workspace   = true
rust-version.workspace = true

[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--generate-link-to-definition" cargo doc --all-features --no-deps --open
all-features = true
rustdoc-args = [
  # Generate links to definition in rustdoc source code pages
  # https://github.com/rust-lang/rust/pull/84176
  "--generate-link-to-definition",
]

[lints]
workspace = true

[features]
graphql = [
  "dep:af-move-type",
  "dep:af-sui-types",
  "dep:extension-traits",
  "dep:sui-gql-client",
  "dep:thiserror",
  "dep:trait-variant",
]
ptb = ["dep:af-ptbuilder", "dep:extension-traits"]

[dependencies]
# Public dependencies; a SemVer-breaking bump in one of these must come with a SemVer-breaking bump
# to this crate
# https://rust-lang.github.io/rfcs/3516-public-private-dependencies.html
af-ptbuilder      = { version = "13.0.0", public = true, optional = true, path = "../af-ptbuilder" }
af-sui-pkg-sdk    = { version = "0.15.1", public = true, path = "../af-sui-pkg-sdk" }
sui-framework-sdk = { version = "0.17.1", public = true, path = "../sui-framework-sdk" }
sui-gql-client    = { version = "0.26", public = true, default-features = false, optional = true, path = "../sui-gql-client" }
sui-sdk-types     = { version = "0.3", public = true }

extension-traits = { version = "2", optional = true }
thiserror        = { version = "2", optional = true }
trait-variant    = { version = "0.1", optional = true }

af-move-type = { version = "0.18.1", optional = true, path = "../af-move-type" }
af-sui-types = { version = "0.18.0", optional = true, path = "../af-sui-types" }