File tree Expand file tree Collapse file tree 6 files changed +6
-2
lines changed
Expand file tree Collapse file tree 6 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ categories.workspace = true
1111description = " A parser/renderer for vdf text"
1212homepage = " https://github.com/CosmicHorrorDev/vdf-rs/tree/main/keyvalues-parser"
1313repository = " https://github.com/CosmicHorrorDev/vdf-rs"
14+ # benchmarking uses larger assets that end-users dont need
15+ exclude = [" benches" ]
1416
1517[dependencies ]
1618pest = " 2.7"
File renamed without changes.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ fn main() {
1111 . main ( ) ;
1212}
1313
14- static VDF_TEXT : & str = include_str ! ( "../tests/ assets/controller_generic_wasd.vdf" ) ;
14+ static VDF_TEXT : & str = include_str ! ( "assets/controller_generic_wasd.vdf" ) ;
1515
1616#[ bench( bytes_count = VDF_TEXT . len( ) ) ]
1717pub fn parse ( ) {
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ categories.workspace = true
1111description = " (De)serialize VDF text with serde"
1212homepage = " https://github.com/CosmicHorrorDev/vdf-rs/tree/main/keyvalues-serde"
1313repository = " https://github.com/CosmicHorrorDev/vdf-rs"
14+ # benchmarking uses larger assets that end-users dont need
15+ exclude = [" benches" ]
1416
1517[dependencies ]
1618serde_core.workspace = true
File renamed without changes.
Original file line number Diff line number Diff line change 2828 to_string ( t) . unwrap ( )
2929}
3030
31- static VDF_TEXT : & str = include_str ! ( "../tests/ assets/controller_generic_wasd.vdf" ) ;
31+ static VDF_TEXT : & str = include_str ! ( "assets/controller_generic_wasd.vdf" ) ;
3232
3333#[ bench(
3434 bytes_count = VDF_TEXT . len( ) ,
You can’t perform that action at this time.
0 commit comments