Never allow non-resolving-to-ASN IPs
[dnsseed-rust] / Cargo.toml
index 88b3deb412559f733fce032463a6f5d76a9d9842..da2abea935604ed8ec86e7b120359779982ea4f5 100644 (file)
@@ -5,9 +5,20 @@ authors = ["matt"]
 edition = "2018"
 
 [dependencies]
-bitcoin = { path = "../Bitcoin/rust-bitcoin" }
-bitcoin_hashes = "0.3"
+bitcoin = "0.19"
+bitcoin_hashes = "0.7"
+bgp-rs = { git = "https://github.com/TheBlueMatt/bgp-rs", rev = "1f113e1748e80665d21bf81fb572d8189abeced0" }
 tokio = "0.1"
 bytes = "0.4"
 futures = "0.1"
 rand = "0.6"
+regex = "1"
+num_cpus = "1"
+
+[profile.dev]
+panic = "abort"
+
+[profile.release]
+lto = true
+codegen-units = 1
+panic = "abort"