Skip to content

Commit

Permalink
Vendor crates for use in OpenBSD port
Browse files Browse the repository at this point in the history
  • Loading branch information
klemensn committed Jan 25, 2022
1 parent b62e6ca commit 4566640
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,24 @@
# point bindgen at LLVM on OpenBSD
# required to build at least clang-sys, sndio-sys and cpal
LIBCLANG_PATH = { value = "/usr/local/lib" }

[source.crates-io]
replace-with = "vendored-sources"

[source."https://github.com/conwayste/cpal"]
git = "https://github.com/conwayste/cpal"
branch = "aaron/openbsd_sndio_host"
replace-with = "vendored-sources"

[source."https://github.com/jpochyla/druid"]
git = "https://github.com/jpochyla/druid"
branch = "psst"
replace-with = "vendored-sources"

[source."https://github.com/jpochyla/piet"]
git = "https://github.com/jpochyla/piet"
branch = "ctfont-cache"
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "./vendordir/"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ cache
.env
*.iml
rust-toolchain
vendordir

0 comments on commit 4566640

Please sign in to comment.