summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2025-05-30 10:25:36 +0300
committerthegeorg <[email protected]>2025-05-30 10:47:42 +0300
commit8b8d94c31949c2597d5c8ed23d8b7c45de2290f5 (patch)
tree59a60c51f2d9c4570718413694af0d6ae4ad3b5b
parent84047e399488ec9c924577970e1bd8e0047754ec (diff)
Deprecate contrib/libs/yajl and contrib/restricted/http-parser
* http-parser was explicitly deprecated: https://github.com/nodejs/http-parser Use contrib/restricted/llhttp instead * https://github.com/lloyd/yajl received no updates for 10 years. Use either contrib/libs/json-c or contrib/libs/simdjson instead. commit_hash:4be3755e7075401bf866ec2716550bec000286b1
-rw-r--r--contrib/deprecated/http-parser/.yandex_meta/__init__.py (renamed from contrib/restricted/http-parser/.yandex_meta/__init__.py)0
-rw-r--r--contrib/deprecated/http-parser/.yandex_meta/devtools.copyrights.report (renamed from contrib/restricted/http-parser/.yandex_meta/devtools.copyrights.report)0
-rw-r--r--contrib/deprecated/http-parser/.yandex_meta/devtools.licenses.report (renamed from contrib/restricted/http-parser/.yandex_meta/devtools.licenses.report)0
-rw-r--r--contrib/deprecated/http-parser/.yandex_meta/licenses.list.txt (renamed from contrib/restricted/http-parser/.yandex_meta/licenses.list.txt)0
-rw-r--r--contrib/deprecated/http-parser/.yandex_meta/override.nix (renamed from contrib/restricted/http-parser/.yandex_meta/override.nix)0
-rw-r--r--contrib/deprecated/http-parser/AUTHORS (renamed from contrib/restricted/http-parser/AUTHORS)0
-rw-r--r--contrib/deprecated/http-parser/LICENSE-MIT (renamed from contrib/restricted/http-parser/LICENSE-MIT)0
-rw-r--r--contrib/deprecated/http-parser/README.md (renamed from contrib/restricted/http-parser/README.md)0
-rw-r--r--contrib/deprecated/http-parser/http_parser.c (renamed from contrib/restricted/http-parser/http_parser.c)0
-rw-r--r--contrib/deprecated/http-parser/http_parser.h (renamed from contrib/restricted/http-parser/http_parser.h)0
-rw-r--r--contrib/deprecated/http-parser/patches/field-uint32.patch (renamed from contrib/restricted/http-parser/patches/field-uint32.patch)0
-rw-r--r--contrib/deprecated/http-parser/patches/parser-flags.patch (renamed from contrib/restricted/http-parser/patches/parser-flags.patch)6
-rw-r--r--contrib/deprecated/http-parser/ya.make (renamed from contrib/restricted/http-parser/ya.make)2
-rw-r--r--contrib/deprecated/yajl/.yandex_meta/devtools.copyrights.report (renamed from contrib/libs/yajl/.yandex_meta/devtools.copyrights.report)0
-rw-r--r--contrib/deprecated/yajl/.yandex_meta/devtools.licenses.report (renamed from contrib/libs/yajl/.yandex_meta/devtools.licenses.report)0
-rw-r--r--contrib/deprecated/yajl/.yandex_meta/licenses.list.txt (renamed from contrib/libs/yajl/.yandex_meta/licenses.list.txt)0
-rw-r--r--contrib/deprecated/yajl/patches/fix_memory_leak.patch (renamed from contrib/libs/yajl/patches/fix_memory_leak.patch)4
-rw-r--r--contrib/deprecated/yajl/patches/uint64_support_r767862_review16855.patch (renamed from contrib/libs/yajl/patches/uint64_support_r767862_review16855.patch)0
-rw-r--r--contrib/deprecated/yajl/src/api/yajl_common.h (renamed from contrib/libs/yajl/src/api/yajl_common.h)0
-rw-r--r--contrib/deprecated/yajl/src/api/yajl_gen.h (renamed from contrib/libs/yajl/src/api/yajl_gen.h)0
-rw-r--r--contrib/deprecated/yajl/src/api/yajl_parse.h (renamed from contrib/libs/yajl/src/api/yajl_parse.h)0
-rw-r--r--contrib/deprecated/yajl/src/api/yajl_tree.h (renamed from contrib/libs/yajl/src/api/yajl_tree.h)0
-rw-r--r--contrib/deprecated/yajl/src/api/yajl_version.h (renamed from contrib/libs/yajl/src/api/yajl_version.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl.c (renamed from contrib/libs/yajl/src/yajl.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_alloc.c (renamed from contrib/libs/yajl/src/yajl_alloc.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_alloc.h (renamed from contrib/libs/yajl/src/yajl_alloc.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_api.h (renamed from contrib/libs/yajl/src/yajl_api.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_buf.c (renamed from contrib/libs/yajl/src/yajl_buf.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_buf.h (renamed from contrib/libs/yajl/src/yajl_buf.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_bytestack.h (renamed from contrib/libs/yajl/src/yajl_bytestack.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_encode.c (renamed from contrib/libs/yajl/src/yajl_encode.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_encode.h (renamed from contrib/libs/yajl/src/yajl_encode.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_gen.c (renamed from contrib/libs/yajl/src/yajl_gen.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_lex.c (renamed from contrib/libs/yajl/src/yajl_lex.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_lex.h (renamed from contrib/libs/yajl/src/yajl_lex.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_parser.c (renamed from contrib/libs/yajl/src/yajl_parser.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_parser.h (renamed from contrib/libs/yajl/src/yajl_parser.h)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_tree.c (renamed from contrib/libs/yajl/src/yajl_tree.c)0
-rw-r--r--contrib/deprecated/yajl/src/yajl_version.c (renamed from contrib/libs/yajl/src/yajl_version.c)0
-rw-r--r--contrib/deprecated/yajl/ya.make (renamed from contrib/libs/yajl/ya.make)0
-rw-r--r--contrib/deprecated/yajl/yajl_parser.cpp (renamed from contrib/libs/yajl/yajl_parser.cpp)0
-rw-r--r--yt/yt/core/http/http.cpp2
-rw-r--r--yt/yt/core/http/stream.h2
-rw-r--r--yt/yt/core/http/ya.make2
-rw-r--r--yt/yt/core/json/json_parser.cpp2
-rw-r--r--yt/yt/core/json/json_writer.cpp2
-rw-r--r--yt/yt/core/ya.make2
47 files changed, 12 insertions, 12 deletions
diff --git a/contrib/restricted/http-parser/.yandex_meta/__init__.py b/contrib/deprecated/http-parser/.yandex_meta/__init__.py
index 9947099a0d3..9947099a0d3 100644
--- a/contrib/restricted/http-parser/.yandex_meta/__init__.py
+++ b/contrib/deprecated/http-parser/.yandex_meta/__init__.py
diff --git a/contrib/restricted/http-parser/.yandex_meta/devtools.copyrights.report b/contrib/deprecated/http-parser/.yandex_meta/devtools.copyrights.report
index 3c9e1fcf0b0..3c9e1fcf0b0 100644
--- a/contrib/restricted/http-parser/.yandex_meta/devtools.copyrights.report
+++ b/contrib/deprecated/http-parser/.yandex_meta/devtools.copyrights.report
diff --git a/contrib/restricted/http-parser/.yandex_meta/devtools.licenses.report b/contrib/deprecated/http-parser/.yandex_meta/devtools.licenses.report
index 7911cf6e365..7911cf6e365 100644
--- a/contrib/restricted/http-parser/.yandex_meta/devtools.licenses.report
+++ b/contrib/deprecated/http-parser/.yandex_meta/devtools.licenses.report
diff --git a/contrib/restricted/http-parser/.yandex_meta/licenses.list.txt b/contrib/deprecated/http-parser/.yandex_meta/licenses.list.txt
index e8deffa4a52..e8deffa4a52 100644
--- a/contrib/restricted/http-parser/.yandex_meta/licenses.list.txt
+++ b/contrib/deprecated/http-parser/.yandex_meta/licenses.list.txt
diff --git a/contrib/restricted/http-parser/.yandex_meta/override.nix b/contrib/deprecated/http-parser/.yandex_meta/override.nix
index d09d27b7a6e..d09d27b7a6e 100644
--- a/contrib/restricted/http-parser/.yandex_meta/override.nix
+++ b/contrib/deprecated/http-parser/.yandex_meta/override.nix
diff --git a/contrib/restricted/http-parser/AUTHORS b/contrib/deprecated/http-parser/AUTHORS
index 5323b685cae..5323b685cae 100644
--- a/contrib/restricted/http-parser/AUTHORS
+++ b/contrib/deprecated/http-parser/AUTHORS
diff --git a/contrib/restricted/http-parser/LICENSE-MIT b/contrib/deprecated/http-parser/LICENSE-MIT
index 1ec0ab4e174..1ec0ab4e174 100644
--- a/contrib/restricted/http-parser/LICENSE-MIT
+++ b/contrib/deprecated/http-parser/LICENSE-MIT
diff --git a/contrib/restricted/http-parser/README.md b/contrib/deprecated/http-parser/README.md
index b265d71715f..b265d71715f 100644
--- a/contrib/restricted/http-parser/README.md
+++ b/contrib/deprecated/http-parser/README.md
diff --git a/contrib/restricted/http-parser/http_parser.c b/contrib/deprecated/http-parser/http_parser.c
index 726810366a1..726810366a1 100644
--- a/contrib/restricted/http-parser/http_parser.c
+++ b/contrib/deprecated/http-parser/http_parser.c
diff --git a/contrib/restricted/http-parser/http_parser.h b/contrib/deprecated/http-parser/http_parser.h
index 262a0394c83..262a0394c83 100644
--- a/contrib/restricted/http-parser/http_parser.h
+++ b/contrib/deprecated/http-parser/http_parser.h
diff --git a/contrib/restricted/http-parser/patches/field-uint32.patch b/contrib/deprecated/http-parser/patches/field-uint32.patch
index 1d952b3eedf..1d952b3eedf 100644
--- a/contrib/restricted/http-parser/patches/field-uint32.patch
+++ b/contrib/deprecated/http-parser/patches/field-uint32.patch
diff --git a/contrib/restricted/http-parser/patches/parser-flags.patch b/contrib/deprecated/http-parser/patches/parser-flags.patch
index 71297c691bd..8552e93ef28 100644
--- a/contrib/restricted/http-parser/patches/parser-flags.patch
+++ b/contrib/deprecated/http-parser/patches/parser-flags.patch
@@ -1,7 +1,7 @@
-diff --git a/contrib/restricted/http-parser/http_parser.c b/contrib/restricted/http-parser/http_parser.c
+diff --git a/contrib/deprecated/http-parser/http_parser.c b/contrib/deprecated/http-parser/http_parser.c
index 95ff42f783d9..726810366a11 100644
---- a/contrib/restricted/http-parser/http_parser.c
-+++ b/contrib/restricted/http-parser/http_parser.c
+--- a/contrib/deprecated/http-parser/http_parser.c
++++ b/contrib/deprecated/http-parser/http_parser.c
@@ -1342,6 +1342,12 @@ size_t http_parser_execute (http_parser *parser,
} else if (parser->index == sizeof(TRANSFER_ENCODING)-2) {
parser->header_state = h_transfer_encoding;
diff --git a/contrib/restricted/http-parser/ya.make b/contrib/deprecated/http-parser/ya.make
index 134e593b695..9e83bba192d 100644
--- a/contrib/restricted/http-parser/ya.make
+++ b/contrib/deprecated/http-parser/ya.make
@@ -11,7 +11,7 @@ VERSION(2.9.4)
ORIGINAL_SOURCE(https://github.com/nodejs/http-parser/archive/v2.9.4.tar.gz)
ADDINCL(
- contrib/restricted/http-parser
+ contrib/deprecated/http-parser
)
NO_COMPILER_WARNINGS()
diff --git a/contrib/libs/yajl/.yandex_meta/devtools.copyrights.report b/contrib/deprecated/yajl/.yandex_meta/devtools.copyrights.report
index 312635e0f5f..312635e0f5f 100644
--- a/contrib/libs/yajl/.yandex_meta/devtools.copyrights.report
+++ b/contrib/deprecated/yajl/.yandex_meta/devtools.copyrights.report
diff --git a/contrib/libs/yajl/.yandex_meta/devtools.licenses.report b/contrib/deprecated/yajl/.yandex_meta/devtools.licenses.report
index 37b6ae68ea9..37b6ae68ea9 100644
--- a/contrib/libs/yajl/.yandex_meta/devtools.licenses.report
+++ b/contrib/deprecated/yajl/.yandex_meta/devtools.licenses.report
diff --git a/contrib/libs/yajl/.yandex_meta/licenses.list.txt b/contrib/deprecated/yajl/.yandex_meta/licenses.list.txt
index 9517d66999d..9517d66999d 100644
--- a/contrib/libs/yajl/.yandex_meta/licenses.list.txt
+++ b/contrib/deprecated/yajl/.yandex_meta/licenses.list.txt
diff --git a/contrib/libs/yajl/patches/fix_memory_leak.patch b/contrib/deprecated/yajl/patches/fix_memory_leak.patch
index 0ac5f0f3914..5d1e5ea7803 100644
--- a/contrib/libs/yajl/patches/fix_memory_leak.patch
+++ b/contrib/deprecated/yajl/patches/fix_memory_leak.patch
@@ -1,5 +1,5 @@
---- contrib/libs/yajl/yajl_tree.c (3b4a018b6b389390da3ee13f6b4ce0880cb71807)
-+++ contrib/libs/yajl/yajl_tree.c (5fe0776c5f96630ddffb63e4ff0292037e12039e)
+--- contrib/deprecated/yajl/yajl_tree.c (3b4a018b6b389390da3ee13f6b4ce0880cb71807)
++++ contrib/deprecated/yajl/yajl_tree.c (5fe0776c5f96630ddffb63e4ff0292037e12039e)
@@ -143,7 +143,7 @@ static yajl_val context_pop(context_t *ctx)
ctx->stack = stack->next;
diff --git a/contrib/libs/yajl/patches/uint64_support_r767862_review16855.patch b/contrib/deprecated/yajl/patches/uint64_support_r767862_review16855.patch
index 62da2521b0f..62da2521b0f 100644
--- a/contrib/libs/yajl/patches/uint64_support_r767862_review16855.patch
+++ b/contrib/deprecated/yajl/patches/uint64_support_r767862_review16855.patch
diff --git a/contrib/libs/yajl/src/api/yajl_common.h b/contrib/deprecated/yajl/src/api/yajl_common.h
index 2507576a1a6..2507576a1a6 100644
--- a/contrib/libs/yajl/src/api/yajl_common.h
+++ b/contrib/deprecated/yajl/src/api/yajl_common.h
diff --git a/contrib/libs/yajl/src/api/yajl_gen.h b/contrib/deprecated/yajl/src/api/yajl_gen.h
index fb1409df709..fb1409df709 100644
--- a/contrib/libs/yajl/src/api/yajl_gen.h
+++ b/contrib/deprecated/yajl/src/api/yajl_gen.h
diff --git a/contrib/libs/yajl/src/api/yajl_parse.h b/contrib/deprecated/yajl/src/api/yajl_parse.h
index 36a89a52a41..36a89a52a41 100644
--- a/contrib/libs/yajl/src/api/yajl_parse.h
+++ b/contrib/deprecated/yajl/src/api/yajl_parse.h
diff --git a/contrib/libs/yajl/src/api/yajl_tree.h b/contrib/deprecated/yajl/src/api/yajl_tree.h
index 2ec36fd576c..2ec36fd576c 100644
--- a/contrib/libs/yajl/src/api/yajl_tree.h
+++ b/contrib/deprecated/yajl/src/api/yajl_tree.h
diff --git a/contrib/libs/yajl/src/api/yajl_version.h b/contrib/deprecated/yajl/src/api/yajl_version.h
index adc0ad82255..adc0ad82255 100644
--- a/contrib/libs/yajl/src/api/yajl_version.h
+++ b/contrib/deprecated/yajl/src/api/yajl_version.h
diff --git a/contrib/libs/yajl/src/yajl.c b/contrib/deprecated/yajl/src/yajl.c
index 0a97f6ef001..0a97f6ef001 100644
--- a/contrib/libs/yajl/src/yajl.c
+++ b/contrib/deprecated/yajl/src/yajl.c
diff --git a/contrib/libs/yajl/src/yajl_alloc.c b/contrib/deprecated/yajl/src/yajl_alloc.c
index 96ad1d33049..96ad1d33049 100644
--- a/contrib/libs/yajl/src/yajl_alloc.c
+++ b/contrib/deprecated/yajl/src/yajl_alloc.c
diff --git a/contrib/libs/yajl/src/yajl_alloc.h b/contrib/deprecated/yajl/src/yajl_alloc.h
index 203c2f97bd9..203c2f97bd9 100644
--- a/contrib/libs/yajl/src/yajl_alloc.h
+++ b/contrib/deprecated/yajl/src/yajl_alloc.h
diff --git a/contrib/libs/yajl/src/yajl_api.h b/contrib/deprecated/yajl/src/yajl_api.h
index f45fcdf8367..f45fcdf8367 100644
--- a/contrib/libs/yajl/src/yajl_api.h
+++ b/contrib/deprecated/yajl/src/yajl_api.h
diff --git a/contrib/libs/yajl/src/yajl_buf.c b/contrib/deprecated/yajl/src/yajl_buf.c
index 2f055a6e6a3..2f055a6e6a3 100644
--- a/contrib/libs/yajl/src/yajl_buf.c
+++ b/contrib/deprecated/yajl/src/yajl_buf.c
diff --git a/contrib/libs/yajl/src/yajl_buf.h b/contrib/deprecated/yajl/src/yajl_buf.h
index b855a08b8bc..b855a08b8bc 100644
--- a/contrib/libs/yajl/src/yajl_buf.h
+++ b/contrib/deprecated/yajl/src/yajl_buf.h
diff --git a/contrib/libs/yajl/src/yajl_bytestack.h b/contrib/deprecated/yajl/src/yajl_bytestack.h
index 9ea7d151e3c..9ea7d151e3c 100644
--- a/contrib/libs/yajl/src/yajl_bytestack.h
+++ b/contrib/deprecated/yajl/src/yajl_bytestack.h
diff --git a/contrib/libs/yajl/src/yajl_encode.c b/contrib/deprecated/yajl/src/yajl_encode.c
index 0d97cc5290c..0d97cc5290c 100644
--- a/contrib/libs/yajl/src/yajl_encode.c
+++ b/contrib/deprecated/yajl/src/yajl_encode.c
diff --git a/contrib/libs/yajl/src/yajl_encode.h b/contrib/deprecated/yajl/src/yajl_encode.h
index 853a1a701ce..853a1a701ce 100644
--- a/contrib/libs/yajl/src/yajl_encode.h
+++ b/contrib/deprecated/yajl/src/yajl_encode.h
diff --git a/contrib/libs/yajl/src/yajl_gen.c b/contrib/deprecated/yajl/src/yajl_gen.c
index 5b1dd93246e..5b1dd93246e 100644
--- a/contrib/libs/yajl/src/yajl_gen.c
+++ b/contrib/deprecated/yajl/src/yajl_gen.c
diff --git a/contrib/libs/yajl/src/yajl_lex.c b/contrib/deprecated/yajl/src/yajl_lex.c
index 70555c5ea3c..70555c5ea3c 100644
--- a/contrib/libs/yajl/src/yajl_lex.c
+++ b/contrib/deprecated/yajl/src/yajl_lex.c
diff --git a/contrib/libs/yajl/src/yajl_lex.h b/contrib/deprecated/yajl/src/yajl_lex.h
index 309c29c54c6..309c29c54c6 100644
--- a/contrib/libs/yajl/src/yajl_lex.h
+++ b/contrib/deprecated/yajl/src/yajl_lex.h
diff --git a/contrib/libs/yajl/src/yajl_parser.c b/contrib/deprecated/yajl/src/yajl_parser.c
index d1758d67c9f..d1758d67c9f 100644
--- a/contrib/libs/yajl/src/yajl_parser.c
+++ b/contrib/deprecated/yajl/src/yajl_parser.c
diff --git a/contrib/libs/yajl/src/yajl_parser.h b/contrib/deprecated/yajl/src/yajl_parser.h
index 6ecc0f3a5c4..6ecc0f3a5c4 100644
--- a/contrib/libs/yajl/src/yajl_parser.h
+++ b/contrib/deprecated/yajl/src/yajl_parser.h
diff --git a/contrib/libs/yajl/src/yajl_tree.c b/contrib/deprecated/yajl/src/yajl_tree.c
index 6a9d9ffb1b5..6a9d9ffb1b5 100644
--- a/contrib/libs/yajl/src/yajl_tree.c
+++ b/contrib/deprecated/yajl/src/yajl_tree.c
diff --git a/contrib/libs/yajl/src/yajl_version.c b/contrib/deprecated/yajl/src/yajl_version.c
index 618ac1b77ed..618ac1b77ed 100644
--- a/contrib/libs/yajl/src/yajl_version.c
+++ b/contrib/deprecated/yajl/src/yajl_version.c
diff --git a/contrib/libs/yajl/ya.make b/contrib/deprecated/yajl/ya.make
index 3f8ce132621..3f8ce132621 100644
--- a/contrib/libs/yajl/ya.make
+++ b/contrib/deprecated/yajl/ya.make
diff --git a/contrib/libs/yajl/yajl_parser.cpp b/contrib/deprecated/yajl/yajl_parser.cpp
index 8cd1ce373ae..8cd1ce373ae 100644
--- a/contrib/libs/yajl/yajl_parser.cpp
+++ b/contrib/deprecated/yajl/yajl_parser.cpp
diff --git a/yt/yt/core/http/http.cpp b/yt/yt/core/http/http.cpp
index 702ebefef65..376b7d91e4f 100644
--- a/yt/yt/core/http/http.cpp
+++ b/yt/yt/core/http/http.cpp
@@ -1,6 +1,6 @@
#include "http.h"
-#include <contrib/restricted/http-parser/http_parser.h>
+#include <contrib/deprecated/http-parser/http_parser.h>
namespace NYT::NHttp {
diff --git a/yt/yt/core/http/stream.h b/yt/yt/core/http/stream.h
index a45ab15f0ff..00236665bed 100644
--- a/yt/yt/core/http/stream.h
+++ b/yt/yt/core/http/stream.h
@@ -7,7 +7,7 @@
#include <yt/yt/core/net/connection.h>
#include <yt/yt/core/net/address.h>
-#include <contrib/restricted/http-parser/http_parser.h>
+#include <contrib/deprecated/http-parser/http_parser.h>
#include <util/stream/buffer.h>
diff --git a/yt/yt/core/http/ya.make b/yt/yt/core/http/ya.make
index 4ca1860a54b..53376347555 100644
--- a/yt/yt/core/http/ya.make
+++ b/yt/yt/core/http/ya.make
@@ -27,7 +27,7 @@ ENDIF()
PEERDIR(
yt/yt/core
- contrib/restricted/http-parser
+ contrib/deprecated/http-parser
)
END()
diff --git a/yt/yt/core/json/json_parser.cpp b/yt/yt/core/json/json_parser.cpp
index c8bfcf77b46..269dd0eaa8d 100644
--- a/yt/yt/core/json/json_parser.cpp
+++ b/yt/yt/core/json/json_parser.cpp
@@ -6,7 +6,7 @@
#include <array>
-#include <contrib/libs/yajl/src/api/yajl_parse.h>
+#include <contrib/deprecated/yajl/src/api/yajl_parse.h>
namespace NYT::NJson {
diff --git a/yt/yt/core/json/json_writer.cpp b/yt/yt/core/json/json_writer.cpp
index d8b1118044d..3986f8f8175 100644
--- a/yt/yt/core/json/json_writer.cpp
+++ b/yt/yt/core/json/json_writer.cpp
@@ -4,7 +4,7 @@
#include <yt/yt/core/misc/utf8_decoder.h>
-#include <contrib/libs/yajl/src/api/yajl_gen.h>
+#include <contrib/deprecated/yajl/src/api/yajl_gen.h>
#include <cmath>
diff --git a/yt/yt/core/ya.make b/yt/yt/core/ya.make
index 48cf3344f4d..9d46e7f6970 100644
--- a/yt/yt/core/ya.make
+++ b/yt/yt/core/ya.make
@@ -331,7 +331,7 @@ PEERDIR(
contrib/libs/libbz2
contrib/libs/c-ares
contrib/libs/farmhash
- contrib/libs/yajl
+ contrib/deprecated/yajl
contrib/libs/lz4
contrib/libs/openssl