Changeset View
Changeset View
Standalone View
Standalone View
games/anki/files/patch-rslib_Cargo.toml
Avoid vendored OpenSSL dependencies. | Enable "translations" feature to add the translations from the fluent repos. | ||||
--- rslib/Cargo.toml.orig 2020-09-04 08:35:57 UTC | --- rslib/Cargo.toml.orig 2021-05-04 05:04:50 UTC | ||||
+++ rslib/Cargo.toml | +++ rslib/Cargo.toml | ||||
@@ -61,10 +61,10 @@ features = ["trace", "functions", "collation"] | @@ -7,6 +7,11 @@ license = "AGPL-3.0-or-later" | ||||
version = "0.23.1" | description = "Anki's Rust library code" | ||||
features = ["trace", "functions", "collation", "bundled"] | build = "build/main.rs" | ||||
-[target.'cfg(linux)'.dependencies.reqwest] | +[features] | ||||
-git = "https://github.com/ankitects/reqwest.git" | +default = ["translations"] | ||||
-rev = "57665e2c2a39db85723ba860f1b570a608bb73f9" | + | ||||
-features = ["json", "socks", "stream", "native-tls-vendored"] | +translations = [] | ||||
+#[target.'cfg(linux)'.dependencies.reqwest] | + | ||||
+#git = "https://github.com/ankitects/reqwest.git" | [lib] | ||||
+#rev = "57665e2c2a39db85723ba860f1b570a608bb73f9" | name = "anki" | ||||
+#features = ["json", "socks", "stream", "native-tls-vendored"] | path = "src/lib.rs" | ||||
[target.'cfg(not(linux))'.dependencies.reqwest] | |||||
git = "https://github.com/ankitects/reqwest.git" |