Skip to content
Open
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
9,214 changes: 7,603 additions & 1,611 deletions Cargo.lock

Large diffs are not rendered by default.

65 changes: 54 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


[package]
name = "alkanes"
version.workspace = true
Expand All @@ -21,11 +23,54 @@ license = "MIT"
repository = "https://github.com/kungfuflex/alkanes-rs"

[workspace.dependencies]
clap = { version = "4.3", features = ["derive"] }
env_logger = "0.10"
anyhow = "1.0.90"
futures = "0.3"
async-trait = "0.1"
base64 = "0.22"
bech32 = "0.11.0"
bip39 = { version = "2.0", package = "tiny-bip39" }
bitcoin_hashes = "0.14.0"
bitcoincore-rpc = "0.18.0"
chrono = { version = "0.4", features = ["serde"] }
dirs = "5.0"
flate2 = "1.0"
lazy_static = "1.5.0"
prost = "0.13.5"
prost-build = "0.13.5"
tokio = { version = "1.0", features = ["rt", "macros", "sync", "time"] }
reqwest = { version = "0.12.23", features = ["json"] }
protobuf = { version = "3.7.2" }
protobuf-codegen = { version = "3.7.2" }
psbt-v2 = "0.1.1"
rand = "0.8"
rand_core = { version = "0.6", features = ["getrandom"] }
getrandom = { version = "0.2", features = ["js"] }
leptos = { version = "0.6.12", features = ["csr"] }
pbkdf2 = "0.12"
leptos_router = { version = "0.6.12", features = ["csr"] }
regex = "1.10"
secp256k1 = { version = "0.29", features = ["rand", "recovery"] }
sha2 = "0.10"
sha3 = "0.10"
smallvec = "1.13"
spin = "0.9.8"
tempfile = "3.8"
thiserror = "1.0"
wasmparser = "0.235.0"
wasmprinter = "0.2"
wat = "1.0"
mockall = "0.13.0"
aes-gcm = "0.10"
tabled = "0.15.0"
url = { version = "2.5.0" }
log = "0.4"
num = "0.4.3"
bitcoin = { version = "0.32.4", features = ["rand"] }
metashrew-core = { git = "https://github.com/sandshrewmetaprotocols/metashrew" }
metashrew-support = { git = "https://github.com/sandshrewmetaprotocols/metashrew" }
protobuf-json-mapping = "3.7.2"
bitcoin = { version = "0.32.4", features = ["rand", "serde"] }
metashrew-core = { git = "https://github.com/sandshrewmetaprotocols/metashrew", branch = "sandshrewmetadev/prost" }
metashrew-support = { git = "https://github.com/sandshrewmetaprotocols/metashrew", branch = "sandshrewmetadev/prost" }
ordinals = { path = "./crates/ordinals" }
protorune = { path = "./crates/protorune" }
protorune-support = { path = "./crates/protorune-support" }
Expand All @@ -41,7 +86,6 @@ wasmi = "0.37.2"
serde = "1.0.210"
serde_json = "1.0.128"
hex = "0.4.3"
protobuf = "3.7.1"
wasm-bindgen-futures = "0.4.45"
web-sys = { version = "0.3.72", features = ["Response", "Window"] }
js-sys = "0.3.72"
Expand Down Expand Up @@ -100,6 +144,7 @@ wasmi = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
hex = { workspace = true }
prost = { workspace = true }
protobuf = { workspace = true }
wasm-bindgen-futures = { workspace = true }
web-sys = { workspace = true }
Expand All @@ -110,7 +155,6 @@ borsh = { version = "1.5.7", features = ["derive"] }
sha2 = "0.10.9"

[dev-dependencies]

alkanes = { path = ".", features = [
"genesis_alkane",
"genesis_protorune",
Expand All @@ -119,13 +163,12 @@ alkanes = { path = ".", features = [
"auth_token",
"minimal",
] }
metashrew-core = { git = "https://github.com/sandshrewmetaprotocols/metashrew", features = ["test-utils"] }
metashrew-core = { workspace = true, features = ["test-utils"] }
protorune = { path = "crates/protorune", features = ["test-utils"] }

[build-dependencies]
anyhow = { workspace = true }
protobuf-codegen = "3.4.0"
anyhow = "1.0.90"
prost-build = { workspace = true }
flate2 = "1.0.34"
protoc-rust = { version = "2.28.0" }
protoc-bin-vendored = "3.0.0"
hex = { workspace = true }
hex = "0.4.3"

17 changes: 17 additions & 0 deletions crates/alkanes-cli-asc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "alkanes-cli-asc"
version = "0.1.0"
edition = "2021"

[features]
default = ["std"]
std = ["dep:thiserror"]

[dependencies]
thiserror = { workspace = true, optional = true }
nom = "7.1"
crc24 = "0.1.6"
base64 = "0.22"

[dev-dependencies]
pretty_assertions = "1.0"
18 changes: 18 additions & 0 deletions crates/alkanes-cli-asc/src/armor/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright 2024 The Deezel Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

//! ASCII Armor.

pub mod reader;
pub mod writer;
Loading
Loading