To use etcommon-bigint you need to specify it as etcommon-bigint in your Cargo.toml but as bigint in your main.rs.
Example:
Cargo.toml:
[dependencies]
etcommon-bigint = "0.2.9"
main.rs:
I believe this mismatch is due to the following in https://github.com/ETCDEVTeam/etcommon-rs/blob/master/bigint/Cargo.toml#L11:
I realize changing this now would break dependencies but it is a bit confusing when trying to work with the library so maybe adding a note to the docs would be helpful? If so I can submit a PR next week.
To use
etcommon-bigintyou need to specify it asetcommon-bigintin yourCargo.tomlbut asbigintin yourmain.rs.Example:
Cargo.toml:
main.rs:
I believe this mismatch is due to the following in https://github.com/ETCDEVTeam/etcommon-rs/blob/master/bigint/Cargo.toml#L11:
I realize changing this now would break dependencies but it is a bit confusing when trying to work with the library so maybe adding a note to the docs would be helpful? If so I can submit a PR next week.