File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1313* Refactoring & Restructuring, removing cross-crate exports (breaking for Library dependents)
1414* Properly separate ` protocol ` parts from ` application ` in ` bcr-ebill-core ` (breaking for Library dependents, breaking DB change)
1515* Remove email from anon identities and contacts
16+ * Change document max file size to 10 MB and max files on bill to 20
1617
1718# 0.4.12
1819
Original file line number Diff line number Diff line change 11// Validation
2- pub const MAX_DOCUMENT_FILE_SIZE_BYTES : usize = 1_000_000 ; // ~1 MB
2+ pub const MAX_DOCUMENT_FILE_SIZE_BYTES : usize = 10_000_000 ; // ~10 MB
33pub const MAX_PICTURE_FILE_SIZE_BYTES : usize = 20_000 ; // ~20 KB
4- pub const MAX_BILL_ATTACHMENTS : usize = 100 ;
4+ pub const MAX_BILL_ATTACHMENTS : usize = 20 ;
55pub const MAX_FILE_NAME_CHARACTERS : usize = 200 ;
66pub const VALID_FILE_MIME_TYPES : [ & str ; 3 ] = [ "image/jpeg" , "image/png" , "application/pdf" ] ;
77
You can’t perform that action at this time.
0 commit comments