feat: re-export types and add module headers
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-01-02 22:36:18 +05:30
parent e9e6a96223
commit 0afc0e0e99
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
7 changed files with 18 additions and 0 deletions

View file

@ -14,6 +14,7 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! Pairs of identities mapping one forge to another.
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// Pairs of identities mapping one forge to another. The first element is the id in the source /// Pairs of identities mapping one forge to another. The first element is the id in the source

View file

@ -14,6 +14,8 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! Label associated to an issue or a comment
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// Label associated to an issue or a comment /// Label associated to an issue or a comment

View file

@ -14,9 +14,20 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! # Welcome to F3 Documentation!
//!
//! Please refer to the [main documentation](https://f3.forgefriends.org/) for a complete overview.
//! This is an incomplete Rust port of the F3 library created by the ForgeFriends project.
pub mod identities; pub mod identities;
pub mod label; pub mod label;
pub mod reaction; pub mod reaction;
pub mod repository; pub mod repository;
pub mod topic; pub mod topic;
pub mod user; pub mod user;
pub use identities::Identities;
pub use label::Label;
pub use reaction::Reaction;
pub use repository::Repository;
pub use topic::Topic;
pub use user::User;

View file

@ -14,6 +14,7 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! Reaction associated to an issue or a comment
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// Reaction associated to an issue or a comment /// Reaction associated to an issue or a comment

View file

@ -14,6 +14,7 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! VCS repository relative to a project.
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// VCS repository relative to a project. /// VCS repository relative to a project.

View file

@ -14,6 +14,7 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! A list of categories associated with a project.
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// A list of categories associated with a project. /// A list of categories associated with a project.

View file

@ -14,6 +14,7 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
//! A forge user
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
/// A forge user /// A forge user