|
@@ -5,15 +5,15 @@
|
|
|
"Putao"
|
|
|
],
|
|
|
"description": "A mini http server powered by Hunt.",
|
|
|
- "copyright": "Copyright (C) 2017-2019, HuntLabs",
|
|
|
- "homepage": "https://www.huntlabs.net/",
|
|
|
+ "copyright": "Copyright (C) 2017-2019, HuntLabs",
|
|
|
+ "homepage": "https://www.huntlabs.net/",
|
|
|
"license": "Apache-2.0",
|
|
|
"libs-posix": [ "http_parser" ],
|
|
|
"lflags-posix": ["-Lhttp-parser/"],
|
|
|
"dependencies": {
|
|
|
- "hunt": "~>1.2.0-rc.1",
|
|
|
- "hunt-database": "~>1.2.0-beta.1",
|
|
|
- "std_data_json": "~>0.18.2"
|
|
|
+ "hunt": "~>1.2.0-rc.6",
|
|
|
+ "hunt-database": "~>1.2.0-beta.5",
|
|
|
+ "std_data_json": "~>0.18.3"
|
|
|
},
|
|
|
"configurations": [
|
|
|
{
|
|
@@ -26,5 +26,15 @@
|
|
|
"hunt-database": "postgresql"
|
|
|
}
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ "buildTypes": {
|
|
|
+ "debug": {
|
|
|
+ "buildOptions": ["debugMode", "optimize"]
|
|
|
+ },
|
|
|
+ "release": {
|
|
|
+ "buildOptions": ["releaseMode", "optimize", "inline"],
|
|
|
+ "dflags": ["-boundscheck=off"],
|
|
|
+ "dflags-ldc": ["-flto=thin"]
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|