Skip to content

Commit

Permalink
feat: remove deprecated features.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed Dec 27, 2024
1 parent 7906be0 commit ce8a976
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 1,045 deletions.
13 changes: 5 additions & 8 deletions serde_valid/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,28 +541,25 @@ pub mod error;
mod features;
pub mod json;
mod traits;
pub mod utils;
pub mod validation;

use std::collections::HashMap;

use indexmap::IndexMap;

pub use error::{
EnumerateError, Error, ExclusiveMaximumError, ExclusiveMinimumError, MaxItemsError,
MaxLengthError, MaxPropertiesError, MaximumError, MinItemsError, MinLengthError,
MinPropertiesError, MinimumError, MultipleOfError, PatternError, UniqueItemsError,
};
pub mod utils;
#[allow(unused_imports)]
pub use features::*;
use indexmap::IndexMap;
use std::collections::HashMap;
pub use validation::{
ValidateEnumerate, ValidateExclusiveMaximum, ValidateExclusiveMinimum, ValidateMaxItems,
ValidateMaxLength, ValidateMaxProperties, ValidateMaximum, ValidateMinItems, ValidateMinLength,
ValidateMinProperties, ValidateMinimum, ValidateMultipleOf, ValidatePattern,
ValidateUniqueItems,
};

#[allow(unused_imports)]
pub use features::*;

pub mod export {
#[cfg(feature = "fluent")]
pub use fluent;
Expand Down
297 changes: 0 additions & 297 deletions serde_valid/tests/deprecated_custom_test.rs

This file was deleted.

Loading

0 comments on commit ce8a976

Please sign in to comment.