-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
59 lines (45 loc) · 1.14 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[workspace.package]
version = "4.4.0"
[workspace]
resolver = "2"
members = [
"./dev-runtime",
"./library/bind-utils",
"./hal/i2c-noop",
"./hal/spi-noop",
"./hal/uart-noop",
"./hal/wdt-noop",
"./hal/uart-kble",
"./examples/mobc",
"./examples/subobc",
]
[workspace.dependencies]
c2a-core = { path = "." }
c2a-bind-utils = { path = "./library/bind-utils" }
c2a-dev-runtime = { path = "./dev-runtime" }
c2a-wdt-noop = { path = "./hal/wdt-noop" }
c2a-uart-kble = { path = "./hal/uart-kble" }
[package]
name = "c2a-core"
version.workspace = true
edition = "2021"
description = "Core of Command Centric Architecture"
readme = "README.md"
license = "MIT"
repository = "https://github.com/arkedge/c2a-core"
documentation = "https://ut-issl.github.io/c2a-reference/c2a-core"
[lib]
path = "c2a_core.rs"
[features]
default = ["clang-runtime"]
std = []
export-src = ["std"]
clang-runtime = ["clang/runtime"]
no-c2a-link = []
[build-dependencies]
semver = "1.0.22"
clang = "2.0.0"
c2a-bind-utils = "4.0.0-beta.0"
[dev-dependencies]
# unit test 時に libC2A.a を要求しないようにする
c2a-core = { path = ".", features = ["no-c2a-link"] }