@@ -9,31 +9,12 @@ repository = { type = "github", user = "glistix", repo = "json" }
9
9
links = []
10
10
11
11
[dependencies ]
12
- # Run 'git submodule add --name stdlib -- https://github.com/glistix/stdlib external/stdlib'
13
- # to clone Glistix's stdlib patch to the local path specified below. This is needed so stdlib
14
- # will work on the Nix target. Hex dependents will use the stdlib version specified below,
15
- # in [glistix.preview.hex-patch], instead.
16
- gleam_stdlib = { path = " ./external/stdlib" }
12
+ gleam_stdlib = " ~> 0.19 or ~> 1.0"
17
13
thoas = " ~> 0.2"
18
14
19
15
[dev-dependencies ]
20
16
glistix_gleeunit = " >= 1.0.0 and < 2.0.0"
21
17
22
- # The [glistix.preview] namespace contains useful settings which will be needed
23
- # during Glistix beta. In the future, it's likely these won't be necessary
24
- # anymore.
25
- [glistix .preview ]
26
- # If you're patching a package using a local dependency/Git submodule and you
27
- # get a local dependency conflict error, add it to the list below.
28
- local-overrides = [" gleam_stdlib" ]
29
-
30
- # The section below allows publishing your package to Hex despite having
31
- # local dependencies, by declaring that you depend on another Hex package
32
- # instead.
33
- # This is needed to be able to patch stdlib etc. locally during development
34
- # and at the same time publish to Hex without the patch.
35
- # The section below should only be used for this purpose. Please do not abuse
36
- # this feature, as it is mostly a temporary workaround while Gleam doesn't have
37
- # a proper dependency patching system.
38
- [glistix .preview .hex-patch ]
39
- gleam_stdlib = " ~> 0.19 or ~> 1.0"
18
+ # Use glistix_stdlib when running
19
+ [glistix .preview .patch ]
20
+ gleam_stdlib = { name = " glistix_stdlib" , version = " ~> 0.19 or ~> 1.0" }
0 commit comments