2 releases
0.1.4 | May 22, 2020 |
---|---|
0.1.3 |
|
0.1.2 | May 21, 2020 |
#7 in #smoltcp
24 downloads per month
77KB
1.5K
SLoC
smolapps
Collection of application-layer protocols built on top of
smoltcp
.
This crate aims to follow the same guinding principles of smoltcp
: simplicity and robustness.
It is a #![no_std]
-first crate, designed for bare-metal, real-time systems.
Heap allocations (if at all present) will be reduced to a minimum, and will always be feature gated.
This crate is still a major WIP, and as such the API may change significantly even in patch releases.
The following protocols are implemented at this time:
- Simple Network Time Protocol (SNTPv4, client only)
- Trivial File Transfer Protocol (TFTP, server only)
Requirements
- Rust 1.43+
Examples
See the examples directory for examples and instructions on how to use this crate in a hosted Linux environment. For bare-metal examples, refer to the documentation and the loopback example of smoltcp.
Features
The following features can be enabled at the crate level and are enabled by default:
sntp
enables compilation of the SNTP clienttftp
enables compilation of the TFTP server
License
Copyright © 2020 Pietro Lorefice
Dual licensed under your choice of either of:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Dependencies
~2MB
~45K SLoC