3 releases

0.1.2+tinydtls-c84e36f Nov 19, 2022
0.1.1+tinydtls-c7c3ca8 Feb 23, 2022
0.1.0+tinydtls-68f6045 Jan 10, 2022

#10 in #dtls

Download history 17/week @ 2024-02-19 28/week @ 2024-02-26 19/week @ 2024-03-04 16/week @ 2024-03-11 5/week @ 2024-03-18 49/week @ 2024-04-01 47/week @ 2024-04-08 3/week @ 2024-04-15

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

(EPL-1.0 OR BSD-3-Clause)…

515KB
11K SLoC

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

Contains (obscure autoconf code, 5KB) src/tinydtls/configure.ac

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–2MB
~38K SLoC