forked from ch32-rs/qingke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (38 loc) · 1.13 KB
/
Cargo.toml
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
[workspace]
members = ["qingke-rt", "qingke-rt/macros"]
[workspace.package]
authors = ["Andelf <[email protected]>"]
repository = "https://github.com/ch32-rs/qingke"
documentation = "https://docs.rs/qingke"
homepage = "https://github.com/ch32-rs/qingke"
categories = ["embedded", "no-std", "hardware-support"]
license = "MIT/Apache-2.0"
version = "0.5.0" # for rt and macros
edition = "2021"
[package]
name = "qingke"
version.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
documentation.workspace = true
homepage.workspace = true
categories.workspace = true
license.workspace = true
description = "Low level access to WCH's QingKe RISC-V processors"
keywords = ["qingke", "wch", "riscv", "ch32v"]
readme = "README.md"
[dependencies]
bit_field = "0.10.2"
riscv = "0.12.0"
critical-section = { version = "1.2.0", features = [
"restore-state-bool",
], optional = true }
defmt = { version = "0.3.8", optional = true }
[features]
critical-section-impl = ["dep:critical-section"]
defmt = ["dep:defmt"]
v3 = []
unsafe-trust-wch-atomics = []
[package.metadata.docs.rs]
targets = ["riscv32imc-unknown-none-elf"]