Files
sphinx-key/sphinx-key/Cargo.toml
2023-10-30 15:35:49 +00:00

62 lines
1.9 KiB
TOML

[package]
authors = ["Evan Feenstra <evanfeenstra@gmail.com>"]
edition = "2021"
name = "sphinx-key"
rust-version = "1.66"
version = "0.1.0"
resolver = "2"
[features]
default = ["std"]
no_persist = []
pingpong = []
std = ["sphinx-signer"]
tls = []
[dependencies]
hex = "0.4.3"
serde = { version = "1.0.137", default-features = false }
serde_json = { version = "1.0.81", default-features = false }
serde_urlencoded = "0.7.1"
url = "2"
# sphinx-rs
lss-connector = { git = "https://github.com/stakwork/sphinx-rs.git", default-features = false, rev = "1b6b89123171e621617125e8ab59faa246aa2ee3" }
sphinx-crypter = { git = "https://github.com/stakwork/sphinx-rs.git", rev = "1b6b89123171e621617125e8ab59faa246aa2ee3" }
sphinx-signer = { git = "https://github.com/stakwork/sphinx-rs.git", optional = true, rev = "1b6b89123171e621617125e8ab59faa246aa2ee3" }
# local
# lss-connector = { path = "../../sphinx-rs/lss-connector", default-features = false }
# sphinx-crypter = { path = "../../sphinx-rs/crypter" }
# sphinx-signer = { path = "../../sphinx-rs/signer", optional = true }
anyhow = { version = "1", features = ["backtrace"] }
bitflags = "1.3.2"
embedded-hal = "=1.0.0-alpha.10"
embedded-svc = "0.25.0"
esp-idf-hal = "0.41.1"
esp-idf-svc = { version = "0.46.0", features = ["experimental", "alloc"] }
esp-idf-sys = { version = "0.33.1", features = ["binstart"] }
log = "0.4.17"
[build-dependencies]
embuild = "0.31.2"
[[bin]]
name = "clear"
path = "src/clear.rs"
[[bin]]
name = "btn"
path = "src/btn.rs"
[profile.release]
codegen-units = 1
lto = true
opt-level = "z" # Optimize for size.
panic = "abort"
strip = true # Automatically strip symbols from the binary.
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"