-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust: Added feature flag to disable buildscript on docs.rs
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 deletions.
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
[package] | ||
name = "april_asr" | ||
version = "0.1.21-dev1" | ||
version = "0.1.21-dev2" | ||
edition = "2021" | ||
authors = ["fastfists <[email protected]>", "abb128"] | ||
|
||
license = "GPL-3.0" | ||
email = "[email protected]" | ||
authors = ["fastfists", "abb128"] | ||
readme = "README.md" | ||
documentation = "https://docs.rs/april_asr" | ||
repository = "https://github.com/abb128/april-asr" | ||
description = "Offline open source speech recognition API based on next-generation Kaldi" | ||
|
@@ -17,3 +18,16 @@ bindgen = "0.65.1" | |
flate2 = "1.0.26" | ||
tar = "0.4.38" | ||
ureq = "2.6.2" | ||
|
||
[features] | ||
default = [] | ||
|
||
# Disable build script, used to prevent issues with docs.rs | ||
disable-sys-build-script = [] | ||
|
||
|
||
[package.metadata.docs.rs] | ||
# Disable the build.rs on https://docs.rs since it can cause | ||
# issue there and it's not needed. | ||
features = ["disable-sys-build-script"] | ||
|
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