Structorica Wiki:Sandbox: Difference between revisions
Created page with "Sandbox" |
No edit summary |
||
| Line 1: | Line 1: | ||
Sandbox | Sandbox | ||
<syntaxhighlight lang="json"> | |||
{ | |||
"name": "example", | |||
"version": "1.0.0", | |||
"dependencies": { | |||
"lodash": "^4.17.0" | |||
} | |||
} | |||
</syntaxhighlight> | |||
<source lang="cpp"> | |||
#include <iostream> | |||
int main() { | |||
std::cout << "Hello, World!" << std::endl; | |||
return 0; | |||
} | |||
</source> | |||
<syntaxhighlight lang="toml"> | |||
[package] | |||
name = "my-package" | |||
version = "1.0.0" | |||
edition = "2021" | |||
[dependencies] | |||
serde = { version = "1.0", features = ["derive"] } | |||
</syntaxhighlight> | |||