Relax requirements in new projects
Pinning the stdlib to a minor version will make package conflicts very
common.
@@ -11,8 +11,8 @@ use strum::{Display, EnumString, EnumVariantNames};
use crate::NewOptions;
-const GLEAM_STDLIB_VERSION: &str = "0.17.1";
-const GLEAM_OTP_VERSION: &str = "0.2.0";
+const GLEAM_STDLIB_VERSION: &str = "0.17";
+const GLEAM_OTP_VERSION: &str = "0.2";
const ERLANG_OTP_VERSION: &str = "23.2";
const PROJECT_VERSION: &str = "0.1.0";
@@ -390,7 +390,7 @@ gleam shell # Run an Erlang shell
If available on Hex this package can be installed by adding `{name}`
to your `gleam.toml` dependencies:
-```erlang
+```toml
[dependencies]
{name} = "~> {version}"
```
