diff --git a/Cargo.toml b/Cargo.toml index 22a62aa..fa3e871 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genai" -version = "0.0.9" +version = "0.0.10-alpha.1" edition = "2021" rust-version = "1.78" license = "MIT OR Apache-2.0" diff --git a/examples/c00-readme.rs b/examples/c00-readme.rs index 0ca7225..07d9875 100644 --- a/examples/c00-readme.rs +++ b/examples/c00-readme.rs @@ -6,7 +6,7 @@ use genai::client::Client; const MODEL_OPENAI: &str = "gpt-3.5-turbo"; const MODEL_ANTHROPIC: &str = "claude-3-haiku-20240307"; -const MODEL_COHERE: &str = "command-light"; // see: https://docs.cohere.com/docs/models +const MODEL_COHERE: &str = "command-light"; const MODEL_OLLAMA: &str = "mixtral"; const MODEL_AND_KEY_ENV_NAME_LIST: &[(&str, &str)] = &[ diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..901fdd9 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,10 @@ +# rustfmt doc - https://rust-lang.github.io/rustfmt/ + +# JC Style +hard_tabs = true +edition = "2021" +max_width = 120 +chain_width = 80 +array_width = 80 + +imports_granularity = "Module" # no effect on rust analyzer