Add serde_yaml only for ssr + Add tags yml file

This commit is contained in:
Florian RICHER 2023-12-10 21:13:38 +01:00
parent 06ab69d1b8
commit 7dd090be7b
3 changed files with 190 additions and 0 deletions

20
Cargo.lock generated
View file

@ -1811,6 +1811,7 @@ dependencies = [
"log",
"pulldown-cmark",
"serde",
"serde_yaml",
"simple_logger",
"wasm-bindgen",
]
@ -2251,6 +2252,19 @@ dependencies = [
"serde",
]
[[package]]
name = "serde_yaml"
version = "0.9.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3cc7a1570e38322cfe4154732e5110f887ea57e22b76f4bfd32b5bdd3368666c"
dependencies = [
"indexmap",
"itoa",
"ryu",
"serde",
"unsafe-libyaml",
]
[[package]]
name = "server_fn"
version = "0.5.4"
@ -2675,6 +2689,12 @@ version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
[[package]]
name = "unsafe-libyaml"
version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa"
[[package]]
name = "url"
version = "2.5.0"

View file

@ -40,6 +40,7 @@ futures = { version = "0.3", optional = true }
simple_logger = { version = "4.2", optional = true }
pulldown-cmark = { version = "0.9", optional = true } # Markdown parser
gray_matter = { version = "0.2", optional = true } # frontmatter parser
serde_yaml = { version = "0.9", optional = true }
[features]
default = ["csr"]
@ -70,6 +71,7 @@ ssr = [
"dep:simple_logger",
"dep:pulldown-cmark",
"dep:gray_matter",
"dep:serde_yaml"
]
[package.metadata.cargo-all-features]

168
data_src/tags.yml Normal file
View file

@ -0,0 +1,168 @@
tags:
rust:
name: Rust
url: https://www.rust-lang.org/
groups:
- lang
- backend
- system
- web
java:
name: Java
url: https://www.java.com/fr/
groups:
- lang
- backend
- desktop
cpp:
name: C++
url: https://isocpp.org/
groups:
- lang
- backend
- system
- game
react:
name: React
url: https://fr.legacy.reactjs.org/
groups:
- frontend
symfony:
name: Symfony
url: https://symfony.com/
groups:
- backend
- web
flutter:
name: Flutter
url: https://flutter.dev/
groups:
- mobile
- desktop
ruby_on_rails:
name: Ruby on rails
url: https://rubyonrails.org/
groups:
- backend
- frontend
- web
hotwired:
name: Hotwired
url: https://hotwired.dev/
groups:
- frontend
- web
docker:
name: Docker
url: https://www.docker.com/
groups:
- devops
steam_api:
name: Steam API
url: https://partner.steamgames.com/doc/sdk/api/example
groups:
- game
gitlab_ci:
name: Gitlab CI
url: https://docs.gitlab.com/ee/ci/
groups:
- devops
unity:
name: Unity 3D
url: https://unity.com/fr
groups:
- game
wordpress:
name: Wordpress
url: https://wordpress.com/fr/
groups:
- web
cordova:
name: Cordova
url: https://cordova.apache.org/
groups:
- mobile
electron:
name: Electron
url: https://www.electronjs.org/
groups:
- desktop
lwjgl:
name: LWJGL
url: https://www.lwjgl.org/
groups:
- desktop
- game
opengl:
name: OpenGL
url: https://www.opengl.org/
groups:
- desktop
- game
vulkan:
name: Vulkan
url: https://www.vulkan.org/
groups:
- desktop
- game
midi:
name: MIDI
url: https://fr.wikipedia.org/wiki/Musical_Instrument_Digital_Interface
groups:
- desktop
- web
- music
- game
requirejs:
name: RequireJS
url: https://requirejs.org/
groups:
- frontend
- web
webpack:
name: Webpack
url: https://webpack.js.org/
groups:
- frontend
- web
vite:
name: Vite
url: https://vitejs.dev/
groups:
- frontend
- web
maven:
name: Maven
url: https://maven.apache.org/
groups:
- desktop
gradle:
name: Gradle
url: https://gradle.org/
groups:
- desktop
- mobile
babylonjs:
name: BabylonJS
url: https://www.babylonjs.com/
groups:
- game
rocket_rs:
name: Rocket.rs
url: https://rocket.rs/
groups:
- backend
- web
actix_web:
name: Actix Web
url: https://actix.rs/
groups:
- backend
- web
leptos:
name: Leptos
url: https://leptos.dev/
groups:
- web
- backend
- frontend