Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
516 changes: 266 additions & 250 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/loc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
await github.rest.gists.update({
gist_id: gistId,
files: {
"template-rs": {
"whispercpp": {
content: output
}
}
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "whispercpp-sys/whisper.cpp"]
path = whispercpp-sys/whisper.cpp
url = https://github.com/Findit-AI/whisper.cpp.git
branch = rust
7 changes: 0 additions & 7 deletions CHANGELOG.md

This file was deleted.

57 changes: 17 additions & 40 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,48 +1,25 @@
[package]
name = "template-rs"
version = "0.0.0"
edition = "2021"
repository = "https://github.com/al8n/template-rs"
homepage = "https://github.com/al8n/template-rs"
documentation = "https://docs.rs/template-rs"
description = "A template for creating Rust open-source repo on GitHub"
license = "MIT OR Apache-2.0"
rust-version = "1.73"
[workspace]
resolver = "3"
members = ["whispercpp-sys", "whispercpp"]

[[bench]]
path = "benches/foo.rs"
name = "foo"
harness = false
# `whisper.cpp/` is the upstream C++ source pulled in as a git
# submodule under `whispercpp-sys/whisper.cpp/`. Cargo's
# workspace discovery walks subdirectories looking for
# Cargo.toml; the submodule has none, so no exclude is needed —
# but we list it defensively so a future "Cargo.toml in
# whisper.cpp/" surprise doesn't pull it into the workspace.
exclude = ["whispercpp-sys/whisper.cpp"]

[features]
default = ["std"]
alloc = []
std = []
[workspace.package]
edition = "2024"
rust-version = "1.95"
license = "MIT OR Apache-2.0"
repository = "https://github.com/findit-studio/whispercpp"
readme = "README.md"

[dependencies]

[dev-dependencies]
criterion = "0.8"
tempfile = "3"

[profile.bench]
opt-level = 3
debug = false
codegen-units = 1
lto = 'thin'
incremental = false
debug-assertions = false
overflow-checks = false
rpath = false

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
[workspace.lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(all_tests)',
'cfg(tarpaulin)',
] }
51 changes: 0 additions & 51 deletions README-zh_CN.md

This file was deleted.

Loading
Loading