Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Cargo install failed #38

@ValouBambou

Description

@ValouBambou

Hi, I wanted to try the formatter but cargo install typst-fmt (cargo 1.70.0) return the following error which seems weird since the Cargo.toml file in the repo contains a bin section. So I'm a confused. Does anyone else encounter this issue ?

❯ cargo install typst-fmt
    Updating crates.io index
error: there is nothing to install in `typst-fmt v0.1.0`, because it has no binaries
`cargo install` is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency to a Cargo project with `cargo add`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions