Skip to content

Commit

Permalink
chore: rename project to cot
Browse files Browse the repository at this point in the history
  • Loading branch information
m4tx committed Jan 10, 2025
1 parent b228d0b commit 2d9add6
Show file tree
Hide file tree
Showing 124 changed files with 704 additions and 724 deletions.
202 changes: 101 additions & 101 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[workspace]
members = [
"flareon",
"flareon-cli",
"flareon-codegen",
"flareon-macros",
"cot",
"cot-cli",
"cot-codegen",
"cot-macros",
# Examples
"examples/hello-world",
"examples/todo-list",
Expand Down Expand Up @@ -37,9 +37,9 @@ darling = "0.20"
derive_builder = "0.20"
derive_more = "1"
fake = "3.1"
flareon = { path = "flareon" }
flareon_codegen = { path = "flareon-codegen" }
flareon_macros = { path = "flareon-macros" }
cot = { path = "cot" }
cot_codegen = { path = "cot-codegen" }
cot_macros = { path = "cot-macros" }
form_urlencoded = "1"
futures = { version = "0.3", default-features = false }
futures-core = { version = "0.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Flareon Authors
Copyright (c) 2024 Cot Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<div align="center">
<h1>Flareon</h1>
<h1>Cot</h1>

[![Rust Build Status](https://github.com/flareon-rs/flareon/workflows/Rust%20CI/badge.svg)](https://github.com/flareon-rs/flareon/actions/workflows/rust.yml)
[![crates.io](https://img.shields.io/crates/v/flareon.svg)](https://crates.io/crates/flareon)
[![Documentation](https://docs.rs/flareon/badge.svg)](https://docs.rs/flareon)
[![codecov](https://codecov.io/gh/flareon-rs/flareon/branch/master/graph/badge.svg)](https://codecov.io/gh/flareon-rs/flareon)
[![Rust Build Status](https://github.com/cot-rs/cot/workflows/Rust%20CI/badge.svg)](https://github.com/cot-rs/cot/actions/workflows/rust.yml)
[![crates.io](https://img.shields.io/crates/v/cot.svg)](https://crates.io/crates/cot)
[![Documentation](https://docs.rs/cot/badge.svg)](https://docs.rs/cot)
[![codecov](https://codecov.io/gh/cot-rs/cot/branch/master/graph/badge.svg)](https://codecov.io/gh/cot-rs/cot)
</div>

Flareon is an easy to use, modern, and fast web framework for Rust. It has been designed to be familiar if you've ever
Cot is an easy to use, modern, and fast web framework for Rust. It has been designed to be familiar if you've ever
used [Django](https://www.djangoproject.com/), and easy to learn if you haven't. It's a batteries-included framework
built on top of [axum](https://github.com/tokio-rs/axum).

## Features

* **Easy to use API** — in many ways modeled after Django, Flareon's API is designed to be easy to use and intuitive.
* **Easy to use API** — in many ways modeled after Django, Cot's API is designed to be easy to use and intuitive.
Sensible defaults make it for easy rapid development, while the API is still empowering you when needed. The
documentation is a first-class citizen in Flareon, making it easy to find what you're looking for.
* **ORM integration**Flareon comes with its own ORM, allowing you to interact with your database in a way that feels
documentation is a first-class citizen in Cot, making it easy to find what you're looking for.
* **ORM integration**Cot comes with its own ORM, allowing you to interact with your database in a way that feels
Rusty and intuitive. Rust types are the source of truth, and the ORM takes care of translating them to and from the
database, as well as creating the migrations automatically.
* **Type safe** — wherever possible, Flareon uses Rust's type system to prevent common mistakes and bugs. Not only views
* **Type safe** — wherever possible, Cot uses Rust's type system to prevent common mistakes and bugs. Not only views
are taking advantage of the Rust's type system, but also the ORM, the admin panel, and even the templates. All that to
catch errors as early as possible.
* **Admin panel**Flareon comes with an admin panel out of the box, allowing you to manage your app's data with ease.
* **Admin panel**Cot comes with an admin panel out of the box, allowing you to manage your app's data with ease.
Adding new models to the admin panel is stupidly simple, making it a great tool not only for rapid development and
debugging, but with its customization options, also for production use.
* **Secure by default** — security should be opt-out, not opt-in. Flareon takes care of making your web apps secure by
* **Secure by default** — security should be opt-out, not opt-in. Cot takes care of making your web apps secure by
default, defending it against common modern web vulnerabilities. You can focus on building your app, not securing it.

## Development
Expand All @@ -48,10 +48,10 @@ docker compose down

## License

Flareon is licensed under either of the following, at your option:
Cot is licensed under either of the following, at your option:

* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)
* MIT License ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Flareon by you shall be
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Cot by you shall be
dual licensed under the MIT License and Apache License, Version 2.0, without any additional terms or conditions.
12 changes: 6 additions & 6 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
services:
mariadb:
image: docker.io/mariadb:11
container_name: flareon-mariadb
container_name: cot-mariadb
environment:
MARIADB_DATABASE: mysql
MARIADB_USER: flareon
MARIADB_PASSWORD: flareon
MARIADB_USER: cot
MARIADB_PASSWORD: cot
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 1
ports:
- "3306:3306"

postgres:
image: docker.io/postgres:17-alpine
container_name: flareon-postgres
container_name: cot-postgres
environment:
POSTGRES_USER: flareon
POSTGRES_PASSWORD: flareon
POSTGRES_USER: cot
POSTGRES_PASSWORD: cot
ports:
- "5432:5432"
6 changes: 3 additions & 3 deletions flareon-cli/Cargo.toml → cot-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "flareon-cli"
name = "cot-cli"
version = "0.1.0"
edition.workspace = true
license.workspace = true
Expand All @@ -15,8 +15,8 @@ chrono.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
clap-verbosity-flag = { workspace = true, features = ["tracing"] }
darling.workspace = true
flareon.workspace = true
flareon_codegen = { workspace = true, features = ["symbol-resolver"] }
cot.workspace = true
cot_codegen = { workspace = true, features = ["symbol-resolver"] }
glob.workspace = true
petgraph.workspace = true
prettyplease.workspace = true
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2d9add6

Please sign in to comment.