Skip to content

Commit

Permalink
Fix feature name
Browse files Browse the repository at this point in the history
  • Loading branch information
novacrazy committed Sep 2, 2024
1 parent ece6872 commit 600bc20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schemars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ smallvec1 = { version = "1.0", default-features = false, optional = true, packag
smol_str02 = { version = "0.2.1", default-features = false, optional = true, package = "smol_str" }
url2 = { version = "2.0", default-features = false, optional = true, package = "url" }
uuid1 = { version = "1.0", default-features = false, optional = true, package = "uuid" }
triomphe = { version = "0.1.8", optional = true }
triomphe01 = { version = "0.1.8", optional = true, package = "triomphe" }

[dev-dependencies]
pretty_assertions = "1.2.1"
Expand Down
4 changes: 2 additions & 2 deletions schemars/src/json_schema_impls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ mod indexmap2;
#[cfg(feature = "semver1")]
mod semver1;

#[cfg(feature = "triomphe")]
forward_impl!((<T: ?Sized> crate::JsonSchema for triomphe::Arc<T> where T: crate::JsonSchema) => T);
#[cfg(feature = "triomphe01")]
forward_impl!((<T: ?Sized> crate::JsonSchema for triomphe01::Arc<T> where T: crate::JsonSchema) => T);

#[cfg(feature = "smallvec1")]
forward_impl!((<A: smallvec1::Array> crate::JsonSchema for smallvec1::SmallVec<A> where A::Item: crate::JsonSchema) => alloc::vec::Vec<A::Item>);
Expand Down

0 comments on commit 600bc20

Please sign in to comment.