2 releases

new 0.1.1 Apr 20, 2024
0.1.0 Apr 20, 2024

#1 in #biblioteca

Download history 147/week @ 2024-04-15

147 downloads per month

MIT license

3KB

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

No runtime deps