-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
69 lines (52 loc) · 1.79 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "pistellar_nexus_protocol"
version = "0.1.0"
edition = "2021"
# Description of the project
description = "A Rust implementation of the Pistellar Nexus Protocol for decentralized communication."
license = "MIT"
authors = ["KOSASIH"]
homepage = "https://github.com/KOSASIH/pistellar-nexus-protocol"
repository = "https://github.com/KOSASIH/pistellar-nexus-protocol"
keywords = ["decentralized", "protocol", "communication", "Rust"]
[dependencies]
# Asynchronous runtime for handling concurrent tasks
tokio = { version = "1", features = ["full"] }
# HTTP client for making requests
reqwest = { version = "0.11", features = ["json", "stream"] }
# JSON serialization/deserialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Cryptography library for secure data handling
ring = "0.16"
# Logging library for debugging and monitoring
log = "0.4"
env_logger = "0.10"
# Error handling
thiserror = "1.0"
# For WebSocket support for real-time communication
tokio-tungstenite = "0.15"
# For advanced data structures and algorithms
nalgebra = "0.29"
# For interacting with databases
diesel = { version = "2.0", features = ["r2d2", "sqlite"] }
# For creating a command-line interface
clap = { version = "3.0", features = ["derive"] }
# For advanced networking capabilities
async-std = "1.10"
# For protocol-specific features
pistellar = { git = "https://github.com/KOSASIH/pistellar", branch = "main" }
[features]
# Optional features for enhanced functionality
full = ["tokio", "reqwest", "serde", "ring", "log", "tokio-tungstenite", "nalgebra", "diesel", "clap", "async-std", "pistellar"]
# Feature flags for different environments
dev = ["log", "env_logger"]
prod = []
[profile.dev]
opt-level = 0
debug = true
lto = false
[profile.release]
opt-level = 3
debug = false
lto = true