chore: switch to our own common/orderedmap package, remove two unneeded json dependence

This commit is contained in:
wwqgtxx
2026-01-17 13:49:34 +08:00
parent 828fd30dc3
commit 993595df73
13 changed files with 1845 additions and 11 deletions

8
common/orderedmap/doc.go Normal file
View File

@@ -0,0 +1,8 @@
package orderedmap
// copy and modified from https://github.com/wk8/go-ordered-map/tree/v2.1.8
// which is licensed under Apache v2.
//
// mihomo modified:
// 1. remove dependence of mailru/easyjson for MarshalJSON
// 2. remove dependence of buger/jsonparser for UnmarshalJSON