aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 0d773d8e0b5135d324f9613a5c3d419fc3ac01dc (plain)
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
# Copyright 2019 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: CC0-1.0

[package]
name = "ntw"
version = "0.1.0"
authors = ["Robin Krahl <robin.krahl@ireas.org>"]
description = "experimental firmware for the Nitrokey Pro"
readme = "README.md"
edition = "2018"

[dependencies]
cortex-m = "0.5.8"
cortex-m-rt = "0.6.7"
embedded-hal = "0.2.2"
panic-halt = "0.2.0"
serde-big-array = "0.1.4"
static_assertions = "0.3.1"
stm32f103xx-usb = { git = "https://github.com/mvirkkunen/stm32f103xx-usb", rev = "57d23751367461bec5f39322727bdd65e5c2aa30" }
usb-device = { git = "https://github.com/mvirkkunen/usb-device", rev = "e58e30f3b9c9bf4aab00ea039d129b964a3fd2d3" }

[dependencies.hal]
package = "stm32f1xx-hal"
version = "0.1.1"
features = ["stm32f103", "rt"]

[dependencies.serde]
version = "1.0"
default-features = false
features = ["derive"]

[dependencies.ssmarshal]
version = "1.0"
default-features = false

[profile.release]
codegen-units = 1
debug = true
lto = true