freenet-stdlib 0.1.32

Freeenet standard library
Documentation
# 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"
rust-version = "1.71.1"
name = "freenet-stdlib"
version = "0.1.32"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Freeenet standard library"
readme = false
license = "LGPL-3.0-only"
repository = "https://github.com/freenet/freenet-stdlib"

[features]
contract = []
default = []
freenet-main-contract = []
net = [
    "dep:tokio",
    "dep:tokio-tungstenite",
    "dep:wasm-bindgen",
    "dep:web-sys",
    "dep:js-sys",
    "dep:serde-wasm-bindgen",
]
testing = ["dep:arbitrary"]
trace = []
unstable = []
wasmer-tests = []

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

[[example]]
name = "chatroom"
path = "examples/chatroom.rs"

[[example]]
name = "contract_components"
path = "examples/contract_components.rs"

[dependencies.arbitrary]
version = "1"
features = ["derive"]
optional = true

[dependencies.bincode]
version = "1"

[dependencies.blake3]
version = "1"
features = [
    "std",
    "traits-preview",
]

[dependencies.bs58]
version = "0.5"

[dependencies.byteorder]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "alloc",
    "serde",
]
default-features = false

[dependencies.flatbuffers]
version = "24.3"

[dependencies.freenet-macros]
version = "0.1.0-rc1"

[dependencies.futures]
version = "0.3"

[dependencies.once_cell]
version = "1"

[dependencies.semver]
version = "1"
features = ["serde"]

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"
features = [
    "macros",
    "alloc",
]
default-features = false

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "default",
    "env-filter",
]

[target.'cfg(all(target_family = "wasm"))'.dependencies.js-sys]
version = "0.3"
optional = true

[target."cfg(any(unix, windows))".dependencies.serde_with]
version = "3"

[target."cfg(any(unix, windows))".dependencies.tokio]
version = "1"
features = [
    "macros",
    "parking_lot",
    "rt-multi-thread",
    "sync",
    "time",
]
optional = true

[target."cfg(any(unix, windows))".dependencies.tokio-tungstenite]
version = "0.27.0"
optional = true

[target."cfg(any(unix, windows))".dev-dependencies.arbitrary]
version = "1"
features = ["derive"]

[target."cfg(any(unix, windows))".dev-dependencies.bincode]
version = "1"

[target."cfg(any(unix, windows))".dev-dependencies.rand]
version = "0.9"
features = ["small_rng"]

[target."cfg(any(unix, windows))".dev-dependencies.wasmer]
version = "5.0.4"
features = ["sys-default"]

[target.'cfg(target_family = "wasm")'.dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2"
features = ["serde-serialize"]
optional = true

[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3"
features = [
    "BinaryType",
    "Blob",
    "CloseEvent",
    "ErrorEvent",
    "FileReader",
    "MessageEvent",
    "ProgressEvent",
    "WebSocket",
]
optional = true