-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (43 loc) · 1.18 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
[package]
name = "tmag5273"
rust-version = "1.81" # required for core errors functionality when working with no-std environments
version = "0.1.1"
edition = "2021"
authors = [
"Scott Gibb <scott.gibb@dyson.com",
"Pete Kubiak <peter.kubiak@dyson.com>",
"James Sizeland <james.sizeland@dyson.com>",
]
repository = "https://stash.dyson.global.corp/projects/NEA/repos/rs-tmag5273-driver/browse"
description = "Platform agnostic Rust driver for the Texas Instruments TMAG5273 3 Axis Hall Effect Sensor"
readme = "README.md"
keywords = [
"tmag5273",
"Hall effect Sensor",
"i2c",
"driver",
"texas instruments",
"embedded-hal",
]
categories = ["embedded", "no-std", "driver", "i2c"]
[dependencies]
num_enum = { version = "0.7.3", default-features = false }
arbitrary-int = "1.2.7"
bitbybit = "1.3.2"
embedded-hal = "1.0.0"
log = { version = "0.4.22", optional = true }
defmt = { version = "0.3.8", optional = true }
[dev-dependencies]
utils = { path = "./utils", default-features = false }
[features]
default = ["std"]
defmt = ["dep:defmt"]
log = ["dep:log"]
std = ["utils/std"]
rpi = ["utils/rpi"]
[workspace]
members = [
"examples/esp32-c3",
"utils",
"./",
]