Skip to content

Commit

Permalink
added bytecheck?/uuid to uuid_std (rkyv#379)
Browse files Browse the repository at this point in the history
* added uuid_validation feature

* PR feedback
  • Loading branch information
mkatychev authored Apr 14, 2023
1 parent 46193f3 commit 5c3dee9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions rkyv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ indexmap = { version = "1.7", optional = true, default-features = false }
smallvec = { version = "1.7", optional = true, default-features = false }
arrayvec = { version = "0.7", optional = true, default-features = false }
tinyvec = { version = "1.5", optional = true, default-features = false }
uuid = { version = "1.0", optional = true, default-features = false }
uuid = { version = "1.3", optional = true, default-features = false }

[features]
default = ["size_32", "std"]
alloc = ["hashbrown"]
alloc = ["hashbrown", "bitvec?/alloc", "tinyvec?/alloc"]
arbitrary_enum_discriminant = ["rkyv_derive/arbitrary_enum_discriminant"]
archive_be = ["rend", "rkyv_derive/archive_be"]
archive_le = ["rend", "rkyv_derive/archive_le"]
Expand All @@ -45,13 +45,10 @@ copy_unsafe = []
size_16 = []
size_32 = []
size_64 = []
std = ["alloc", "bytecheck/std", "ptr_meta/std", "rend/std"]
std = ["alloc", "bytecheck?/std", "ptr_meta/std", "rend?/std", "uuid?/std"]
strict = ["rkyv_derive/strict"]
uuid = ["dep:uuid", "bytecheck?/uuid"]
validation = ["alloc", "bytecheck", "rend/validation"]

bitvec_alloc = ["bitvec/alloc"]
tinyvec_alloc = ["tinyvec/alloc"]
uuid_std = ["uuid/std"]

[package.metadata.docs.rs]
features = ["validation"]

0 comments on commit 5c3dee9

Please sign in to comment.