https://github.com/althonos/textwrap-macros

Simple procedural macros to use textwrap utilities at compile time.

https://github.com/althonos/textwrap-macros

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 5 committers (20.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary

Keywords from Contributors

genomics metagenomics syntax-highlighting smb pysmb cifs system-biology plasmids modular-cloning moclo
Last synced: 10 months ago · JSON representation

Repository

Simple procedural macros to use textwrap utilities at compile time.

Basic Info
  • Host: GitHub
  • Owner: althonos
  • License: mit
  • Language: Rust
  • Default Branch: master
  • Size: 41 KB
Statistics
  • Stars: 12
  • Watchers: 3
  • Forks: 4
  • Open Issues: 1
  • Releases: 8
Created over 6 years ago · Last pushed over 3 years ago
Metadata Files
Readme Changelog License

README.md

textwrap-macros Star me

Simple procedural macros to use textwrap utilities at compile time.

Actions Codecov License Source Crate Documentation Changelog

Usage

Add the textwrap-macros crate to the Cargo.toml manifest:

toml [dependencies] textwrap-macros = "0.2"

Then either use the macros using the old-style #[macro_use] or import them as any other crate member: ```rust use textwrap_macros::dedent;

const poem: &str = dedent!(r#" When we two parted In silence and tears, Half broken-hearted To sever for years, Pale grew thy cheek and cold, Colder thy kiss; Truly that hour foretold Sorrow to this. "#); ```

Macros usage with small examples can be found on docs.rs. The following functions have been ported into macros:

Check out the documentation of the original library for more information about the behaviour of each of the wrapped functions.

Changelog

This project adheres to Semantic Versioning and provides a changelog in the Keep a Changelog format.

Owner

  • Name: Martin Larralde
  • Login: althonos
  • Kind: user
  • Location: Heidelberg, Germany
  • Company: EMBL / LUMC, @zellerlab

PhD candidate in Bioinformatics, passionate about programming, SIMD-enthusiast, Pythonista, Rustacean. I write poems, and sometimes they are executable.

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 46
  • Total Committers: 5
  • Avg Commits per committer: 9.2
  • Development Distribution Score (DDS): 0.413
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Martin Larralde m****e@e****r 27
Martin Larralde m****e@e****e 15
Martin Geisler m****n@g****t 2
Linda_pp r****d 1
dependabot-preview[bot] 2****] 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 17
  • Average time to close issues: 5 days
  • Average time to close pull requests: about 2 months
  • Total issue authors: 1
  • Total pull request authors: 4
  • Average comments per issue: 1.0
  • Average comments per pull request: 2.06
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 12
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • orclev (1)
Pull Request Authors
  • dependabot-preview[bot] (6)
  • dependabot[bot] (3)
  • mgeisler (2)
  • rhysd (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels
dependencies (9)

Packages

  • Total packages: 2
  • Total downloads:
    • cargo 321,825 total
  • Total dependent packages: 5
    (may contain duplicates)
  • Total dependent repositories: 7
    (may contain duplicates)
  • Total versions: 16
  • Total maintainers: 1
crates.io: textwrap-macros

Simple procedural macros to use textwrap utilities at compile time.

  • Versions: 8
  • Dependent Packages: 4
  • Dependent Repositories: 4
  • Downloads: 160,816 Total
Rankings
Downloads: 7.0%
Dependent packages count: 7.4%
Dependent repos count: 10.6%
Average: 15.1%
Forks count: 23.2%
Stargazers count: 27.5%
Maintainers (1)
Last synced: 11 months ago
crates.io: textwrap-macros-impl

Simple procedural macros to use textwrap utilities at compile time.

  • Versions: 8
  • Dependent Packages: 1
  • Dependent Repositories: 3
  • Downloads: 161,009 Total
Rankings
Downloads: 6.9%
Dependent repos count: 11.6%
Average: 17.5%
Dependent packages count: 18.2%
Forks count: 23.2%
Stargazers count: 27.5%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/publish.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/checkout v1 composite
  • rasmus-saks/release-a-changelog-action v1.0.1 composite
.github/workflows/test.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/tarpaulin v0.1 composite
  • actions-rs/toolchain v1 composite
  • actions/cache v2 composite
  • actions/checkout v1 composite
  • codecov/codecov-action v1 composite
Cargo.toml cargo
impl/Cargo.toml cargo