From dc41f492291f8221ecb0c2bb9fec4d936adc1e28 Mon Sep 17 00:00:00 2001
From: Martine Lenders <m.lenders@fu-berlin.de>
Date: Wed, 25 Apr 2018 16:46:17 +0200
Subject: [PATCH] cbor: add deprecation note

---
 sys/include/cbor.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/include/cbor.h b/sys/include/cbor.h
index 27648e8311..68ab078e66 100644
--- a/sys/include/cbor.h
+++ b/sys/include/cbor.h
@@ -14,6 +14,10 @@
  *
  * @brief CBOR serializer/deserializer
  *
+ * @deprecated This library is based on a draft-version of
+ *             [RFC7049](https://tools.ietf.org/html/rfc7049) and also has other
+ *             flaws. Please use alternatives like @ref pkg_cn-cbor instead.
+ *
  * This is an implementation suited for constrained devices
  * Characteristics:
  * - No dynamic memory allocation (i.e. no calls to `malloc()`, `free()`) used
-- 
GitLab