google / mdbook-i18n-helpers

Translation support for mdbook. The plugins here give you a structured way to maintain a translated book.
Apache License 2.0
118 stars 23 forks source link

mdbook-tera-backend not found in crates.io registry #181

Open renepanke opened 3 months ago

renepanke commented 3 months ago

Description

When installing the mdbook-tera-backend as described in the README, it is not found in the crates.io registry:

$ cargo install mdbook-tera-backend
    Updating crates.io index
error: could not find `mdbook-tera-backend` in registry `crates-io` with version `*`

rustup info

Note: I've tried also to install it on my WSL as sanity check.

Debian server

Default host: x86_64-unknown-linux-gnu rustup home: /home/user/.rustup

stable-x86_64-unknown-linux-gnu (default) rustc 1.76.0 (07dca489a 2024-02-04)

WSL

$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/dev/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.76.0 (07dca489a 2024-02-04)

OS info

Note: I've tried also to install it on my WSL as sanity check.

Debian server

OS: Debian GNU/Linux 12 (bookworm) x86_64
Kernel: 6.1.0-10-amd64
Shell: bash 5.2.15
Terminal: /dev/pts/0
CPU: Intel Xeon Silver 4210R (1) @ 2.394GHz
GPU: 00:0f.0 VMware SVGA II Adapter

WSL

OS: Kali GNU/Linux Rolling on Windows 10 x86_64
Kernel: 5.15.146.1-microsoft-standard-WSL2
Shell: bash 5.2.15
Terminal: Windows Terminal
CPU: 11th Gen Intel i7-1185G7 (2) @ 1.804GHz
GPU: 2ea0:00:00.0 Microsoft Corporation Basic Render Driver
kdarkhan commented 3 months ago

@mgeisler was this package never published? I don't see it in crates.

mgeisler commented 3 months ago

Hi @renepanke, sorry about the confusion — the crate has not been published yet and the README was updated too soon.

Right now, you'll have to clone this repository and install it with

cargo install --path mdbook-tera-backend

The plan was to publish it after we polish it a bit and make it work with Comprehensive Rust. @renepanke, I believe the backend can be used already and it would actually be useful to get your feedback on it.

Cc @sakex who worked on it last.

renepanke commented 3 months ago

Well then, at least i didn't do something wrong.. I don't know if i get to test it in time since i use this in a work group at work where i do have limited time to work on stuff like this.

I'd propose to have this issue as long open as it isn't published on crates.io to have it documented here :)