# 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 = "rings-node" version = "0.7.0" authors = ["RND "] default-run = "rings" description = """ Rings is a structured peer-to-peer network implementation using WebRTC, Chord algorithm, and full WebAssembly (WASM) support. """ readme = "README.md" keywords = [ "Chord", "DHT", "Web3", "P2P", "WASM", ] categories = [ "network-programming", "cryptography", "wasm", ] license = "GPL-3.0" repository = "https://github.com/RingsNetwork/rings-node" [package.metadata.wasm-pack.profile.release] wasm-opt = ["-O4"] [lib] crate-type = [ "cdylib", "rlib", ] [[bin]] name = "rings" path = "bin/rings.rs" required-features = ["node"] [dependencies.anyhow] version = "1.0.45" [dependencies.arrayref] version = "0.3.6" [dependencies.async-stream] version = "0.3.2" optional = true [dependencies.async-trait] version = "0.1.77" [dependencies.axum] version = "0.6.10" optional = true [dependencies.backtrace] version = "0.3.6" optional = true [dependencies.base64] version = "0.13.0" [dependencies.bincode] version = "1.3.3" [dependencies.bytes] version = "1.2.1" features = ["serde"] [dependencies.chrono] version = "0.4.23" [dependencies.clap] version = "4.0.14" features = [ "derive", "env", ] optional = true [dependencies.console_error_panic_hook] version = "0.1.1" optional = true [dependencies.dashmap] version = "5" [dependencies.dotenv] version = "0.15.0" [dependencies.flate2] version = "1.0" [dependencies.form_urlencoded] version = "1.0.1" optional = true [dependencies.futures] version = "0.3.21" features = ["alloc"] [dependencies.futures-timer] version = "3.0.2" [dependencies.home] version = "0.5.5" optional = true [dependencies.http] version = "0.2.6" [dependencies.hyper] version = "0.14.25" features = ["full"] optional = true [dependencies.js-sys] version = "0.3.64" optional = true [dependencies.jsonrpc-core] version = "18.0.0" [dependencies.lazy_static] version = "1.4.0" optional = true [dependencies.log] version = "0.4" features = ["std"] [dependencies.pin-project] version = "1" optional = true [dependencies.reqwest] version = "0.11" features = [ "json", "rustls-tls", ] optional = true default-features = false [dependencies.reqwest-wasm] version = "0.11" features = [ "json", "rustls-tls", ] optional = true default-features = false [dependencies.rings-core] version = "0.7.0" optional = true default-features = false [dependencies.rings-derive] version = "0.7.0" optional = true default-features = false [dependencies.rings-rpc] version = "0.7.0" optional = true default-features = false [dependencies.rings-snark] version = "0.7.0" optional = true default-features = false [dependencies.rings-transport] version = "0.7.0" [dependencies.serde] version = "1.0.136" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6.5" optional = true [dependencies.serde_json] version = "1.0.70" [dependencies.serde_yaml] version = "0.9.17" [dependencies.strum] version = "0.25.0" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.13.0" features = ["full"] optional = true [dependencies.tokio-util] version = "0.7.8" optional = true [dependencies.tower-http] version = "0.3.4" features = ["cors"] optional = true [dependencies.tracing] version = "0.1.37" [dependencies.tracing-log] version = "0.1.3" [dependencies.tracing-subscriber] version = "0.3.15" features = ["ansi"] [dependencies.tracing-wasm] version = "0.2.1" optional = true [dependencies.uuid] version = "0.8.2" [dependencies.wasm-bindgen] version = "0.2.87" features = ["serde-serialize"] optional = true [dependencies.wasm-bindgen-futures] version = "0.4.37" optional = true [dependencies.wasmer] version = "4.2.5" optional = true default-features = false [dependencies.wasmer-types] version = "3.3.0" optional = true [dev-dependencies.fluvio-wasm-timer] version = "0.2.5" [dev-dependencies.wasm-bindgen-test] version = "0.3.0" [build-dependencies.cbindgen] version = "0.24.0" optional = true [features] browser = [ "backtrace", "clap", "tracing-wasm", "reqwest-wasm", "rings-core/wasm", "rings-rpc/wasm", "rings-derive/wasm", "rings-transport/web-sys-webrtc", "serde-wasm-bindgen", "wasmer/js-default", "lazy_static", "wasm-bindgen", "wasm-bindgen-futures", "js-sys", ] browser_chrome_test = ["browser_default"] browser_default = [ "browser", "snark", ] default = ["node_default"] ffi = [ "node", "cbindgen", ] node = [ "tokio", "tokio-util", "hyper", "tower-http", "clap", "reqwest", "form_urlencoded", "pin-project", "async-stream", "backtrace", "lazy_static", "axum/ws", "axum/headers", "rings-core/default", "rings-rpc/std", "rings-derive/default", "rings-transport/native-webrtc", "wasmer/default", "wasmer-types", "home", ] node_default = [ "node", "snark", ] snark = ["rings-snark"]