• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tari-project / tari_utilities / 5543897128
95%

Build:
DEFAULT BRANCH: main
Ran 13 Jul 2023 01:50PM UTC
Jobs 1
Files 12
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5543897128

push

github

web-flow
feat: ledger compatability (#54)

This PR is to add no_std support. This is in-line to ensure that
tari_utilities can compile for nonstandard tier 1 rust targets. This is
required for the push to ensure we can create a ledger-compatible
library and allow us to run some of the handy utilities from this crate.

The changes can be summarized in the following:

- Made the library `no_std`
- Upgraded borsch to version 0.10, up from 0.9
- Added feature flags to hide crates and features that are not possible
on `no_std` targets

Feature flags added:

- `std` - This will allow epoch_time, encoding and safe_array
- `zero` - This will include zeroize support
- `serialize` - This will include support for serde
- `borsh` - This will include support for borsh
- `default` - This will include all feature flags and allow all
utilities.

---------

Co-authored-by: stringhandler <stringhandler@gmail.com>

31 of 31 new or added lines in 7 files covered. (100.0%)

779 of 814 relevant lines covered (95.7%)

2.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.3
0.0% src/encoding.rs
1
98.85
-1.15% src/epoch_time.rs
1
93.06
-1.31% src/hidden.rs
1
99.06
-0.01% src/message_format.rs
2
83.33
-1.77% src/password.rs
Jobs
ID Job ID Ran Files Coverage
1 5543897128.1 13 Jul 2023 01:50PM UTC 12
95.7
GitHub Action Run
Source Files on build 5543897128
  • Tree
  • List 12
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a2328081 on github
  • Prev Build on main (#5398868760)
  • Next Build on main (#5545135786)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc