-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[new release] routes (0.6.0) #15560
Closed
Closed
[new release] routes (0.6.0) #15560
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
opam-version: "2.0" | ||
maintainer: "Anurag Soni <anurag@sonianurag.com>" | ||
authors: [ "Anurag Soni <anurag@sonianurag.com>" ] | ||
license: "BSD-3-clause" | ||
homepage: "https://github.com/anuragsoni/routes" | ||
bug-reports: "https://github.com/anuragsoni/routes/issues" | ||
dev-repo: "git+https://github.com/anuragsoni/routes.git" | ||
doc: "https://anuragsoni.github.io/routes/" | ||
tags: [ "router" "http" ] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.05"} | ||
"dune" { >= "1.1" } | ||
"alcotest" {with-test} | ||
"mdx" { with-test } | ||
] | ||
synopsis: "Typed routing for OCaml applications" | ||
description: """ | ||
routes provides combinators for adding typed routing | ||
to OCaml applications. The core library will be independent | ||
of any particular web framework or runtime. It does | ||
path based dispatch from a target url to a user | ||
provided handler. | ||
""" | ||
url { | ||
src: | ||
"https://github.com/anuragsoni/routes/releases/download/0.6.0/routes-0.6.0.tbz" | ||
checksum: [ | ||
"sha256=da156ecc5400b425269f85cac99c270f8645487acbe025dc5a85ed6185b547c1" | ||
"sha512=f00757206593f5b5060bf8d90bb57cb65a58ea68c642a3b17e777804739a7442ed51303036d86dd7e8615bac468e5040101ed9b71159bd9b4a065e43724c5088" | ||
] | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that
(using fmt 1.1)
works with dune 1.1 and does not require 1.5?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. My understanding was that the version needs to match the dune language version in the dune-project file. I’ll check the docs again to confirm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently dune extensions do not check for a matching dune version number (see ocaml/dune#2957) and according to ocaml/dune#1821, fmt 1.1 has been added in dune.1.7.0. So I believe your package requires at least dune 1.7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for sharing those links. I think if I need to change the dune version constraint, I’ll go over the dune docs to see if there are any other extension that I’d like to use. Or see if I stop using the fmt extension. I’ll close this pull request for now and revisit this once I’ve figured out which dune extensions I need.