2 releases

Uses new Rust 2021

0.1.1+tinydtls-c7c3ca8 Feb 23, 2022
0.1.0+tinydtls-68f6045 Jan 10, 2022

#5 in #dtls

39 downloads per month
Used in 2 crates (via libcoap-sys)

(EPL-1.0 OR BSD-3-Clause) AND BSD-1-Clause AND BSD-3-Clause AND MIT

490KB
11K SLoC

C 10K SLoC // 0.2% comments Rust 461 SLoC // 0.1% comments Perl 301 SLoC // 0.1% comments Shell 14 SLoC // 0.1% comments

tinydtls-sys

Raw bindings to the tinydtls C library.

Features

These features affect the way that the binding is built:

  • vendored (default): Build and use a vendored version of tinydtls instead of linking to an existing one.
  • static (default): Use static linking instead of dynamic linking

These features affect the functionality of the library (only apply if vendored is enabled, we can't control features of binaries that are already built):

  • ecc (default): Enable ECC functionality
  • psk (default): Enable PSK functionality

License

Matching the license of the tinydtls C library, this library is made available both under the terms of the Eclipse Public License v1.0 and 3-Clause BSD License (which the Eclipse Distribution License v1.0 that is used for tinydtls is based on).

Additionally, the tinydtls C library contains third party code that might be included in compiled binaries that link to tinydtls. For information on third-party code and its licenses, see https://github.com/eclipse/tinydtls/blob/develop/ABOUT.md.

See https://github.com/eclipse/tinydtls/blob/develop/LICENSE for more information on the tinydtls licensing terms and https://www.eclipse.org/legal/eplfaq.php for more information on the EPL 1.0.

Note: This binding is neither supported nor endorsed by the Eclipse Foundation.

Dependencies

~0–1.6MB
~34K SLoC