# 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.0.7" publish = true description = "Freeenet standard library" license = "MIT OR Apache-2.0" repository = "https://github.com/freenet/freenet-stdlib" [dependencies.arbitrary] version = "1" features = ["derive"] optional = true [dependencies.arrayvec] version = "0.7" features = ["serde"] [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 = "23.5.26" [dependencies.freenet-macros] version = "0.0.4" [dependencies.futures] version = "0.3" [dependencies.once_cell] version = "1" [dependencies.semver] version = "1.0.14" 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", ] [features] contract = [ "time", "log", ] default = [] log = [] net = [ "dep:tokio", "dep:tokio-tungstenite", "dep:wasm-bindgen", "dep:web-sys", "dep:js-sys", "dep:serde-wasm-bindgen", ] testing = ["arbitrary"] time = [] trace = [] [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.20" 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.8" features = ["small_rng"] [target."cfg(any(unix, windows))".dev-dependencies.wasmer] version = "4.2.0" 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", "ErrorEvent", "FileReader", "MessageEvent", "ProgressEvent", "WebSocket", ] optional = true