File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 3636//! (de)serializing [`IndexMap`] as an ordered sequence are available in the
3737//! [`map::serde_seq`] module.
3838//! * `borsh`: Adds implementations for [`BorshSerialize`] and [`BorshDeserialize`]
39- //! to [`IndexMap`] and [`IndexSet`].
39+ //! to [`IndexMap`] and [`IndexSet`]. **Note:** When this feature is enabled,
40+ //! you cannot enable the `derive` feature of [`borsh`] due to a cyclic
41+ //! dependency. Instead, add the `borsh-derive` crate as an explicit
42+ //! dependency in your Cargo.toml and import as e.g.
43+ //! `use borsh_derive::{BorshSerialize, BorshDeserialize};`.
4044//! * `arbitrary`: Adds implementations for the [`arbitrary::Arbitrary`] trait
4145//! to [`IndexMap`] and [`IndexSet`].
4246//! * `quickcheck`: Adds implementations for the [`quickcheck::Arbitrary`] trait
5054//! [`Deserialize`]: `::serde::Deserialize`
5155//! [`BorshSerialize`]: `::borsh::BorshSerialize`
5256//! [`BorshDeserialize`]: `::borsh::BorshDeserialize`
57+ //! [`borsh`]: `::borsh`
5358//! [`arbitrary::Arbitrary`]: `::arbitrary::Arbitrary`
5459//! [`quickcheck::Arbitrary`]: `::quickcheck::Arbitrary`
5560//!
You can’t perform that action at this time.
0 commit comments