File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ use core::fmt::Debug;
10
10
11
11
#[ derive( Debug ) ]
12
12
pub enum Error {
13
- InvalidInput ( String ) ,
13
+ // TODO(jwp): potentially remove these to reduce binary size
14
+ InvalidInput ( & ' static str ) ,
14
15
FrostError ( frost:: Error ) ,
15
16
EncryptionError ( io:: Error ) ,
16
17
DecryptionError ( io:: Error ) ,
Original file line number Diff line number Diff line change 1
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
- #[ cfg( feature = "std" ) ]
5
4
pub mod error;
6
5
pub mod group_key;
7
- #[ cfg( feature = "std" ) ]
8
6
pub mod round1;
9
7
#[ cfg( feature = "std" ) ]
10
8
pub mod round2;
Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ use crate::multienc;
19
19
use crate :: participant;
20
20
use crate :: participant:: Identity ;
21
21
use crate :: serde:: read_u16;
22
+ #[ cfg( feature = "std" ) ]
22
23
use crate :: serde:: read_variable_length;
24
+ #[ cfg( feature = "std" ) ]
23
25
use crate :: serde:: read_variable_length_bytes;
24
26
use crate :: serde:: write_u16;
25
27
use crate :: serde:: write_variable_length;
You can’t perform that action at this time.
0 commit comments