forked from google/OpenSK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update third_party/libtock-drivers to support OpenSK.
- Loading branch information
Showing
9 changed files
with
394 additions
and
837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,16 @@ | ||
[package] | ||
name = "libtock" | ||
version = "0.2.0" | ||
authors = ["Tock Project Developers <[email protected]>"] | ||
name = "libtock_drivers" | ||
version = "0.1.0" | ||
authors = [ | ||
"Tock Project Developers <[email protected]>" | ||
"Guillaume Endignoux <[email protected]>", | ||
] | ||
license = "MIT/Apache-2.0" | ||
edition = "2018" | ||
|
||
[features] | ||
alloc = ["libtock_core/alloc"] | ||
custom_panic_handler = ["libtock_core/custom_panic_handler"] | ||
custom_alloc_error_handler = ["libtock_core/custom_alloc_error_handler"] | ||
__internal_disable_gpio_in_integration_test = [] | ||
|
||
[dependencies] | ||
libtock_core = { path = "core" } | ||
libtock_codegen = { path = "codegen" } | ||
futures = { version = "0.3.1", default-features = false, features = ["unstable", "cfg-target-has-atomic"] } | ||
|
||
[dev-dependencies] | ||
corepack = { version = "0.4.0", default-features = false, features = ["alloc"] } | ||
# We pin the serde version because newer serde versions may not be compatible | ||
# with the nightly toolchain used by libtock-rs. | ||
serde = { version = "=1.0.84", default-features = false, features = ["derive"] } | ||
|
||
[[example]] | ||
name = "alloc_error" | ||
path = "examples-features/alloc_error.rs" | ||
required-features = ["alloc", "custom_alloc_error_handler"] | ||
|
||
[[example]] | ||
name = "ble_scanning" | ||
path = "examples-features/ble_scanning.rs" | ||
required-features = ["alloc"] | ||
|
||
[[example]] | ||
name = "libtock_test" | ||
path = "examples-features/libtock_test.rs" | ||
required-features = ["alloc"] | ||
libtock_core = { path = "../../third_party/libtock-rs/core" } | ||
|
||
[[example]] | ||
name = "panic" | ||
path = "examples-features/panic.rs" | ||
required-features = ["custom_panic_handler"] | ||
|
||
[[example]] | ||
name = "simple_ble" | ||
path = "examples-features/simple_ble.rs" | ||
required-features = ["alloc"] | ||
|
||
[profile.dev] | ||
panic = "abort" | ||
lto = true | ||
debug = true | ||
|
||
[profile.release] | ||
panic = "abort" | ||
lto = true | ||
debug = true | ||
|
||
[workspace] | ||
exclude = [ "tock" ] | ||
members = [ | ||
"codegen", | ||
"core", | ||
"test_runner", | ||
"tools/print_sizes", | ||
] | ||
[features] | ||
debug_ctap = [] | ||
verbose_usb = ["debug_ctap"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.