mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 04:37:22 -05:00
* add anki_i18n and locale_config crates to launcher * add launcher.ftl * add tr to state * replace most hardcoded strings with translations * add support for `launcher` rustcfg to trim translations * use marker structs to denote type of translations * move underscores into generated code * Update cargo-license, which may fix the license order issue (dae)
38 lines
825 B
TOML
38 lines
825 B
TOML
[package]
|
|
name = "launcher"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
anki_i18n.workspace = true
|
|
anki_io.workspace = true
|
|
anki_process.workspace = true
|
|
anyhow.workspace = true
|
|
camino.workspace = true
|
|
dirs.workspace = true
|
|
locale_config.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
|
|
libc.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows.workspace = true
|
|
widestring.workspace = true
|
|
libc.workspace = true
|
|
libc-stdhandle.workspace = true
|
|
|
|
[[bin]]
|
|
name = "build_win"
|
|
path = "src/bin/build_win.rs"
|
|
|
|
[[bin]]
|
|
name = "anki-console"
|
|
path = "src/bin/anki_console.rs"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
embed-resource.workspace = true
|