-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from wravery/dev
fix(doc): move crate doc comments into README files
- Loading branch information
Showing
12 changed files
with
52 additions
and
35 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 @@ | ||
# cef | ||
|
||
Use the [Chromium Embedded Framework](https://github.com/chromiumembedded/cef) in Rust. |
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
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
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,4 @@ | ||
# download-cef | ||
|
||
Utility functions to download and extract prebuilt [Chromium Embedded Framework](https://github.com/chromiumembedded/cef) | ||
archives on any supported platform. |
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
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,28 @@ | ||
# export-cef-dir | ||
|
||
Export files from the prebuilt [Chromium Embedded Framework](https://github.com/chromiumembedded/cef) | ||
archive on any supported platform. The structure of the exported directory matches the way that | ||
the `cef-dll-sys` crate expects to see them. | ||
|
||
To use the target directory when building, set the `CEF_PATH` environment variable to the path of the | ||
exported directory, e.g., `~/.local/share/cef`. | ||
|
||
To use the DLLs in this directory at runtime, the library loader path varies by platform: | ||
|
||
- Linux | ||
|
||
```sh | ||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$CEF_PATH" | ||
``` | ||
|
||
- macOS | ||
|
||
```sh | ||
export DYLD_FALLBACK_LIBRARY_PATH="$DYLD_FALLBACK_LIBRARY_PATH:$CEF_PATH" | ||
``` | ||
|
||
- Windows (using PowerShell) | ||
|
||
```pwsh | ||
$env:PATH = "$env:PATH;$env:CEF_PATH" | ||
``` |
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
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,4 @@ | ||
# cef-dll-sys | ||
|
||
Generated bindings for the prebuilt [Chromium Embedded Framework](https://github.com/chromiumembedded/cef) | ||
C API on any supported platform. |
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
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,5 @@ | ||
# update-bindings | ||
|
||
Download the prebuilt [Chromium Embedded Framework](https://github.com/chromiumembedded/cef) | ||
archive on any supported platform and run `bindgen` on the C API for the `cef-dll-sys` crate, | ||
then regenerate the safe bindings in the `cef` crate. |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#![doc = include_str!("../README.md")] | ||
|
||
#[macro_use] | ||
extern crate thiserror; | ||
|
||
|