curso_09_libs

Crates.iocurso_09_libs
lib.rscurso_09_libs
version0.1.1
sourcesrc
created_at2024-04-20 20:53:50.37785
updated_at2024-04-20 21:00:30.743404
descriptionTeste de biblioteca
homepagehttp://github.com/EduardoPagotto
repositoryhttp://github.com/EduardoPagotto/curso_09_libs.git
max_upload_size
id1214868
size2,498
Eduardo Pagotto (EduardoPagotto)

documentation

http://github.com/EduardoPagotto/curso_09_libs/README.md

README

Bibliotecas

Autenticar no crates via github site: https://crates.io Em acount settings criar novo token copiar a chave

Efetuar o login

cargo login
# colar a chava gerada no site

Criar projeto de biblioteca

mkdir curso_09_libs
cd curso_09_libs
cargo init --lib

Editar arquivo Cargo.toml conforme abaixo

[package]
name = "curso_09_libs"
version = "0.1.1"
edition = "2021"
authors = ["EuardoPagotto <edupagotto@gmail.com>"]
description = "Teste de biblioteca"
homepage = "http://github.com/EduardoPagotto"
repository = "http://github.com/EduardoPagotto/curso_09_libs.git"
documentation = "http://github.com/EduardoPagotto/curso_09_libs/README.md"
license = "MIT"
keywords = ["bibliotecas","funcoes"]
categories = ["functions"]

[dependencies]

Crie o repositorio git

git add .
git commit -m "inicial"

cargo publish
Commit count: 0

cargo fmt