# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "feagi-io"
version = "0.0.1-beta.21"
authors = ["Neuraville Inc. <feagi@neuraville.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FEAGI I/O System"
homepage = "https://feagi.org"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/feagi/feagi-core"

[features]
bluetooth-transport = []
default = [
    "feagi-server",
    "feagi-client",
    "zmq-transport",
    "websocket-transport-std",
    "shm-transport",
]
feagi-client = []
feagi-server = []
js-bridge-wasm = []
platform-no-std = []
platform-std = []
platform-wasm = []
shm-transport = []
websocket-transport-std = ["dep:tungstenite"]
websocket-transport-wasm = []
zmq-transport = ["dep:zmq"]

[lib]
name = "feagi_io"
path = "src/lib.rs"

[[example]]
name = "pub_sub"
path = "examples/pub_sub.rs"
required-features = [
    "zmq-transport",
    "websocket-transport-std",
    "feagi-server",
    "feagi-client",
]

[[example]]
name = "push_pull"
path = "examples/push_pull.rs"
required-features = [
    "zmq-transport",
    "websocket-transport-std",
    "feagi-server",
    "feagi-client",
]

[[example]]
name = "request_reply"
path = "examples/request_reply.rs"
required-features = [
    "zmq-transport",
    "websocket-transport-std",
    "feagi-server",
    "feagi-client",
]

[[test]]
name = "transport_realtime_regression"
path = "tests/transport_realtime_regression.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.feagi-serialization]
version = "=0.0.1-beta.21"

[dependencies.getrandom]
version = "0.2.17"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.tungstenite]
version = "0.24.0"
optional = true

[dependencies.zmq]
version = "0.10.0"
optional = true

[dev-dependencies.feagi-structures]
version = "=0.0.1-beta.21"

[dev-dependencies.serde_json]
version = "1.0.149"
