Rust crate on crates.io #11

Closed
opened 2025-08-27 14:56:40 +02:00 by BaumiCoder · 1 comment
Owner

Packageformat

Rust crate

Use case

Using ecformat in a rust project as a (dev / build) dependency.

Maybe it would be also helpful to support using the crate as a library to call the commands in an .rs build script. (If that is a bigger task, this could also become a separate issue.) For usage as an library there should be sufficient doc comments in the code and the related docs.rs page should be linked in the Cargo.toml as documentation (Automatically created for crates on crates.io)

Resources

### Packageformat Rust crate ### Use case Using ecformat in a rust project as a (dev / build) dependency. Maybe it would be also helpful to support using the crate as a library to call the commands in an `.rs` build script. (If that is a bigger task, this could also become a separate issue.) For usage as an library there should be sufficient doc comments in the code and the related docs.rs page should be linked in the `Cargo.toml` as documentation (Automatically created for crates on crates.io) ### Resources - [Publishing on crates.io](https://doc.rust-lang.org/cargo/reference/publishing.html) - [Cargo in Forgejo Packages](https://forgejo.org/docs/latest/user/packages/cargo) - [Docs.rs build settings](https://docs.rs/about/builds) - For documentation about how to install ecformat his way: - [Build Dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#build-dependencies) - Maybe the suggested place to add ecformt in a rust project. Should be documented (the `Install` section on the side on crates.io should also suggest this kind of `cargo add`) - [crates.io version badge](https://shields.io/badges/crates-io-version) - [crates.io total downloads badge](https://shields.io/badges/crates-io-total-downloads)
BaumiCoder changed title from Crate on crates.io to Rust crate on crates.io 2025-08-27 16:35:48 +02:00
BaumiCoder added reference feature/11-Rust-crate-on-crates.io 2026-01-01 15:33:30 +01:00
Author
Owner

Further commit related to this issue: b9dc639218

Further commit related to this issue: https://codeberg.org/BaumiCoder/ecformat/commit/b9dc6392188e752bdedd94f5c808a55ebda331bf
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BaumiCoder/ecformat#11
No description provided.