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

facet-rs / facet / 14439358497
58%

Build:
DEFAULT BRANCH: main
Ran 14 Apr 2025 06:56AM UTC
Jobs 1
Files 62
Run time 1min
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

14 Apr 2025 06:53AM UTC coverage: 21.3% (-10.3%) from 31.623%
14439358497

push

github

web-flow
Rewrite facet-reflect for safety (#188)

* Rewrite facet-reflect for safety

* WIP invariants support

* WIP invariants

* WIP invariants

* Invariant validation works!

* Fix derive for enums

* Start documenting new reflect

* Comment out other workspace members for now.

* Get rid of warnings, tests pass again for now

* Update main readme

* Take care of Peek

* Yay no more errors in peek

* Most of Peek is back.

* PeekOption tests

* fix enum test

* Refactor enum field access methods

Replace field name-based access with index-based access and provide
a field_by_name helper. Remove redundant tuple_field method in favor
of a unified field access approach that works for both tuple and struct
variants.

* PeekList tests

* no clippy warnings

* Avoid clippy --all-features locally, which trashes target/

* Add map tests

* Some smart pointer tests

* Avoid cycles with delayed/fns

* Fix doc errors, rename impls to different file paths

* Option Debug

* f64 implements PartialCmp

* Replace as_ref with get in all unsafe blocks.

* When putting into a PokeValueUninit, require : 'mem

cf. #190 / https://github.com/facet-rs/facet/issues/190#issuecomment-2799860033

* Document facet-ansi

* Light ui test harness

* Make sure the facet-ansi tests can pass.

* Port facet-pretty over

* facet-pretty good except indentation, ofc

* Fix doc comment formatting

* Port libc sample test

* Uncomment scalar test

* Re-add smart pointer tests

* WIP HeapVal wrapper

* Wip HeapValue wrapper

* API design is hard okay

* Oh now poke tests are ANGRY

* Still HeapAlloc'ing

* More HeapVal

* whew 4

* Mhh slots are gonna be hard to get right

* well some things are failing BADLY

* no problems huh

* 2 failing

* mhmh

* mh

* I don't get it

* Test tree

* Try out a tree

* Cannot move out of huh, where have I heard that before

* Tree => builder

* New builder API coming along

* there we have it again — an invariant violation

* OMG IT WAS MEMCPY ALL ALONG

* Ah, ... (continued)

518 of 1109 new or added lines in 45 files covered. (46.71%)

642 existing lines in 17 files now uncovered.

1278 of 6000 relevant lines covered (21.3%)

12.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
70.69
0.85% facet-core/src/opaque/mod.rs
1
0.0
0.0% facet-core/src/types/list.rs
1
62.96
59.26% facet-reflect/src/peek/list.rs
2
0.0
0.0% facet-codegen/src/main.rs
2
0.0
facet-core/src/lib.rs
2
0.0
0.0% facet-derive/src/lib.rs
2
0.0
-64.58% facet-json/src/deserialize.rs
2
61.29
facet-reflect/tests/peek/facts.rs
2
0.0
-91.97% facet-toml/src/lib.rs
2
0.0
-37.1% facet-yaml/src/lib.rs
3
63.46
facet-core/src/impls_alloc/vec.rs
3
0.0
0.0% facet-core/src/types/field.rs
4
68.35
facet-core/src/impls_std/hashmap.rs
4
73.08
facet-core/src/macros.rs
4
3.08
3.08% facet-core/src/types/characteristic.rs
4
0.0
0.0% facet-core/src/types/enum_.rs
4
8.27
2.07% facet-core/src/types/value.rs
4
79.31
39.31% facet-reflect/src/peek/map.rs
4
83.33
17.82% facet-reflect/src/peek/struct_.rs
4
63.64
0.0% facet-testhelpers/src/lib.rs
6
58.82
facet-core/src/impls_core/array.rs
6
46.67
facet-core/src/impls_core/slice.rs
7
0.0
facet-core/src/impls_core/smartptr.rs
10
75.0
2.27% facet-args/src/lib.rs
12
0.0
facet-codegen/src/gen_tuple_impl.rs
12
0.0
facet-core/src/impls_alloc/btreemap.rs
12
62.5
facet-core/src/impls_core/option.rs
12
0.0
0.0% facet-derive/src/process_enum.rs
15
0.0
0.0% facet-core/src/types/struct_.rs
17
31.51
-15.66% facet-reflect/src/peek/enum_.rs
17
64.6
-1.38% facet-urlencoded/src/lib.rs
19
0.0
facet-core/src/impls_alloc/smartptr.rs
20
69.7
facet-reflect/tests/wip/compile_tests.rs
21
0.0
facet-core/src/types/smartptr.rs
23
0.0
0.0% facet-derive/src/process_struct.rs
24
59.14
21.48% facet-reflect/src/peek/value.rs
25
0.0
facet-reflect/src/error.rs
32
50.78
7.92% facet-ansi/src/lib.rs
40
0.0
facet-core/src/impls_core/tuple.rs
76
60.64
-3.83% facet-pretty/src/printer.rs
130
59.5
facet-reflect/src/wip/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% facet-core/src/types/enum_.rs
1
59.14
21.48% facet-reflect/src/peek/value.rs
1
97.87
-2.13% facet-reflect/src/scalar.rs
2
73.91
8.7% facet-core/src/spez/mod.rs
2
47.83
-8.7% facet-core/src/typeid.rs
4
31.51
-15.66% facet-reflect/src/peek/enum_.rs
5
64.6
-1.38% facet-urlencoded/src/lib.rs
8
70.69
0.85% facet-core/src/opaque/mod.rs
8
0.0
-69.23% facet-toml/src/to_scalar.rs
10
60.64
-3.83% facet-pretty/src/printer.rs
20
0.0
-37.1% facet-yaml/src/lib.rs
45
0.0
-51.69% facet-msgpack/src/from_msgpack.rs
84
0.0
-57.52% facet-json/src/serialize.rs
103
0.0
-55.38% facet-msgpack/src/to_msgpack.rs
107
0.0
-56.35% facet-json/src/parser.rs
119
0.0
-64.58% facet-json/src/deserialize.rs
122
0.0
-91.97% facet-toml/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 14439358497.1 14 Apr 2025 06:56AM UTC 62
21.3
GitHub Action Run
Source Files on build 14439358497
  • Tree
  • List 62
  • Changed 33
  • Source Changed 0
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b0c2d911 on github
  • Prev Build on main (#14427513183)
  • Next Build on main (#14442060376)
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

© 2026 Coveralls, Inc