aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 8504c068dc2716c3f765e8f5cf64e88f12766165 (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
# 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.6.1"
cortex-m-rt = "0.6.11"
embedded-hal = "0.2.3"
panic-halt = "0.2.0"
serde-big-array = "0.2.0"
static_assertions = "0.3.4"
usb-device = "0.2.3"

[dependencies.hal]
package = "stm32f1xx-hal"
version = "0.5.2"
features = ["stm32-usbd", "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