forked from cartridge-gg/controller-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (59 loc) · 1.82 KB
/
Cargo.toml
File metadata and controls
74 lines (59 loc) · 1.82 KB
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
70
71
72
73
74
[package]
name = "controller-cli"
version = "0.1.14"
edition = "2021"
authors = ["Cartridge <engineering@cartridge.gg>"]
description = "CLI for Cartridge Controller session management"
license = "MIT"
repository = "https://github.com/cartridge-gg/controller-cli"
[[bin]]
name = "controller"
path = "src/main.rs"
[dependencies]
# Use existing account_sdk from controller-rs
# Local development: use path dependency
# account_sdk = { path = "../controller-rs/account_sdk", features = ["filestorage"] }
# Release builds: use git dependency
account_sdk = { git = "https://github.com/cartridge-gg/controller-rs", tag = "v0.9.2", package = "account_sdk", features = ["filestorage"] }
# CLI framework
clap = { version = "4.5", features = ["derive", "env"] }
# HTTP client for API queries (using rustls for better cross-compilation)
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# HTTP server for callback
axum = "0.7"
tower = "0.4"
tower-http = { version = "0.5", features = ["cors"] }
# Async runtime (already in account_sdk)
tokio = { version = "1", features = ["full"] }
# Serialization (already in account_sdk)
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
erased-serde = "0.4"
# Async utilities
futures = "0.3"
# Error handling (already in account_sdk)
anyhow = "1"
thiserror = "1"
# Encoding
base64 = "0.22"
hex = "0.4"
url = "2.3"
webbrowser = "1.0"
# Terminal output
colored = "2.1"
indicatif = "0.17"
# Time handling (already in account_sdk)
chrono = { version = "0.4", features = ["serde"] }
# StarkNet (already in account_sdk, but explicit for clarity)
starknet = "0.17.0"
starknet-crypto = "0.8.1"
cainome-cairo-serde = "0.4.0"
# Config file parsing
toml = "0.8"
dirs = "5.0"
shellexpand = "3.1"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true