Skip to content

Commit 4f20503

Browse files
committed
Fixed LICENSEs in all crates.
1 parent 9ca085c commit 4f20503

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

LICENSE-MIT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2021 Scalpel Developers
1+
Copyright (c) 2021 Hampi Developers
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

asn-compiler/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2018"
66
description = "ASN.1 Compiler in Rust."
77
keywords = ["asn1", "per"]
88
repository = "https://github.com/gabhijit/hampi.git"
9-
license-file = "LICENSE"
9+
license = "Apache-2.0 or MIT"
1010
readme = "README.md"
1111
include = ["src/**/*.rs", "README.md", "ARChITECTURE.md", "Cargo.toml", "LICENSE", "LICENSE-MIT", "LICENSE-Apache2"]
1212

asn-compiler/src/resolver/int.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,18 @@ impl Resolver {
5656
let parsed_def = module.get_definition_mut(&k);
5757
if parsed_def.is_none() {
5858
eprintln!(
59-
"Warning!! Definition '{}' Not found! It's Okay for certain Dummy References",
60-
k
59+
"Warning!! Definition '{}' in module '{}' Not found! It's Okay for certain Dummy References",
60+
k,
61+
module.get_module_name()
6162
);
6263
continue;
6364
}
6465
let parsed_def = parsed_def.unwrap();
6566
if parsed_def.params.is_some() {
6667
self.parameterized_defs
6768
.insert(k.to_string(), parsed_def.clone());
68-
parsed_def.resolved = true;
6969
} else if parsed_def.is_class_assignment() {
7070
self.classes.insert(k.to_string(), parsed_def.clone());
71-
parsed_def.resolved = true;
7271
} else {
7372
let resolved_def = resolve_definition(parsed_def, self)?;
7473
self.resolved_defs.insert(k.clone(), resolved_def);

codecs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "ASN.1 Codecs for Rust Types representing ASN.1 Types."
55
authors = ["Abhijit Gadgil <[email protected]>"]
66
keywords = ["asn1", "per", "decoder", "encoder"]
77
edition = "2018"
8-
license-file = "LICENSE"
8+
license = "Apache-2.0 or MIT"
99
repository = "https://github.com/gabhijit/hampi.git"
1010
readme = "README.md"
1111
include = ["src/**/*.rs", "Cargo.toml", "LICENSE", "LICENSE-MIT", "LICENSE-Apache2", "README.md"]

codecs_derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "ASN.1 Codecs derive Macros"
55
keywords = ["asn1", "per"]
66
version = "0.5.4"
77
edition = "2018"
8-
license-file = "LICENSE"
8+
license = "Apache-2.0 or MIT"
99
repository = "https://github.com/gabhijit/hampi.git"
1010
readme = "README.md"
1111
include = ["src/**/*.rs", "Cargo.toml", "LICENSE", "LICENSE-MIT", "LICENSE-Apache2", "README.md"]

0 commit comments

Comments
 (0)