Skip to content

Instantly share code, notes, and snippets.

@tdimitrov
tdimitrov / Cargo.toml
Created January 28, 2025 11:08
Scale encode
[package]
name = "parity-scale-playground"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hex = "0.4"
parity-scale-codec = { git = "https://github.com/paritytech/parity-scale-codec" }
@tdimitrov
tdimitrov / CMakeLists.txt
Last active October 15, 2021 10:59
CMake bootstrap file
cmake_minimum_required(VERSION 3.20)
project(MY_PROJECT_NAME_HERE)
find_package(Threads REQUIRED)
add_executable(BINARY_NAME_HERE SOURCE_FILES_HERE)
target_link_libraries(BINARY_NAME_HERE ${CMAKE_THREAD_LIBS_INIT} LIBRARIES_HERE)
set_property(TARGET BINARY_NAME_HERE PROPERTY CXX_STANDARD 17)
INFO global: Vagrant version: 2.2.9
INFO global: Ruby version: 2.6.6
INFO global: RubyGems version: 3.0.3
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/bin/vagrant"
INFO global: VAGRANT_LOG="debug"
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/pushes/atlas/plugin.rb