aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-synopsys-otg/Cargo.toml
blob: eca68095d6999804f3df6eb24a0253355ca0dbb4 (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
[package]
name = "embassy-usb-synopsys-otg"
version = "0.3.1"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "`embassy-usb-driver` implementation for Synopsys OTG USB controllers"
keywords = ["embedded", "async", "usb", "hal", "embedded-hal"]
categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
repository = "https://github.com/embassy-rs/embassy"
documentation = "https://docs.embassy.dev/embassy-usb-synopsys-otg"

[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-synopsys-otg-v$VERSION/embassy-usb-synopsys-otg/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-synopsys-otg/src/"
features = ["defmt"]
target = "thumbv7em-none-eabi"

[dependencies]
critical-section = "1.1"

embassy-sync = { version = "0.7.2", path = "../embassy-sync" }
embassy-usb-driver = { version = "0.2.0", path = "../embassy-usb-driver" }

defmt = { version = "1.0.1", optional = true }
log = { version = "0.4.14", optional = true }

[features]
defmt = ["dep:defmt", "embassy-usb-driver/defmt"]
log = ["dep:log"]