Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bench/main.bend
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ../src/http.bend as Msg
import ../src/body.bend as Body
import ../src/client.bend as Client
import ../src/json.bend as Json
import 0xa81e161008ecc2f297c0a3065cb9b188/src/value.bend as V
import ezjson@1.2.0.0/src/value.bend as V
import ./fix.bend as Fix
import ./parse.bend as Parse

Expand Down
9 changes: 2 additions & 7 deletions ez.lock.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@ kind = "hub"
"effs/dns.js" = "3abdd6528b6c8b885639b81a2542fdfb2668af78e2a16c70b45b94dfc50d1010"
[packages.0xa81e161008ecc2f297c0a3065cb9b188]
[packages.0xa81e161008ecc2f297c0a3065cb9b188.source]
kind = "git"
url = "https://github.com/Emerging-Patterns/ezjson"
rev = "fbae34db74596ddca4ec29409825926246d22cec"
entry = "main.bend"
root = "."
narHash = "sha256-bOtXnTBW1oDQOGlFpEKxNklcUY1WmPt5y8HWWQY8sK4="
tag = "v1.2.0"
kind = "hub"
[packages.0xa81e161008ecc2f297c0a3065cb9b188.files]
LICENSE = "309f5aae946e4db157750e002fb179a74ed0fe27fce09a7be68a6977b14f205f"
"main.bend" = "030530d356d712d66fc58daa6bf81c81379d3132547b7e7a42de436c374e9e27"
Expand All @@ -48,6 +42,7 @@ LICENSE = "309f5aae946e4db157750e002fb179a74ed0fe27fce09a7be68a6977b14f205f"
"bend-kit-bytes@0.3.2.0" = "0x185ae03c75e3e75be1171471f68b43cb"
"bend-kit-dns@0.6.0.2" = "0x9bf2c4100bf9328348d215e7ae1657de"
"bend-kit-wire@0.4.6.1" = "0x1afdf90dbe41c30b1df4594db039b02a"
"ezjson@1.2.0.0" = "0xa81e161008ecc2f297c0a3065cb9b188"
[tools]
[tools.bolt]
git = "https://github.com/Emerging-Patterns/bolt"
Expand Down
12 changes: 4 additions & 8 deletions ez.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
name = "ezhttp"
entry = "main.bend"
[deps]
[deps.ezjson]
hash = "0xa81e161008ecc2f297c0a3065cb9b188"
git = "https://github.com/Emerging-Patterns/ezjson"
rev = "fbae34db74596ddca4ec29409825926246d22cec"
tag = "v1.2.0"
root = "."
narHash = "sha256-bOtXnTBW1oDQOGlFpEKxNklcUY1WmPt5y8HWWQY8sK4="
entry = "main.bend"
[deps.bend-kit-wire]
hash = "0x1afdf90dbe41c30b1df4594db039b02a"
hub = "bend-kit-wire@0.4.6.1"
Expand All @@ -22,6 +14,10 @@ entry = "bytes.bend"
hash = "0x9bf2c4100bf9328348d215e7ae1657de"
hub = "bend-kit-dns@0.6.0.2"
entry = "dns.bend"
[deps.ezjson]
hash = "0xa81e161008ecc2f297c0a3065cb9b188"
hub = "ezjson@1.2.0.0"
entry = "main.bend"
[tools]
[tools.bolt]
git = "https://github.com/Emerging-Patterns/bolt"
Expand Down
2 changes: 1 addition & 1 deletion laws/JsonStringIsTextBody.bend
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Base
import ../src/body.bend as Body
import ../src/json.bend as Json
import 0xa81e161008ecc2f297c0a3065cb9b188/main.bend as Ezjson
import ezjson@1.2.0.0/main.bend as Ezjson

# LAW: a JSON string is a text body of its compact encoding. The HTTP types
# stay text (the body is not a JSON value).
Expand Down
4 changes: 2 additions & 2 deletions src/json.bend
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# This module is the only one that imports ezjson. Request, Reply, and the
# client Response do not.
import Base
import 0xa81e161008ecc2f297c0a3065cb9b188/main.bend as Ezjson
import 0xa81e161008ecc2f297c0a3065cb9b188/src/value.bend as Value
import ezjson@1.2.0.0/main.bend as Ezjson
import ezjson@1.2.0.0/src/value.bend as Value
import ./body.bend as Body

# a JSON value as a UTF-8 text body
Expand Down
Loading