Without quotes around version numbers in a TOML file, i.e. em = 0.3.0, Cargo gives the error expected newline, found a period at line 10 column 9. crates.io always uses quotes, and adding the quotes solves the problem.
The usage instructions should be copy-pastable, and thus, should also use quotes.
Without quotes around version numbers in a TOML file, i.e.
em = 0.3.0
, Cargo gives the errorexpected newline, found a period at line 10 column 9
. crates.io always uses quotes, and adding the quotes solves the problem.The usage instructions should be copy-pastable, and thus, should also use quotes.