this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[new release] rust-staticlib-gen (3 packages) (0.2.2)

CHANGES:

### Added

- **dune-cargo-build**
- Support for copying of Cargo artifacts on macos and windows platforms

### Fixed

- **rust-staticlib-gen**
- Dropped unused dune rule that prevented building on macos

+128
+41
packages/dune-cargo-build/dune-cargo-build.0.2.2/opam
··· 1 + opam-version: "2.0" 2 + synopsis: 3 + "Tool to invoke Cargo for building Rust crates within the dune sandbox" 4 + description: 5 + "dune-cargo-build is a tool that runs cargo build in offline mode for a specified crate, ensuring compatibility with dune's/opam's sandboxing. It parses Cargo's JSON output to determine the produced artifacts and copies them to the current directory, renaming them to match what OCaml expects for foreign stubs. This tool is useful for integrating Rust build processes into OCaml projects managed by dune." 6 + maintainer: ["Konstantin Olkhovskiy <lupus@oxnull.net>"] 7 + authors: ["Konstantin Olkhovskiy <lupus@oxnull.net>"] 8 + license: "Apache-2.0" 9 + homepage: "https://github.com/Lupus/rust-staticlib-gen" 10 + bug-reports: "https://github.com/Lupus/rust-staticlib-gen/issues" 11 + depends: [ 12 + "dune" {>= "2.7"} 13 + "ocaml" {>= "4.13"} 14 + "yojson" {>= "2.2.2"} 15 + "ocamlformat" {with-test & >= "0.26.2" & < "0.27.0"} 16 + "odoc" {with-doc} 17 + ] 18 + build: [ 19 + ["dune" "subst"] {dev} 20 + [ 21 + "dune" 22 + "build" 23 + "-p" 24 + name 25 + "-j" 26 + jobs 27 + "@install" 28 + "@runtest" {with-test} 29 + "@doc" {with-doc} 30 + ] 31 + ] 32 + dev-repo: "git+https://github.com/Lupus/rust-staticlib-gen.git" 33 + url { 34 + src: 35 + "https://github.com/Lupus/rust-staticlib-gen/releases/download/0.2.2/rust-staticlib-gen-0.2.2.tbz" 36 + checksum: [ 37 + "sha256=641c4c06b85a9b478098c5b00e36ff65445603a5cecb3e5eabfe8a8bc973b63c" 38 + "sha512=d59fb760765bd28138963e8e52f373e33210f0d04f394f47a340fc6b7854a3cb5f59ec5734c94dd4e78eb01d8890b18f79f2574a6098be1190fd8bf058c8a609" 39 + ] 40 + } 41 + x-commit-hash: "ea668cd4e4a7186ae3a05b37d6b9c661f8d7f23c"
+49
packages/rust-staticlib-gen/rust-staticlib-gen.0.2.2/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Utility for generating Rust static libraries for OCaml projects" 3 + description: 4 + "rust-staticlib-gen is a tool designed to streamline the integration of Rust code into OCaml projects. It automates the generation of build files and orchestrates the build process, allowing OCaml code to seamlessly interface with Rust libraries. This tool extracts Rust crate dependencies from opam files, generates necessary dune and Cargo.toml files, and builds the Rust static libraries. It ensures compatibility between OCaml bindings and Rust crates by specifying exact versions in Cargo.toml." 5 + maintainer: ["Konstantin Olkhovskiy <lupus@oxnull.net>"] 6 + authors: ["Konstantin Olkhovskiy <lupus@oxnull.net>"] 7 + license: "Apache-2.0" 8 + homepage: "https://github.com/Lupus/rust-staticlib-gen" 9 + bug-reports: "https://github.com/Lupus/rust-staticlib-gen/issues" 10 + depends: [ 11 + "dune" {>= "2.7"} 12 + "toml" {>= "7.1.0"} 13 + "yojson" {>= "2.2.2"} 14 + "sexplib0" {>= "v0.16.0"} 15 + "parsexp" {>= "v0.16.0"} 16 + "opam-client" {>= "2.2.1" & < "2.3"} 17 + "opam-state" {>= "2.2.1" & < "2.3"} 18 + "opam-solver" {>= "2.2.1" & < "2.3"} 19 + "fpath" {>= "0.7.3"} 20 + "cmdliner" {>= "1.3.0"} 21 + "ocamlformat" {with-test & >= "0.26.2" & < "0.27.0"} 22 + "rust-staticlib-virtual" {= version} 23 + "dune-cargo-build" {= version} 24 + "odoc" {with-doc} 25 + ] 26 + build: [ 27 + ["dune" "subst"] {dev} 28 + [ 29 + "dune" 30 + "build" 31 + "-p" 32 + name 33 + "-j" 34 + jobs 35 + "@install" 36 + "@runtest" {with-test} 37 + "@doc" {with-doc} 38 + ] 39 + ] 40 + dev-repo: "git+https://github.com/Lupus/rust-staticlib-gen.git" 41 + url { 42 + src: 43 + "https://github.com/Lupus/rust-staticlib-gen/releases/download/0.2.2/rust-staticlib-gen-0.2.2.tbz" 44 + checksum: [ 45 + "sha256=641c4c06b85a9b478098c5b00e36ff65445603a5cecb3e5eabfe8a8bc973b63c" 46 + "sha512=d59fb760765bd28138963e8e52f373e33210f0d04f394f47a340fc6b7854a3cb5f59ec5734c94dd4e78eb01d8890b18f79f2574a6098be1190fd8bf058c8a609" 47 + ] 48 + } 49 + x-commit-hash: "ea668cd4e4a7186ae3a05b37d6b9c661f8d7f23c"
+38
packages/rust-staticlib-virtual/rust-staticlib-virtual.0.2.2/opam
··· 1 + opam-version: "2.0" 2 + synopsis: 3 + "A Sentinel/marker package to define the rust staticlib virtual library" 4 + description: 5 + "The rust-staticlib-virtual package is a sentinel/marker package that defines a virtual dune library that indicates presence of Rust dependencies somewhere down the dependency chain. To have an implementation of this virtual library in your project, please use `rust-staticlib-gen` tool: https://github.com/Lupus/rust-staticlib-gen" 6 + maintainer: ["Konstantin Olkhovskiy <lupus@oxnull.net>"] 7 + authors: ["Konstantin Olkhovskiy <lupus@oxnull.net>"] 8 + license: "Apache-2.0" 9 + homepage: "https://github.com/Lupus/rust-staticlib-gen" 10 + bug-reports: "https://github.com/Lupus/rust-staticlib-gen/issues" 11 + depends: [ 12 + "dune" {>= "2.7"} 13 + "odoc" {with-doc} 14 + ] 15 + build: [ 16 + ["dune" "subst"] {dev} 17 + [ 18 + "dune" 19 + "build" 20 + "-p" 21 + name 22 + "-j" 23 + jobs 24 + "@install" 25 + "@runtest" {with-test} 26 + "@doc" {with-doc} 27 + ] 28 + ] 29 + dev-repo: "git+https://github.com/Lupus/rust-staticlib-gen.git" 30 + url { 31 + src: 32 + "https://github.com/Lupus/rust-staticlib-gen/releases/download/0.2.2/rust-staticlib-gen-0.2.2.tbz" 33 + checksum: [ 34 + "sha256=641c4c06b85a9b478098c5b00e36ff65445603a5cecb3e5eabfe8a8bc973b63c" 35 + "sha512=d59fb760765bd28138963e8e52f373e33210f0d04f394f47a340fc6b7854a3cb5f59ec5734c94dd4e78eb01d8890b18f79f2574a6098be1190fd8bf058c8a609" 36 + ] 37 + } 38 + x-commit-hash: "ea668cd4e4a7186ae3a05b37d6b9c661f8d7f23c"